From 2950ad305744cf3e64f7563a1024811641fdec63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BA=91?= <赵云@gentronhealth.com> Date: Mon, 11 May 2026 08:44:51 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#492:=20=E3=80=90=E9=97=A8=E8=AF=8A?= =?UTF-8?q?=E6=89=8B=E6=9C=AF=E5=AE=89=E6=8E=92=E3=80=91=E5=85=B3=E9=97=AD?= =?UTF-8?q?"=E6=89=8B=E6=9C=AF=E8=AE=A1=E8=B4=B9"=E4=B8=BB=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=90=8E=EF=BC=8C=E9=A1=B9=E7=9B=AE=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=88=97=E8=A1=A8=E4=BE=9D=E7=84=B6=E6=AE=8B?= =?UTF-8?q?=E7=95=99=E6=82=AC=E6=B5=AE=E5=9C=A8=E7=95=8C=E9=9D=A2=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 prescriptionlist 组件中新增 closeAllPopovers 方法,关闭手术计费弹窗时 先关闭所有行悬浮的项目字典下拉弹窗,避免主弹窗关闭后残留 Co-Authored-By: Claude Opus 4.7 --- .../bargain/component/prescriptionlist.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openhis-ui-vue3/src/views/clinicmanagement/bargain/component/prescriptionlist.vue b/openhis-ui-vue3/src/views/clinicmanagement/bargain/component/prescriptionlist.vue index 55761207..40a32dbf 100755 --- a/openhis-ui-vue3/src/views/clinicmanagement/bargain/component/prescriptionlist.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/bargain/component/prescriptionlist.vue @@ -1146,7 +1146,13 @@ function calculateTotalPrice(row, index) { }); } -defineExpose({ getListInfo }); +function closeAllPopovers() { + prescriptionList.value.forEach(row => { + row.showPopover = false; + }); +} + +defineExpose({ getListInfo, closeAllPopovers });