diff --git a/src/views/operation/seaexport/detail/index.vue b/src/views/operation/seaexport/detail/index.vue
index 9c60462d..046be4e0 100644
--- a/src/views/operation/seaexport/detail/index.vue
+++ b/src/views/operation/seaexport/detail/index.vue
@@ -52,7 +52,7 @@
-
+
{
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,
diff --git a/src/views/operation/seaexport/detail/modules/baseInfo.tsx b/src/views/operation/seaexport/detail/modules/baseInfo.tsx
index ffdd605c..1da8bdc8 100644
--- a/src/views/operation/seaexport/detail/modules/baseInfo.tsx
+++ b/src/views/operation/seaexport/detail/modules/baseInfo.tsx
@@ -277,7 +277,7 @@ export const basicInfoFormSchema: FormSchema[] = [
defaultValue: null,
dynamicDisabled: false,
colProps: { span: 5 },
- componentProps: ({ formModel }) => {
+ componentProps: ({ formModel, formActionType }) => {
return {
api: GetCarrierSelectList,
labelField: 'pinYinCode',
@@ -287,6 +287,7 @@ export const basicInfoFormSchema: FormSchema[] = [
immediate: false,
onChange: (e, obj) => {
if (e && obj) {
+ formActionType ? formActionType.linkageForm({ key: 'carrier' }) : null
formModel.carrierId = obj.id
}
if (!e && !obj) {
diff --git a/src/views/operation/seaexport/detail/modules/basicInfo.vue b/src/views/operation/seaexport/detail/modules/basicInfo.vue
index 73945ff5..b062831e 100644
--- a/src/views/operation/seaexport/detail/modules/basicInfo.vue
+++ b/src/views/operation/seaexport/detail/modules/basicInfo.vue
@@ -136,7 +136,7 @@