From bae86d8dc46bd0dfaf26824fd54b5988e9b99bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B3=E7=BE=BD?= <关羽@gentronhealth.com> Date: Sat, 9 May 2026 17:47:28 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#462:=20[=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E8=AF=8A=E7=96=97=E7=9B=AE=E5=BD=95]=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=BC=B9=E7=AA=97=E4=B8=AD"=E6=89=80?= =?UTF-8?q?=E9=9C=80=E6=A0=87=E6=9C=AC"=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=8A=A0=E8=BD=BD=E5=A4=B1=E8=B4=A5=EF=BC=8C?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=BA"=E6=97=A0=E6=95=B0=E6=8D=AE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:useDict 调用中已传入 'specimen_code',但解构时遗漏了 specimen_code 变量, 导致模板中 v-for 遍历的 specimen_code 为 undefined,下拉框显示"无数据"。 修复:在解构语句中补充 specimen_code。 --- .../diagnosistreatment/components/diagnosisTreatmentDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue b/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue index 4890f23e..6c864519 100755 --- a/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue +++ b/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue @@ -376,7 +376,7 @@ import MedicineList from '../components/medicineList.vue'; import {getCurrentInstance, nextTick, watch} from 'vue'; const { proxy } = getCurrentInstance(); -const { unit_code, med_chrgitm_type, fin_type_code, activity_category_code, chrgitm_lv } = +const { specimen_code, unit_code, med_chrgitm_type, fin_type_code, activity_category_code, chrgitm_lv } = proxy.useDict( 'specimen_code', 'unit_code',