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 f23aad91..7816fed5 100644 --- a/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionlist.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/prescription/prescriptionlist.vue @@ -1982,6 +1982,13 @@ function handleOrderBindInfo(bindIdInfo) { }); list?.forEach((item) => { + // 🔧 Bug #145 修复:确保用法绑定的耗材 adviceType 为 4(前端耗材类型值) + // 后端返回的 adviceType=2,但前端统一使用 4 表示耗材 + // 必须在 setValue 之前修改,确保 setValue 方法走耗材处理逻辑 + if (item.adviceType === 2) { + item.adviceType = 4; + } + rowIndex.value = prescriptionList.value.length; setValue(item);