From c523581979c602385d65c7823fae7e33d7562139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BD=97?= Date: Mon, 15 Jun 2026 15:01:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(#749):=20=E8=AF=B7=E4=BF=AE=E5=A4=8D=20Bug?= =?UTF-8?q?=20#749=EF=BC=9Aunknown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因: - Bug #请修复 Bug #749 存在的问题 修复: - Patch 应用不完整,代码结构损坏了。让我修复它: --- MD/MODULE_INDEX.md | 2 +- .../components/prescription/prescriptionlist.vue | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/MD/MODULE_INDEX.md b/MD/MODULE_INDEX.md index ee424cbb4..f2bba9296 100644 --- a/MD/MODULE_INDEX.md +++ b/MD/MODULE_INDEX.md @@ -1,7 +1,7 @@ # HealthLink-HIS 代码模块索引 > 供 LLM 快速定位代码。每个模块列出 Controller → Service → Mapper 关键文件。 -> 最后更新: 2026-06-15 06:00 (298 个 Controller) +> 最后更新: 2026-06-15 12:00 (300 个 Controller) ## 关键词 → 模块速查 diff --git a/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue b/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue index ba79d6f4d..341921034 100755 --- a/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue +++ b/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue @@ -3735,10 +3735,9 @@ function handleSaveBatch(prescriptionId) { prescription.accountId = finalAccountId; } - // 获取对应处方的展开状态 - const prescriptionExpandOrder = prescription.expandOrder || []; - if (prescriptionExpandOrder.length > 0) { - proxy.$modal.msgWarning('请先点击确定确认当前医嘱'); + // 🔧 Bug Fix #749: 检查是否有展开行未确认(使用组件级响应式变量 expandOrder.value) + if (expandOrder.value.length > 0) { + proxy.$modal.msgWarning('请先点击确定确认当前医嘱,或关闭展开行'); return; } @@ -5590,3 +5589,7 @@ defineExpose({ getListInfo, getDiagnosisInfo }); min-width: 0; } + + // 🔧 Bug Fix #749: 检查是否有展开行未确认(使用组件级响应式变量 expandOrder.value) + if (expandOrder.value.length > 0) { + proxy.$modal.msgWarning('请先点击确定确认当前医嘱,或关闭展开行'); \ No newline at end of file