Compare commits

...

3 Commits

2 changed files with 7 additions and 10 deletions

View File

@@ -206,8 +206,8 @@ function submit() {
// 获取当前时间作为退号操作日期
const returnDate = formatDateStr(new Date(), 'YYYY-MM-DD HH:mm:ss');
// 获取当前用户信息作为操作工号
const operatorId = userStore.id || userStore.name || '';
// 获取当前用户信息作为操作工号(使用用户管理中的用户编号)
const operatorId = userStore.id || null;
const operatorName = userStore.name || userStore.nickName || '';
// 计算退款总金额

View File

@@ -1780,14 +1780,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({