From 1136a479d1a2a5cb8bcd796d095ad0dc798604cc Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Sun, 17 May 2026 17:35:57 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#403:=20=E4=BD=8F=E9=99=A2=E5=8C=BB?= =?UTF-8?q?=E7=94=9F=E5=B7=A5=E4=BD=9C=E7=AB=99-=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=8C=BB=E5=98=B1=E7=BB=84=E5=A5=97=E5=90=8E=E8=8D=AF=E5=93=81?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=AD=97=E6=AE=B5=E4=B8=A2=E5=A4=B1=E6=9C=AA?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E5=BC=95=E5=85=A5=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:handleSaveGroup 中组套项预初始化行设置 isEdit: true,但表格明细列 (单次剂量/总量/总金额/药房/频次/用法等)均使用 v-if="!scope.row.isEdit" 条 件渲染。isEdit 为 true 时所有明细字段被隐藏,仅显示医嘱名称。正常药品选择流 程中 isEdit: true 后紧跟 expandOrder 展开 OrderForm 表单供编辑,但组套应用流 程未展开行,导致预填的组套明细值完全不可见。 修复:组套项带预填完整明细值,isEdit 设为 false,让表格列直接展示明细字段。 用户仍可双击行进入编辑模式修改。 Co-Authored-By: Claude Opus 4.7 --- .../src/views/inpatientDoctor/home/components/order/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue index 6dab13c2c..e74fd628d 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue @@ -1581,10 +1581,10 @@ function handleSaveGroup(orderGroupList) { therapyEnum: item.orderDetailInfos?.therapyEnum || '1', }; - // 预初始化空行 + // 预初始化空行(组套项带预填值,设为 false 让明细字段在表格中直接展示) prescriptionList.value[rowIndex.value] = { uniqueKey: nextId.value++, - isEdit: true, + isEdit: false, statusEnum: 1, };