From b6503b58b7f4a58e75c0b163be0800ba48afdb08 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Thu, 29 Jan 2026 14:01:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=A6=E5=AD=98=E4=B8=BA=E5=8A=A0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/ecss/codelnotify.vue | 7 +++++-- src/views/modules/ecss/del_upload_excel.vue | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/modules/ecss/codelnotify.vue b/src/views/modules/ecss/codelnotify.vue index 208e72f..90e57d5 100644 --- a/src/views/modules/ecss/codelnotify.vue +++ b/src/views/modules/ecss/codelnotify.vue @@ -835,7 +835,8 @@ - 保存 + 仅保存客户信息 + 保存并修改模版 关闭 @@ -3018,6 +3019,7 @@ overseasAddress: this.currentRow.overseasAddress || '', salesArea: this.currentRow.salesArea || '', cnative: this.currentRow.cnative || '', + templateNo: this.currentRow.templateNo || '', templateName: '' } @@ -3027,7 +3029,7 @@ /** * 更新客户信息 */ - updateCustomerInfo() { + updateCustomerInfo(templateNo) { // 验证必填字段 if (!this.customerInfoModel.customerName) { this.$message.warning('请填写客户名称') @@ -3038,6 +3040,7 @@ const updateData = { site: this.currentRow.site, delNo: this.currentRow.delNo, + templateNo : templateNo, customerName: this.customerInfoModel.customerName, localShipAddress: this.customerInfoModel.localShipAddress, overseasShipper: this.customerInfoModel.overseasShipper, diff --git a/src/views/modules/ecss/del_upload_excel.vue b/src/views/modules/ecss/del_upload_excel.vue index 4ca59e9..b5e3a32 100644 --- a/src/views/modules/ecss/del_upload_excel.vue +++ b/src/views/modules/ecss/del_upload_excel.vue @@ -1261,6 +1261,7 @@ formData.append("deletedInvoices", JSON.stringify(allDeletedInvoices)) // 只为可导入的发票设置客户信息 this.validInvoices.forEach((item, index) => { + formData.append(`templateNo_${item.cmcInvoice}`, item.templateNo) formData.append(`customerName_${item.cmcInvoice}`, item.selectedCustomer) formData.append(`localShipAddress_${item.cmcInvoice}`, item.selectedLocalAddress) formData.append(`overseasShipper_${item.cmcInvoice}`, item.selectedOverseasShipper)