舱位用途

szh-new
sunzehua 3 months ago
parent fdb1dfc1c9
commit 614fa90a96

@ -274,7 +274,7 @@ import { AutoComplete } from 'ant-design-vue'
import { GetCtnSelectList, GetClientListByCode } from '/@/api/common' import { GetCtnSelectList, GetClientListByCode } from '/@/api/common'
import DsFile from '/@/components/File/index.vue' import DsFile from '/@/components/File/index.vue'
import { ref, reactive, onMounted, watch } from 'vue' import { ref, nextTick, onMounted, watch } from 'vue'
import { import {
getVesselInfoService, DjyCustomerSuggest, GetSysUserPage, GetPortloadlist, GetPortlist, getVesselInfoService, DjyCustomerSuggest, GetSysUserPage, GetPortloadlist, GetPortlist,
BookingSlotSave, BookingSlotDetail, BookingSlotDelete, BookingSlotGetFile BookingSlotSave, BookingSlotDetail, BookingSlotDelete, BookingSlotGetFile
@ -743,7 +743,11 @@ async function handleSave() {
const useFlag = ref(false) const useFlag = ref(false)
function handleOpenUse() { function handleOpenUse() {
setFieldsValueUse({ setFieldsValueUse({
useType: 'add' useType: 'add',
useToValShow:'',
useTo:'',
useToVal:'',
useToName:''
}) })
useFlag.value = true useFlag.value = true
} }
@ -774,9 +778,12 @@ function editUse(row, index) {
useFlag.value = true useFlag.value = true
useIndex.value = index useIndex.value = index
row.useType = 'edit' row.useType = 'edit'
setFieldsValueUse({ setTimeout(() => {
setFieldsValueUse({
...row ...row
}) })
}, 100)
} }
// //

Loading…
Cancel
Save