2 Commits

Author SHA1 Message Date
  memorylkf 0398753cc1 feat: [模板管理] dl011 4 days ago
  memorylkf 9fe3a62868 feat: [模板管理] dl011+dl012 单位带出 4 days ago
1 changed files with 9 additions and 1 deletions
Unified View
  1. +9
    -1
      src/views/business/comps/template/comps/dl/DL012.vue

+ 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