From d76f3e711c14a7194c0703255b677fe7406eb7c6 Mon Sep 17 00:00:00 2001 From: lilu Date: Tue, 11 Apr 2023 11:19:25 +0800 Subject: [PATCH] =?UTF-8?q?ep=E7=BA=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/main/BookingLedger/detail/index.vue | 4 ++-- src/views/main/BookingLedger/detail/modules/basicInfo.vue | 7 +++++-- src/views/main/BookingLedger/detail/modules/sedOrder.vue | 2 +- src/views/main/BookingLedger/detail/rules.js | 2 +- src/views/main/BookingLedger/list/modules/initData.js | 6 ++++-- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/views/main/BookingLedger/detail/index.vue b/src/views/main/BookingLedger/detail/index.vue index ffbfcd2..3476872 100644 --- a/src/views/main/BookingLedger/detail/index.vue +++ b/src/views/main/BookingLedger/detail/index.vue @@ -178,7 +178,7 @@ const initDetail = { pono: '', mblno: '', hblno: '', - EPCode: '', // esl下的EP号 + epCode: '', custno: '', contractno: '', vessel: '', @@ -815,7 +815,7 @@ export default { emnuDefaultLabel (field) { switch (field) { case 'EPCODE': - return 'EPCode' + return 'epCode' case 'DZREMARK': return 'dzRemark' case 'CZREMARK': diff --git a/src/views/main/BookingLedger/detail/modules/basicInfo.vue b/src/views/main/BookingLedger/detail/modules/basicInfo.vue index 50803c3..e87a325 100644 --- a/src/views/main/BookingLedger/detail/modules/basicInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/basicInfo.vue @@ -138,9 +138,9 @@ :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback - prop="EPCode" + prop="epCode" > - + @@ -1142,6 +1142,9 @@ export default { if (type === 'voyno' && this.details.carrierid === 'ESL') { this.details.voynoinner = this.details[type] } + if (type === 'epCode' && this.details.carrierid === 'ESL') { + this.details.tmblno = this.details[type] + } this.$forceUpdate() }, getSelectViewRes({ type, res }) { diff --git a/src/views/main/BookingLedger/detail/modules/sedOrder.vue b/src/views/main/BookingLedger/detail/modules/sedOrder.vue index c0b9018..d74a05e 100644 --- a/src/views/main/BookingLedger/detail/modules/sedOrder.vue +++ b/src/views/main/BookingLedger/detail/modules/sedOrder.vue @@ -169,7 +169,7 @@ const sedDetail = { pono: '', mblno: '', hblno: '', - EPCode: '', // esl下的EP号 + epCode: '', custno: '', contractno: '', vessel: '', diff --git a/src/views/main/BookingLedger/detail/rules.js b/src/views/main/BookingLedger/detail/rules.js index b5f5882..e47d643 100644 --- a/src/views/main/BookingLedger/detail/rules.js +++ b/src/views/main/BookingLedger/detail/rules.js @@ -9,7 +9,7 @@ export default { custno: [{ required: false, message: '请输入订舱编号', trigger: 'change' }], contractno: [{ required: false, message: '请输入运费协议号', trigger: 'change' }], tmblno: [{ required: false, message: '请输入真提单号', trigger: 'change' }], // VOLTA WHL CSL - EPCode: [{ required: false, message: '请输入EP号', trigger: 'change' }], // esl + epCode: [{ required: false, message: '请输入EP号', trigger: 'change' }], // esl vessel: [{ required: false, message: '请输入船名', trigger: 'change' }], lanecode: [{ required: false, message: '请输入航线代码', trigger: 'change' }], // esl voynoinner: [{ required: false, message: '请输入内部航次', trigger: 'change' }], diff --git a/src/views/main/BookingLedger/list/modules/initData.js b/src/views/main/BookingLedger/list/modules/initData.js index a51cc8f..60c36a2 100644 --- a/src/views/main/BookingLedger/list/modules/initData.js +++ b/src/views/main/BookingLedger/list/modules/initData.js @@ -100,7 +100,8 @@ export default { // 以下为新增字段 { field: 'dzRemark', label: 'DZREMARK', width: 160, title: '单证备注', showHeaderOverflow: true, sortable: true, slots: { default: 'dzRemark' } }, { field: 'czRemark', label: 'CZREMARK', width: 160, title: '操作备注', showHeaderOverflow: true, sortable: true, slots: { default: 'czRemark' } }, - { field: 'goodsStatusList', label: 'GOODSSTATUSLIST', minWidth: 160, title: '货物状态', showHeaderOverflow: true, slots: { default: 'goodsStatusList' } } + { field: 'goodsStatusList', label: 'GOODSSTATUSLIST', minWidth: 160, title: '货物状态', showHeaderOverflow: true, slots: { default: 'goodsStatusList' } }, + { field: 'tmblno', label: 'TMBLNO', width: 120, title: '真提单号', showHeaderOverflow: true, sortable: true } ], // ==== 表单部分 ==== condAllData: [ @@ -213,6 +214,7 @@ export default { { code: 'O', name: '超限箱' } ] }, - { title: '签单日期', align: 'center', width: 160, label: 'ISSUEDATE', type: 'dateRange', resLabel: ['BISSUEDATE', 'EISSUEDATE'] } + { title: '签单日期', align: 'center', width: 160, label: 'ISSUEDATE', type: 'dateRange', resLabel: ['BISSUEDATE', 'EISSUEDATE'] }, + { title: '真提单号', align: 'center', width: 160, label: 'TMBLNO', type: 'input' } ] }