From 7d9acc38bace46dcc5c13b6316ab2f4298885c30 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Mon, 30 Mar 2026 17:19:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20gsp009=E7=9A=84=E6=89=8B=E5=8A=A8=E8=B5=8B=E5=80=BC=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/comps/gsp/GSP009.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/business/comps/template/comps/gsp/GSP009.vue b/src/views/business/comps/template/comps/gsp/GSP009.vue index cec9da4..1ba82ad 100644 --- a/src/views/business/comps/template/comps/gsp/GSP009.vue +++ b/src/views/business/comps/template/comps/gsp/GSP009.vue @@ -256,6 +256,7 @@ export default { }, getResource() { let content = this.getFilledFormData(); + let formData = this.formData; //生成resource let tmpResource = [] if (this.fillType === "actFill") { @@ -263,7 +264,9 @@ export default { if (content.paralleConfigs && content.paralleConfigs.length > 0) { for (let i = 0; i < content.paralleConfigs.length; i++) { let paralleConfigs = content.paralleConfigs[i] + let paralleConfigsForm = formData.paralleConfigs[i] //使用量 + debugger tmpResource.push({ mc: null, bh: paralleConfigs.xz, @@ -275,9 +278,9 @@ export default { sxrq: null, kc: null, kcdw: null, - type: paralleConfigs.xzlx, + type: paralleConfigs.xzlx || paralleConfigsForm.xzlx, syl: null, - syldw: paralleConfigs.kcdw, + syldw: paralleConfigs.kcdw || paralleConfigsForm.kcdw, yxzq: null, yxzqdw: null, })