Browse Source

feat: [模板管理] dl011+dl012 单位带出

zhangteng
memorylkf 4 days ago
parent
commit
9fe3a62868
2 changed files with 9 additions and 3 deletions
  1. +0
    -2
      src/views/business/comps/template/comps/dl/DL011.vue
  2. +9
    -1
      src/views/business/comps/template/comps/dl/DL012.vue

+ 0
- 2
src/views/business/comps/template/comps/dl/DL011.vue View File

@ -273,8 +273,6 @@ export default {
compareTo: 'fshxbyjtj', compareTo: 'fshxbyjtj',
subOptions: this.getDictOptions('business_tjdw'), subOptions: this.getDictOptions('business_tjdw'),
maxlength: 10, maxlength: 10,
subDisabled:true
} }
} }
} }

+ 9
- 1
src/views/business/comps/template/comps/dl/DL012.vue View File

@ -254,7 +254,7 @@ export default {
subOptions: this.getDictOptions('business_tjdw'), subOptions: this.getDictOptions('business_tjdw'),
maxlength: 10, maxlength: 10,
compareTo: 'zbhxbyjtj', compareTo: 'zbhxbyjtj',
copyFrom: 'zbhxbyjtj'
copyFrom: 'zbhxbyjtj',
} }
} }
} }
@ -314,6 +314,14 @@ export default {
// zbxbs // zbxbs
async generateZbhxbbhFields() { async generateZbhxbbhFields() {
const data = this.getFilledFormDataByRefs([refConf.xbxx]) const data = this.getFilledFormDataByRefs([refConf.xbxx])
if(!data.zbhxbsjtjUnit){
this.$refs[refConf.xbxx].batchUpdateFormData({'zbhxbsjtjUnit':data.fshxbyjtjUnit})
}
//
setTimeout(() => {
this.justUpdateFilledFormData()
}, 100)
const { zbxbs, zbhxbbh_1 } = data || {} const { zbxbs, zbhxbbh_1 } = data || {}
if (!zbxbs || !zbhxbbh_1) return if (!zbxbs || !zbhxbbh_1) return

Loading…
Cancel
Save