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, })