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