From 15e79821f830a77741f4be7f3f34d1ab1efa691b Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Fri, 12 Sep 2025 09:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=98=E7=9B=98=E9=87=8D=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/ecss/codelnotify.vue | 15 ++++----- src/views/modules/ecss/declaration.vue | 45 +++++++++++++------------- src/views/modules/ecss/pallet.vue | 29 ++++++++++++++++- 3 files changed, 57 insertions(+), 32 deletions(-) diff --git a/src/views/modules/ecss/codelnotify.vue b/src/views/modules/ecss/codelnotify.vue index 4a692d1..29f7be6 100644 --- a/src/views/modules/ecss/codelnotify.vue +++ b/src/views/modules/ecss/codelnotify.vue @@ -84,9 +84,6 @@ - + 确定 关闭 @@ -1889,7 +1886,7 @@ xiadaChoose(row){ // 设置当前行 this.currentRow = row; - + if (this.dataList2.length===0) { this.$alert('该发货通知单下没有明细无法下达!', '错误', { confirmButtonText: '确定' @@ -1959,8 +1956,8 @@ } this.$confirm('确认下达吗?', '提示').then(() => { // 开始加载 - this.xiadaLoading = true; - + this.dataListLoading = true; + changeEcssDelStatus(inData).then(({data}) => { if (data && data.code === 0) { this.searchTable() @@ -1982,11 +1979,11 @@ }) }).finally(() => { // 无论成功还是失败都要恢复加载状态 - this.xiadaLoading = false; + this.dataListLoading = false; }) }).catch(() => { // 用户取消确认时也要确保加载状态正常 - this.xiadaLoading = false; + this.dataListLoading = false; }) this.walMartOrderDialog=false; }, diff --git a/src/views/modules/ecss/declaration.vue b/src/views/modules/ecss/declaration.vue index 38aea37..a9ce521 100644 --- a/src/views/modules/ecss/declaration.vue +++ b/src/views/modules/ecss/declaration.vue @@ -203,16 +203,11 @@ 栈板号 - - - - - - + @@ -223,11 +218,7 @@ - - - - - + @@ -238,6 +229,16 @@ + + + + + + + + + + @@ -604,16 +605,11 @@ - - - - - - + @@ -634,6 +630,11 @@ + + + + + @@ -863,7 +864,7 @@ xdremark:'' }, brandType:'', - hsCodeDescType:'N', + hsCodeDescType:'Y', packageUnit: '', declarationWeight: '不显示', exportParam: {}, @@ -2086,11 +2087,11 @@ this.$message.warning('请填写制造地!') return } - if ((this.currentRow.buNo==='01-Label' || this.currentRow.buNo==='03-RFID') + /* if ((this.currentRow.buNo==='01-Label' || this.currentRow.buNo==='03-RFID') && !this.exportPaking.palletWeight) { this.$message.warning('请填写栈板重量!') return - } + }*/ if (this.exportPaking.material && !this.exportPaking.hsCode) { this.$message.warning('请填写hsCode!') return diff --git a/src/views/modules/ecss/pallet.vue b/src/views/modules/ecss/pallet.vue index ccf5be6..29da29d 100644 --- a/src/views/modules/ecss/pallet.vue +++ b/src/views/modules/ecss/pallet.vue @@ -125,7 +125,12 @@ - + + + + + + @@ -173,6 +178,7 @@ limit: 100, buNo:'', palletType:'', + palletWeight:'', codeNo:'', username:this.$store.state.user.name, }, @@ -190,6 +196,7 @@ width:'', height:'', applicationArea:'', + palletWeight:'', remark:'', }, addDisabledFlag:true, @@ -321,6 +328,24 @@ fixed: '', columnWidth: 100 }, + { + userId: this.$store.state.user.name, + functionId: 801003, + serialNumber: '801007Table1PalletWeight', + tableId: "801007Table1", + tableName: "pallet基础信息", + columnProp: "palletWeight", + headerAlign: "center", + align: "center", + columnLabel: "栈板重量(KG)", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 120 + }, { userId: this.$store.state.user.name, functionId: 801003, @@ -519,6 +544,7 @@ width:'', height:'', applicationArea:'', + palletWeight:'', remark:'', } this.addModelFlag=true @@ -536,6 +562,7 @@ width:row.width, height:row.height, applicationArea:row.applicationArea, + palletWeight:row.palletWeight, remark:row.remark, } this.addModelFlag=true