372 【住院医生站】医嘱录入执行科室显示ID乱码,且缺乏动态匹配逻辑

373 【住院医生站】医嘱搜索缺失“II级护理”项目(与诊疗目录配置不符)
This commit is contained in:
2026-04-22 15:35:25 +08:00
parent d663c46422
commit f125c8dc85
8 changed files with 213 additions and 39 deletions

View File

@@ -819,7 +819,8 @@ function selectAdviceBase(key, row) {
combinationList.value[rowIndex.value].positionName = stock.locationName;
}
} else {
combinationList.value[rowIndex.value].orgId = JSON.parse(JSON.stringify(row)).positionId;
// 🔧 修复执行科室逻辑:优先使用项目维护的所属科室(row.orgId),其次使用positionId
combinationList.value[rowIndex.value].orgId = row.orgId || JSON.parse(JSON.stringify(row)).positionId;
combinationList.value[rowIndex.value].unitPrice = row.priceList[0].price;
}
expandOrder.value = [key];