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