|
|
|
@ -52,7 +52,7 @@
|
|
|
|
|
<div class="main-scorll" :class="{ 'approve-main-scorll': !!route.query.taskId }">
|
|
|
|
|
<a-tabs v-model:activeKey="mainOrderActiveKey" class="ds-sea-child-tab">
|
|
|
|
|
<a-tab-pane key="1-1" tab="基础信息" size="small">
|
|
|
|
|
<basicInfo ref="RefbasicInfo" :details="bookingDetails"></basicInfo>
|
|
|
|
|
<basicInfo ref="RefbasicInfo" :details="bookingDetails" @changeClear='changeClear'></basicInfo>
|
|
|
|
|
<Divider type="horizontal" />
|
|
|
|
|
<mailingInfo
|
|
|
|
|
ref="RefmailingInfo"
|
|
|
|
@ -526,7 +526,6 @@
|
|
|
|
|
ctnInfo
|
|
|
|
|
}
|
|
|
|
|
if (id.value) postData['id'] = id.value
|
|
|
|
|
console.log(postData)
|
|
|
|
|
// 发送请求
|
|
|
|
|
loading.value = true
|
|
|
|
|
BookingOrderSave(postData)
|
|
|
|
@ -683,7 +682,7 @@
|
|
|
|
|
appStore.setneedSavePages(lastPages)
|
|
|
|
|
}
|
|
|
|
|
const changeFlag = ref(false)
|
|
|
|
|
// 改配触发字段点亮
|
|
|
|
|
// 改配触发字段点亮、清空指定字段
|
|
|
|
|
const changeConfig = () => {
|
|
|
|
|
refreshPage()
|
|
|
|
|
changeFlag.value = true
|
|
|
|
@ -733,6 +732,8 @@
|
|
|
|
|
colProps: { className: 'changeGP ant-col ant-col-24' }
|
|
|
|
|
}
|
|
|
|
|
])
|
|
|
|
|
// 改配清空货物状态
|
|
|
|
|
RefrightContent.value.cancelGoodsStatus()
|
|
|
|
|
}
|
|
|
|
|
// 恢复改配
|
|
|
|
|
const backChange = () => {
|
|
|
|
@ -884,6 +885,21 @@
|
|
|
|
|
loading.value = false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 改配清空字段
|
|
|
|
|
const changeClear = () => {
|
|
|
|
|
if (!changeFlag.value) return
|
|
|
|
|
RefbasicInfo.value.setFieldsValue({
|
|
|
|
|
contractClientName: null,
|
|
|
|
|
contractClientId: null,
|
|
|
|
|
contractNo: null,
|
|
|
|
|
mblno: null
|
|
|
|
|
})
|
|
|
|
|
RefmailingInfo.value.setFieldsValueR({
|
|
|
|
|
vessel: null,
|
|
|
|
|
vesselId: null,
|
|
|
|
|
innerVoyno: null
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
function fileNewUpadte(file) {
|
|
|
|
|
bookingDetails.value.tempFiles.push({
|
|
|
|
|
tempPathName: file.tempPathName,
|
|
|
|
|