fix: 修复多模块Bug及功能优化
修复药品汇总、医嘱套餐、转科管理、用药汇总、处方列表、用户管理等多个模块的问题
This commit is contained in:
@@ -272,10 +272,18 @@ function handleGetPrescription() {
|
||||
|
||||
function handleMedicineSummary() {
|
||||
let paramList = getSelectRows();
|
||||
if (!paramList || paramList.length === 0) {
|
||||
proxy.$message.warning('请至少选择一条待汇总的药品');
|
||||
return;
|
||||
}
|
||||
let ids = [];
|
||||
paramList = paramList.forEach((item) => {
|
||||
paramList.forEach((item) => {
|
||||
ids.push(...item.dispenseIds);
|
||||
});
|
||||
if (ids.length === 0) {
|
||||
proxy.$message.warning('所选药品未关联发放信息');
|
||||
return;
|
||||
}
|
||||
medicineSummary(ids).then((res) => {
|
||||
if (res.code == 200) {
|
||||
proxy.$message.success('操作成功');
|
||||
|
||||
Reference in New Issue
Block a user