Browse Source

feat: [模板管理] 毒理模板修改

ouqian
memorylkf 1 month ago
parent
commit
83d62ae84c
2 changed files with 40 additions and 6 deletions
  1. +21
    -3
      src/views/business/comps/template/comps/dl/DL021.vue
  2. +19
    -3
      src/views/business/comps/template/comps/dl/DL023.vue

+ 21
- 3
src/views/business/comps/template/comps/dl/DL021.vue View File

@ -187,6 +187,17 @@ export default {
const { selectInfo, key, rowIndex } = e
const { row } = selectInfo
console.log('选择显微镜预留===',row)
if (key == 'xwj') {
this.$refs.swypyjInfoRef.updateFormData('wxjmc', row.mc)
this.$refs.swypyjInfoRef.updateFormData('wxjxh', row.xh)
this.$refs.swypyjInfoRef.updateFormData('wxjjzrq', row.jzrq)
}
// if (key === 'yqbh' && this.$refs.yqsyTableRef) {
// const params = {
// yqmc: row.mc,
@ -273,10 +284,17 @@ export default {
return content;
},
getResource() {
//使
// stepRef
let content = this.getFilledFormData();
let tmpYq = []
tmpYq.push({
mc: content.wxjmc,
xh: content.wxjxh,
bh: content.xwj,
jzrq: content.wxjjzrq,
})
this.resourceTmp = []
this.yqResourceTmp = []
this.yqResourceTmp = tmpYq
return this.resourceTmp;
},
//

+ 19
- 3
src/views/business/comps/template/comps/dl/DL023.vue View File

@ -187,6 +187,8 @@ export default {
subType: 'button',
subKey: 'zskssj',
buttonName: 'template.dl.dl023.ksButton',
disabled:true,
subDisabled:false
},
zsjssj: {
label: 'template.dl.dl023.zsjssj',
@ -196,6 +198,8 @@ export default {
subType: 'button',
subKey: 'zsjssj',
buttonName: 'template.dl.dl023.jsButton',
disabled:true,
subDisabled:false
},
}
}
@ -318,10 +322,22 @@ export default {
return content;
},
getResource() {
//使
// stepRef
let content = this.getFilledFormData();
let tmpYq = []
let table = content.stepTableFormData
if (table && table.length > 0) {
for (let i = 0; i < table.length; i++) {
let item = table[i]
tmpYq.push({
mc: item.yqmc,
xh: item.yqxh,
bh: item.yqbh,
jzrq: item.xcrq,
})
}
}
this.yqResourceTmp = tmpYq
this.resourceTmp = []
this.yqResourceTmp = []
return this.resourceTmp;
},
//

Loading…
Cancel
Save