解决医嘱确定后中成药项目名消失
This commit is contained in:
@@ -1766,14 +1766,11 @@ function handleSave() {
|
||||
// 保存时,将前端的耗材类型(4)转换为后端需要的类型(2)
|
||||
// 后端接口中:1=药品, 2=耗材, 3=诊疗
|
||||
// 前端显示中:1=西药, 2=中成药, 3=诊疗, 4=耗材
|
||||
const saveAdviceType = parsedContent.adviceType == 4 ? 2 : parsedContent.adviceType;
|
||||
const saveAdviceType = item.adviceType == 4 ? 2 : item.adviceType;
|
||||
return {
|
||||
...parsedContent,
|
||||
...item,
|
||||
adviceType: saveAdviceType,
|
||||
requestId: item.requestId,
|
||||
dbOpType: '1',
|
||||
groupId: item.groupId,
|
||||
uniqueKey: undefined,
|
||||
dbOpType: item.requestId ? '2' : '1',
|
||||
};
|
||||
});
|
||||
savePrescriptionSign({
|
||||
|
||||
Reference in New Issue
Block a user