Browse Source

fix: [模板管理] gsp009的手动赋值字段

luojie
memorylkf 3 weeks ago
parent
commit
7d9acc38ba
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      src/views/business/comps/template/comps/gsp/GSP009.vue

+ 5
- 2
src/views/business/comps/template/comps/gsp/GSP009.vue View File

@ -256,6 +256,7 @@ export default {
}, },
getResource() { getResource() {
let content = this.getFilledFormData(); let content = this.getFilledFormData();
let formData = this.formData;
//resource //resource
let tmpResource = [] let tmpResource = []
if (this.fillType === "actFill") { if (this.fillType === "actFill") {
@ -263,7 +264,9 @@ export default {
if (content.paralleConfigs && content.paralleConfigs.length > 0) { if (content.paralleConfigs && content.paralleConfigs.length > 0) {
for (let i = 0; i < content.paralleConfigs.length; i++) { for (let i = 0; i < content.paralleConfigs.length; i++) {
let paralleConfigs = content.paralleConfigs[i] let paralleConfigs = content.paralleConfigs[i]
let paralleConfigsForm = formData.paralleConfigs[i]
//使 //使
debugger
tmpResource.push({ tmpResource.push({
mc: null, mc: null,
bh: paralleConfigs.xz, bh: paralleConfigs.xz,
@ -275,9 +278,9 @@ export default {
sxrq: null, sxrq: null,
kc: null, kc: null,
kcdw: null, kcdw: null,
type: paralleConfigs.xzlx,
type: paralleConfigs.xzlx || paralleConfigsForm.xzlx,
syl: null, syl: null,
syldw: paralleConfigs.kcdw,
syldw: paralleConfigs.kcdw || paralleConfigsForm.kcdw,
yxzq: null, yxzq: null,
yxzqdw: null, yxzqdw: null,
}) })

Loading…
Cancel
Save