修改新增耗材“一次性静脉采血器” 点击保存categoryEnum为空值的问题。

This commit is contained in:
wangjian963
2026-01-22 14:13:10 +08:00
parent 49550fcc2e
commit 902ee0587e

View File

@@ -756,6 +756,8 @@ function handleSaveSign(row, index) {
row.contentJson = JSON.stringify(row); row.contentJson = JSON.stringify(row);
row.dbOpType = row.requestId ? '2' : '1'; row.dbOpType = row.requestId ? '2' : '1';
row.minUnitQuantity = row.quantity * row.partPercent; row.minUnitQuantity = row.quantity * row.partPercent;
row.categoryEnum = row.adviceType
console.log('row', row)
savePrescription({ adviceSaveList: [row] }).then((res) => { savePrescription({ adviceSaveList: [row] }).then((res) => {
if (res.code === 200) { if (res.code === 200) {
proxy.$modal.msgSuccess('保存成功'); proxy.$modal.msgSuccess('保存成功');