From e3e4f17e5b2b2970afc59e5114014dcf329705b0 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Thu, 9 Apr 2026 14:19:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?= =?UTF-8?q?ate]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/HandleFormItem.vue | 9 +++++++-- src/components/Template/StepComponents/ZLSubPackage.vue | 7 ++++--- .../business/comps/template/dialog/SubPackageDialog.vue | 12 +++++++++--- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue index 4028574..a11a224 100644 --- a/src/components/Template/HandleFormItem.vue +++ b/src/components/Template/HandleFormItem.vue @@ -343,6 +343,7 @@ export default { }] }, allowedTypes: ["zip","rar","doc","docx","pdf","jpg"], + signData: null,//签名数据 } }, watch: { @@ -699,6 +700,7 @@ export default { } }, onEditSignSave(data) { + this.signData = data; // 检查是否有待上传的文件 if (this.pendingUploadFile) { // 签名验证通过,将文件添加到列表并上传 @@ -1286,8 +1288,8 @@ export default { const oldAttList = JSON.parse(recordOldVlaue || "[]"); recordValue = attList.map(item => item.name).join(";"); recordOldVlaue = oldAttList.map(item => item.name).join(";"); - oldUrl = oldAttList.map(item => item.url).join(";"); - url = attList.map(item => item.url).join(";"); + oldUrl = oldAttList.map(item => item.url).join("|"); + url = attList.map(item => item.url).join("|"); } const record = { @@ -1304,6 +1306,9 @@ export default { if (data) { record.reason = data.remark } + if(this.type === "attachment" && this.signData){ + record.reason = this.signData.remark; + } const params = { type: "fieldChanged", diff --git a/src/components/Template/StepComponents/ZLSubPackage.vue b/src/components/Template/StepComponents/ZLSubPackage.vue index 264812f..58c357f 100644 --- a/src/components/Template/StepComponents/ZLSubPackage.vue +++ b/src/components/Template/StepComponents/ZLSubPackage.vue @@ -11,6 +11,7 @@ @blur = "(e)=>onCommonBlur(e,item.key)" v-model="formData[item.key]" /> {{ item.unit }} + 确定
分装单位
@@ -359,9 +360,9 @@ export default { if (this.formData[field]) { this.formErrors[field] = false; } - if(field === 'fzsl'){ - this.onBlurFzsl(e); - } + }, + onConfirm(field){ + this.onBlurFzsl(this.formData[field]); }, onBlurFzNum(index, field) { if (this.fzList[index]) { diff --git a/src/views/business/comps/template/dialog/SubPackageDialog.vue b/src/views/business/comps/template/dialog/SubPackageDialog.vue index 5ad7543..9b2ee4f 100644 --- a/src/views/business/comps/template/dialog/SubPackageDialog.vue +++ b/src/views/business/comps/template/dialog/SubPackageDialog.vue @@ -1,5 +1,5 @@