Browse Source

fix:[填报管理]优化

ouqian
15881625488@163.com 1 month ago
parent
commit
accdb307cf
1 changed files with 27 additions and 25 deletions
  1. +27
    -25
      src/views/business/comps/template/comps/dl/DL003.vue

+ 27
- 25
src/views/business/comps/template/comps/dl/DL003.vue View File

@ -35,7 +35,7 @@
<CustomTable fieldItemLabel="template.common.operationSteps" :columns="jzjzColumns" @blur="operateBlur"
:ref="'jzjzTableRef'" @onRegentSubmit="(e) => onRegentSubmit(e)" :showOperation="fillType === 'actFill'"
:showAddRow="fillType === 'actFill'"
:formData="{ stepTableFormData: formData.stepTableFormData_1, headerSelectFields: {} }"
:formData="{ stepTableFormData: formData.stepTableFormData_1, headerSelectFields: formData.headerSelectFields_1 }"
:showHeaderSelect="fillType === 'actFill'" :prefixKey="`jzjzTable`">
<template slot="operation" slot-scope="{ row, rowIndex, columns }">
<TableOpertaionDelete :row="row" :rowIndex="rowIndex" :columns="columns"
@ -392,28 +392,33 @@ export default {
yxzq: null,
yxzqdw: null,
})
//使 1357 911
tmpResource.push({
mc: item.rtbhmc,
bh: item.rtbh,
ph: item.rtbhph,
ndz: item.rtbhnd + item.rtbhnddw,
nd: item.rtbhnd,
nddw: item.rtbhnddw,
ly: item.rtbhly,
sxrq: item.rtbhsxrq,
kc: null,
kcdw: null,
syl: item.rtbhkc,
type: 1, //使
elnType: null, //null
syldw: item.rtbhkcdw,
yxzq: null,
yxzqdw: null,
//使- 1357 911
let _index = _.findIndex(tmpResource, function (a) {
return a.bh == item.rtbh
})
if (_index < 0) {
tmpResource.push({
mc: null,
bh: item.rtbh,
ph: null,
ndz: null,
nd: null,
nddw: null,
ly: null,
sxrq: null,
kc: null,
kcdw: null,
syl: item.rtbhkc,
type: 1, //使
elnType: null, //null
syldw: item.rtbhkcdw,
yxzq: null,
yxzqdw: null,
})
}
//使 1357 911
tmpResource.push({
mc: item.jzlymc,
mc: null,
bh: item.jzlybh,
ph: '',
ndz: '',
@ -490,13 +495,10 @@ export default {
this.$refs.czInfoRef.updateFormData('pyxjzrq', row.jzrq)
}
if (key == 'rtbh') {
this.$refs['jzjzTableRef'].updateDataSourceByRowIndex(rowIndex, {
rtbhnd: row.nd, rtbhnddw: row.bddw, rtbhly: row.ly, rtbhsxrq: row.sxrq,
rtbhph: row.ph, rtbhmc: row.mc, rtbhkc: row.kc, rtbhkcdw: row.kcdw
})
this.$refs['jzjzTableRef'].updateDataSourceByRowIndex(rowIndex, { rtbhkc: row.kc, rtbhkcdw: row.kcdw})
}
if (key == 'jzlybh') {
this.$refs['jzjzTableRef'].updateDataSourceByRowIndex(rowIndex, { jzlymc: row.mc, jzlytj: row.tj, jzlytjdw: row.tjdw })
this.$refs['jzjzTableRef'].updateDataSourceByRowIndex(rowIndex, { jzlytj: row.tj, jzlytjdw: row.tjdw })
}
},
//

Loading…
Cancel
Save