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 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 || ''; const operatorName = userStore.name || userStore.nickName || '';
// 计算退款总金额 // 计算退款总金额

View File

@@ -908,7 +908,7 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="诊断" align="center" prop="diagnosisName" width="150"> <el-table-column label="诊断" align="center" prop="diagnosisName" width="150">
<template #default="scope"> <template #default="scope">
<span v-if="!scope.row.isEdit"> <span v-if="!scope.row.isEdit">
{{ scope.row.diagnosisName || scope.row.conditionDefinitionName }} {{ scope.row.diagnosisName || scope.row.conditionDefinitionName }}
@@ -1476,7 +1476,7 @@ function selectAdviceBase(key, row) {
} else { } else {
// 没有 deviceId 或 deviceName可能是中成药药品 // 没有 deviceId 或 deviceName可能是中成药药品
// 根据 categoryCode 判断 // 根据 categoryCode 判断
if (row.categoryCode == '1') { if (row.categoryCode == '1') {
finalAdviceType = 2; // 中成药 finalAdviceType = 2; // 中成药
} else { } else {
// 默认认为是中成药 // 默认认为是中成药
@@ -1780,14 +1780,11 @@ function handleSave() {
// 保存时将前端的耗材类型4转换为后端需要的类型2 // 保存时将前端的耗材类型4转换为后端需要的类型2
// 后端接口中1=药品, 2=耗材, 3=诊疗 // 后端接口中1=药品, 2=耗材, 3=诊疗
// 前端显示中1=西药, 2=中成药, 3=诊疗, 4=耗材 // 前端显示中1=西药, 2=中成药, 3=诊疗, 4=耗材
const saveAdviceType = parsedContent.adviceType == 4 ? 2 : parsedContent.adviceType; const saveAdviceType = item.adviceType == 4 ? 2 : item.adviceType;
return { return {
...parsedContent, ...item,
adviceType: saveAdviceType, adviceType: saveAdviceType,
requestId: item.requestId, dbOpType: item.requestId ? '2' : '1',
dbOpType: '1',
groupId: item.groupId,
uniqueKey: undefined,
}; };
}); });
savePrescriptionSign({ savePrescriptionSign({