diff --git a/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionlist.vue b/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionlist.vue index 5d09e2944..cd137662c 100755 --- a/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionlist.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionlist.vue @@ -3591,13 +3591,10 @@ async function setValue(row) { prescriptionList.value[rowIndex.value].categoryEnum = 31; // 会诊的category_enum设置为31 } else { // 诊疗类型(adviceType == 3) - // 🔧 Bug Fix #238: 诊疗项目默认使用患者就诊科室 - if (!prescriptionList.value[rowIndex.value].orgId) { - prescriptionList.value[rowIndex.value].orgId = props.patientInfo.orgId; - } - if (!prescriptionList.value[rowIndex.value].positionName) { - prescriptionList.value[rowIndex.value].positionName = findOrgNameById(prescriptionList.value[rowIndex.value].orgId) || props.patientInfo.orgName || ''; - } + // 🔧 Bug #455: 诊疗项目执行科室强制使用患者就诊科室, + // 不使用目录配置的执行科室(可能是错误ID或占位符,导致显示原始ID) + prescriptionList.value[rowIndex.value].orgId = props.patientInfo.orgId; + prescriptionList.value[rowIndex.value].positionName = findOrgNameById(props.patientInfo.orgId) || props.patientInfo.orgName || ''; // 🔧 Bug #218 修复:使用组套中维护的quantity,如果没有则默认1 prescriptionList.value[rowIndex.value].quantity = row.quantity || 1; // 🔧 Bug #144 修复:安全访问 priceList,防止 orderDetailInfos 为空时出错