|
|
@ -66,8 +66,6 @@
|
|
|
|
<ConditionFilter v-model="AdvancedQueryData" :filter-fields="fields" :disabled="false" />
|
|
|
|
<ConditionFilter v-model="AdvancedQueryData" :filter-fields="fields" :disabled="false" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-modal>
|
|
|
|
</a-modal>
|
|
|
|
<!-- 批量编辑 -->
|
|
|
|
|
|
|
|
<!-- <BatchModification @register="registerModal" @success="BMSuccess" /> -->
|
|
|
|
|
|
|
|
<a-modal
|
|
|
|
<a-modal
|
|
|
|
:title="
|
|
|
|
:title="
|
|
|
|
TaskShippingOrderCompareData.isExistsDiff ? '下货纸比对(有差异)' : '下货纸比对(正常)'
|
|
|
|
TaskShippingOrderCompareData.isExistsDiff ? '下货纸比对(有差异)' : '下货纸比对(正常)'
|
|
|
@ -112,10 +110,6 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p>{{ item.reqVal }}</p>
|
|
|
|
<p>{{ item.reqVal }}</p>
|
|
|
|
<!-- <p v-if="item.msg">
|
|
|
|
|
|
|
|
<a-icon type="close" :style="{ color: 'red' }" />
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p v-else><a-icon type="check" :style="{ color: 'green' }" /></p> -->
|
|
|
|
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p v-if="!item.isDiff">{{ item.targetVal }}</p>
|
|
|
|
<p v-if="!item.isDiff">{{ item.targetVal }}</p>
|
|
|
|
<p v-else v-html="item.mergeHtml"></p>
|
|
|
|
<p v-else v-html="item.mergeHtml"></p>
|
|
|
@ -143,10 +137,6 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p>{{ item.reqVal }}</p>
|
|
|
|
<p>{{ item.reqVal }}</p>
|
|
|
|
<!-- <p v-if="item.msg">
|
|
|
|
|
|
|
|
<a-icon type="close" :style="{ color: 'red' }" />
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p v-else><a-icon type="check" :style="{ color: 'green' }" /></p> -->
|
|
|
|
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p>{{ item.fieldName }}:</p>
|
|
|
|
<p v-if="!item.isDiff">{{ item.targetVal }}</p>
|
|
|
|
<p v-if="!item.isDiff">{{ item.targetVal }}</p>
|
|
|
|
<p v-else v-html="item.mergeHtml"></p>
|
|
|
|
<p v-else v-html="item.mergeHtml"></p>
|
|
|
@ -158,11 +148,10 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import TableActionBar from './components/tableActionBar.vue'
|
|
|
|
import TableActionBar from './components/tableActionBar.vue'
|
|
|
|
// import BatchModification from './modules/BatchModification.vue'
|
|
|
|
|
|
|
|
import ConditionFilter from '/@/components/Condition/index.vue'
|
|
|
|
import ConditionFilter from '/@/components/Condition/index.vue'
|
|
|
|
import { onMounted, ref } from 'vue'
|
|
|
|
import { onMounted, ref } from 'vue'
|
|
|
|
import { BasicTable, useTable } from '/@/components/Table'
|
|
|
|
import { BasicTable, useTable } from '/@/components/Table'
|
|
|
|
import { PageDataByBooking, GetUserQuerySet, UpdateUserQuerySet } from './api/BookingLedger.js'
|
|
|
|
import { PageDataByBooking, UpdateUserQuerySet } from './api/BookingLedger.js'
|
|
|
|
import { getColumnsByClient } from '/@/views/baseinfo/formcopy/api'
|
|
|
|
import { getColumnsByClient } from '/@/views/baseinfo/formcopy/api'
|
|
|
|
import { useModal } from '/@/components/Modal'
|
|
|
|
import { useModal } from '/@/components/Modal'
|
|
|
|
import { columns, searchFormSchema, FeeStatus } from './columns'
|
|
|
|
import { columns, searchFormSchema, FeeStatus } from './columns'
|
|
|
@ -394,7 +383,6 @@
|
|
|
|
//打开高级查询弹窗
|
|
|
|
//打开高级查询弹窗
|
|
|
|
function FnOpenAdvancedQuery() {
|
|
|
|
function FnOpenAdvancedQuery() {
|
|
|
|
AdvancedQueryVisible.value = true
|
|
|
|
AdvancedQueryVisible.value = true
|
|
|
|
createdInit()
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//关闭高级查询弹窗
|
|
|
|
//关闭高级查询弹窗
|
|
|
|
function FnCancelAdvancedQuery() {
|
|
|
|
function FnCancelAdvancedQuery() {
|
|
|
@ -415,60 +403,8 @@
|
|
|
|
function TaskShippingOrderCompareHandleCancel() {
|
|
|
|
function TaskShippingOrderCompareHandleCancel() {
|
|
|
|
TaskShippingOrderCompareVisible.value = false
|
|
|
|
TaskShippingOrderCompareVisible.value = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
async function createdInit() {
|
|
|
|
|
|
|
|
showColumns.value = JSON.parse(JSON.stringify(initData.columns))
|
|
|
|
|
|
|
|
formAllData.value = JSON.parse(JSON.stringify(initData.condAllData))
|
|
|
|
|
|
|
|
fromTableAllData.value = JSON.parse(JSON.stringify(initData.columnsAllData))
|
|
|
|
|
|
|
|
tableHeight.value = document.body.clientHeight - 230
|
|
|
|
|
|
|
|
const res: API.DataResult = await getColumnsByClient({
|
|
|
|
|
|
|
|
tableViewName: 'op_sea_export',
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
const fullPath = ref(router.currentRoute.value.fullPath)
|
|
|
|
|
|
|
|
usePermissionStore().getWrouteList.forEach((item: Record<any, any>) => {
|
|
|
|
|
|
|
|
item.children[0].children?.forEach((item2: Record<any, any>) => {
|
|
|
|
|
|
|
|
if (fullPath.value.indexOf(item2.path) != -1) {
|
|
|
|
|
|
|
|
permissionId.value = item2.id
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
|
|
|
console.log(res)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let data: any[] = []
|
|
|
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
|
|
|
data.push({
|
|
|
|
|
|
|
|
id: item.dbColumnName,
|
|
|
|
|
|
|
|
title: item.columnDescription,
|
|
|
|
|
|
|
|
name: 'Select',
|
|
|
|
|
|
|
|
value: null,
|
|
|
|
|
|
|
|
props: {
|
|
|
|
|
|
|
|
disabled: false,
|
|
|
|
|
|
|
|
multiple: false,
|
|
|
|
|
|
|
|
// placeholder: '请选择请假事由',
|
|
|
|
|
|
|
|
options: [],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
style: {
|
|
|
|
|
|
|
|
width: '100%',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fields.value = data
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
FnGetUserQuerySet()
|
|
|
|
|
|
|
|
// getConfigUser(true)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
const permissionId = ref<String>('')
|
|
|
|
const permissionId = ref<String>('')
|
|
|
|
const ConditionalList: Ref<any> = ref()
|
|
|
|
const ConditionalList: Ref<any> = ref()
|
|
|
|
async function FnGetUserQuerySet() {
|
|
|
|
|
|
|
|
const res: API.DataResult = await GetUserQuerySet({
|
|
|
|
|
|
|
|
permissionId: permissionId.value,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
|
|
|
console.log(res)
|
|
|
|
|
|
|
|
AdvancedQueryData.value = JSON.parse(res.data.content)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//执行高级查询
|
|
|
|
//执行高级查询
|
|
|
|
async function FnAdvancedQuery() {
|
|
|
|
async function FnAdvancedQuery() {
|
|
|
|
let Api = (data) => {
|
|
|
|
let Api = (data) => {
|
|
|
|