fix: 修复多模块Bug及功能优化

修复药品汇总、医嘱套餐、转科管理、用药汇总、处方列表、用户管理等多个模块的问题
This commit is contained in:
Ranyunqiao
2026-05-06 10:42:57 +08:00
parent 8a2f7965bd
commit d3c4b612e4
12 changed files with 84 additions and 16 deletions

View File

@@ -918,10 +918,13 @@ function remakeBlur(row, index) {
editBatchTransfer(index);
}
function handleSave() {
// if (form.purchaseinventoryList.length == 0) {
// proxy.$message.warning('请先生成批量调拨单在进行批量保存!');
// return;
// }
const invalidRow = totalIncentoryInfoList.value.find(
(row) => !row.price || row.price <= 0
);
if (invalidRow) {
proxy.$message.warning('调拨单价不能为空或为0请检查');
return;
}
addTransferProductBatch(totalIncentoryInfoList.value).then((res) => {
if (res.code == 200) {
proxy.$modal.msgSuccess('保存成功');