|
|
@ -538,12 +538,23 @@ export default {
|
|
|
|
this.$message.warning('请选择一个试剂!')
|
|
|
|
this.$message.warning('请选择一个试剂!')
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const data = {
|
|
|
|
this.$confirm('此操作将永久删除该试剂, 是否继续?', '提示', {
|
|
|
|
medicament_id: this.multipleSelection[0].medicament_id
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
}
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
del(stringify(data)).then(res => {
|
|
|
|
type: 'warning'
|
|
|
|
this.$message.success(res.msg)
|
|
|
|
}).then(() => {
|
|
|
|
this.getList()
|
|
|
|
const data = {
|
|
|
|
|
|
|
|
medicament_id: this.multipleSelection[0].medicament_id
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
del(stringify(data)).then(res => {
|
|
|
|
|
|
|
|
this.$message.success(res.msg)
|
|
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
|
|
|
type: 'info',
|
|
|
|
|
|
|
|
message: '已取消删除'
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 设置空瓶
|
|
|
|
// 设置空瓶
|
|
|
|