fix: 修复多模块Bug及功能优化
修复药品汇总、医嘱套餐、转科管理、用药汇总、处方列表、用户管理等多个模块的问题
This commit is contained in:
@@ -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('保存成功');
|
||||
|
||||
Reference in New Issue
Block a user