Browse Source

fix: [模板管理] dl014检查

luojie
memorylkf 3 weeks ago
parent
commit
147d1b7d7b
2 changed files with 10 additions and 5 deletions
  1. +8
    -4
      src/views/business/comps/template/comps/dl/DL014.vue
  2. +2
    -1
      src/views/business/comps/template/comps/dl/DL015.vue

+ 8
- 4
src/views/business/comps/template/comps/dl/DL014.vue View File

@ -647,13 +647,17 @@ export default {
},
getResource() {
const content = this.getFilledFormData()
let formData = this.formData;
let tmpResource = []
let tmpYq = []
let sjs9hhyjrltotal=0
let sjplyjrltotal=0
for (var i = 0; i < content.jlzTableData.length; i++) {
let item = content.jlzTableData[i]
sjs9hhyjrltotal=sjs9hhyjrltotal+parseFloat(item.sjs9hhyjrl)
//
sjplyjrltotal=sjplyjrltotal+parseFloat(item.sjplyjrl)
//
tmpResource.push({
mc: null,
bh: item.xybh,
@ -668,7 +672,7 @@ export default {
syl: null,
type: 1, //null
elnType: null, // his.product
syldw: content[i+'_xybh_dw'],
syldw: content[i+'_xybh_dw'] || formData[i+'_xybh_dw'],
yxzq: null,
yxzqdw: null,
})
@ -723,10 +727,10 @@ export default {
sxrq: null,
kc: null,
kcdw: null,
syl: null,
syl: sjplyjrltotal,
type: 1, //使
elnType: null, //null
syldw: content.pyysj_dw,
syldw: content.jlzHeaderSelectFields.sjplyjrlUnit,
yxzq: null,
yxzqdw: null,
})

+ 2
- 1
src/views/business/comps/template/comps/dl/DL015.vue View File

@ -360,7 +360,8 @@ export default {
hyqqtqk: '', //
qqpyy: '', //
pbsxd: '', // PBS
pyybrl: '' //
pyybrl: '', //
id:this.getuuid(),
}))
// 使 $set formData CustomTable

Loading…
Cancel
Save