From 85d254990f9b5050b805f116e42417347ad1be6b Mon Sep 17 00:00:00 2001 From: guanyu Date: Tue, 19 May 2026 14:05:56 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#552:=20=E5=8F=8C=E5=87=BB=E5=BE=85?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=8C=BB=E5=98=B1=E7=BC=96=E8=BE=91=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=90=8E=E4=B8=8D=E5=BA=94=E8=87=AA=E5=8A=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=A9=BA=E5=8C=BB=E5=98=B1=20=E2=80=94=20=E6=A0=B9?= =?UTF-8?q?=E5=9B=A0=EF=BC=9AhandleSaveSign=20=E4=B8=AD=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=A9=BA=E8=A1=8C=E7=9A=84=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=20isAdding.value=20=E5=88=A4=E6=96=AD?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4=E5=8F=8C=E5=87=BB=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=B7=B2=E6=9C=89=E5=BE=85=E4=BF=9D=E5=AD=98=E5=8C=BB=E5=98=B1?= =?UTF-8?q?=E4=B9=9F=E4=BC=9A=E8=A7=A6=E5=8F=91=20handleAddPrescription()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../src/views/inpatientDoctor/home/components/order/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 87e6b5a1..dcde8aa3 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 @@ -1397,7 +1397,9 @@ function handleSaveSign(row, index) { } }); } else { - if (prescriptionList.value[0].adviceName) { + // 仅通过【新增】按钮创建的医嘱保存后才自动添加下一行空医嘱 + // 双击编辑已有"待保存"医嘱保存时,不应自动添加空行 + if (isAdding.value && prescriptionList.value[0].adviceName) { handleAddPrescription(); } }