|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<div class="goods-table" style="width: 100%; overflow: auto">
|
|
|
|
|
<a-spin :spinning="loadingTable">
|
|
|
|
|
<div>
|
|
|
|
|
<div class="flex" v-if="!isLockBooking" style="justify-content: space-between">
|
|
|
|
|
<div class="flex" v-if="!isLockBooking && source == 'edit'" style="justify-content: space-between">
|
|
|
|
|
<div>
|
|
|
|
|
<a-button type="link" v-repeat size="mini" @click="openDialog">
|
|
|
|
|
<span class="iconfont icon-liebiao1"></span>
|
|
|
|
@ -275,13 +275,13 @@
|
|
|
|
|
import { GetPackageSelectList } from '/@/views/operation/seaexport/api/BookingLedger'
|
|
|
|
|
registerAllModules()
|
|
|
|
|
import * as XLSX from 'xlsx'
|
|
|
|
|
import { log } from 'console'
|
|
|
|
|
// import printJS from 'print-js'
|
|
|
|
|
const route = useRoute()
|
|
|
|
|
const props = defineProps({
|
|
|
|
|
details: { type: Object, default: {} },
|
|
|
|
|
isLockBooking: { type: Boolean, default: false },
|
|
|
|
|
})
|
|
|
|
|
// 判断页面进入源
|
|
|
|
|
const source = route.query.source || 'edit'
|
|
|
|
|
const emit = defineEmits([
|
|
|
|
|
'changectnall',
|
|
|
|
|
'changeDetail',
|
|
|
|
@ -992,6 +992,16 @@
|
|
|
|
|
})
|
|
|
|
|
list.value.push(item)
|
|
|
|
|
})
|
|
|
|
|
// 不是可编辑页面禁用表格
|
|
|
|
|
if (source != 'edit') {
|
|
|
|
|
hotTb.value.hotInstance.updateSettings({
|
|
|
|
|
cells: function (row, col) {
|
|
|
|
|
// 设置费用状态不是录入状态的行为只读
|
|
|
|
|
const props = { readOnly: true }
|
|
|
|
|
return props
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const moreSelectLoad = ref(true)
|
|
|
|
|