|
|
@ -130,11 +130,16 @@ export default { |
|
|
this.$emit('cancel'); |
|
|
this.$emit('cancel'); |
|
|
}, |
|
|
}, |
|
|
onSubmit() { |
|
|
onSubmit() { |
|
|
let row = this.currentRow; |
|
|
|
|
|
|
|
|
let row = this.otherChecked ? {bh: this.otherReagent}:this.currentRow; |
|
|
const selectedValue = this.otherChecked ? this.otherReagent : this.selectedId; |
|
|
const selectedValue = this.otherChecked ? this.otherReagent : this.selectedId; |
|
|
|
|
|
|
|
|
this.$emit('submit', selectedValue,row); |
|
|
this.$emit('submit', selectedValue,row); |
|
|
const selectInfo = this.otherChecked ?{}: { |
|
|
|
|
|
|
|
|
const selectInfo = this.otherChecked ?{ |
|
|
|
|
|
mc: "", |
|
|
|
|
|
bh: row.bh, |
|
|
|
|
|
xh: "", |
|
|
|
|
|
jzrq: "", |
|
|
|
|
|
}: { |
|
|
mc: row.mc, |
|
|
mc: row.mc, |
|
|
bh: row.bh, |
|
|
bh: row.bh, |
|
|
xh: row.xh, |
|
|
xh: row.xh, |
|
|
|