|
|
@ -187,6 +187,17 @@ export default { |
|
|
const { selectInfo, key, rowIndex } = e |
|
|
const { selectInfo, key, rowIndex } = e |
|
|
const { row } = selectInfo |
|
|
const { row } = selectInfo |
|
|
console.log('选择显微镜预留===',row) |
|
|
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) { |
|
|
// if (key === 'yqbh' && this.$refs.yqsyTableRef) { |
|
|
// const params = { |
|
|
// const params = { |
|
|
// yqmc: row.mc, |
|
|
// yqmc: row.mc, |
|
|
@ -273,10 +284,17 @@ export default { |
|
|
return content; |
|
|
return content; |
|
|
}, |
|
|
}, |
|
|
getResource() { |
|
|
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.resourceTmp = [] |
|
|
this.yqResourceTmp = [] |
|
|
|
|
|
|
|
|
this.yqResourceTmp = tmpYq |
|
|
return this.resourceTmp; |
|
|
return this.resourceTmp; |
|
|
}, |
|
|
}, |
|
|
//保存 |
|
|
//保存 |
|
|
|