372 【住院医生站】医嘱录入执行科室显示ID乱码,且缺乏动态匹配逻辑
373 【住院医生站】医嘱搜索缺失“II级护理”项目(与诊疗目录配置不符)
This commit is contained in:
@@ -702,7 +702,14 @@ async function selectAdviceBase(key, row) {
|
||||
};
|
||||
|
||||
// 后续字段处理保持原样
|
||||
prescriptionList.value[rowIndex.value].orgId = undefined;
|
||||
// 🔧 修复执行科室逻辑:诊疗项目优先使用项目维护的所属科室(row.orgId)
|
||||
// 如果所属科室为空,则回退到患者当前所在科室
|
||||
if (row.adviceType === 3 && row.orgId) {
|
||||
// 项目有所属科室,直接使用
|
||||
prescriptionList.value[rowIndex.value].orgId = row.orgId;
|
||||
} else {
|
||||
prescriptionList.value[rowIndex.value].orgId = undefined;
|
||||
}
|
||||
prescriptionList.value[rowIndex.value].dose = undefined;
|
||||
prescriptionList.value[rowIndex.value].unitCodeList = unitCodeList.value;
|
||||
prescriptionList.value[rowIndex.value].doseUnitCode =
|
||||
|
||||
Reference in New Issue
Block a user