药品使用记录
This commit is contained in:
@@ -409,7 +409,7 @@ function handleStatus(row) {
|
||||
const _id = row.id || ids.value
|
||||
|
||||
const newStatus = row.status ? 0 : 1 // 切换状态
|
||||
proxy.$modal.confirm(`是否确认将 ${row.name} 处方${row.status ? '禁用' : '启用'}?`).then(() => {
|
||||
proxy.$modal.confirm(`是否确认将 ${row.name }处方${row.status ? '禁用' : '启用'}?`).then(() => {
|
||||
return updatePrescription({ id: _id, status: newStatus })
|
||||
}).then(() => {
|
||||
proxy.$modal.msgSuccess(`处方${row.status ? '禁用' : '启用'}成功`)
|
||||
|
||||
Reference in New Issue
Block a user