|
|
@ -99,6 +99,7 @@ export default { |
|
|
mixType: false,//是否是混合试剂 |
|
|
mixType: false,//是否是混合试剂 |
|
|
title:"选择试剂", |
|
|
title:"选择试剂", |
|
|
currentType: '1',//当前选择的类型 |
|
|
currentType: '1',//当前选择的类型 |
|
|
|
|
|
qxbdType:"",//前序表单类型 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
@ -119,6 +120,7 @@ export default { |
|
|
this.currentType = type; |
|
|
this.currentType = type; |
|
|
if(type==15){ |
|
|
if(type==15){ |
|
|
this.selectedCode = 'id' |
|
|
this.selectedCode = 'id' |
|
|
|
|
|
this.qxbdType = data.qxbdType || ''; |
|
|
} |
|
|
} |
|
|
this.mixType = mixType; |
|
|
this.mixType = mixType; |
|
|
this.sourceFrom = sourceFrom; |
|
|
this.sourceFrom = sourceFrom; |
|
|
@ -173,6 +175,10 @@ export default { |
|
|
ndz: (row.nd||"")+(row.nddw||""), |
|
|
ndz: (row.nd||"")+(row.nddw||""), |
|
|
type: Number(this.selectType), |
|
|
type: Number(this.selectType), |
|
|
} |
|
|
} |
|
|
|
|
|
if(this.qxbdType && row.templateSn !== this.qxbdType){ |
|
|
|
|
|
this.$message.error(`请选择正确前序表单`); |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
this.$emit('submit', selectedValue, row); |
|
|
this.$emit('submit', selectedValue, row); |
|
|
// 触发eventBus事件 |
|
|
// 触发eventBus事件 |
|
|
EventBus.$emit("onMixReagentSubmit", { selectInfo, uuid: this.uuid, selectedId: selectedValue, row,selectType:this.selectType }); |
|
|
EventBus.$emit("onMixReagentSubmit", { selectInfo, uuid: this.uuid, selectedId: selectedValue, row,selectType:this.selectType }); |
|
|
|