From 549d2529bcb81ab7c8205f6553fe8377cd4490d5 Mon Sep 17 00:00:00 2001 From: guanyu Date: Mon, 18 May 2026 13:33:41 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#541:=20=E5=BE=85=E7=AD=BE=E5=8F=91?= =?UTF-8?q?=E5=8C=BB=E5=98=B1=E5=8F=8C=E5=87=BB=E6=97=A0=E6=B3=95=E6=89=93?= =?UTF-8?q?=E5=BC=80=E7=BC=96=E8=BE=91=E7=95=8C=E9=9D=A2=20=E2=80=94=20?= =?UTF-8?q?=E6=A0=B9=E5=9B=A0=EF=BC=9AclickRowDb=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E4=B8=AD=E6=9D=A1=E4=BB=B6row.statusEnum=20=3D=3D=201=20&&=20!?= =?UTF-8?q?row.requestId=E5=8F=AA=E5=85=81=E8=AE=B8"=E5=BE=85=E4=BF=9D?= =?UTF-8?q?=E5=AD=98"=E5=8C=BB=E5=98=B1=E7=BC=96=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=8E=92=E9=99=A4=E4=BA=86"=E5=BE=85?= =?UTF-8?q?=E7=AD=BE=E5=8F=91"=E5=8C=BB=E5=98=B1=EF=BC=9B=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=EF=BC=9A=E6=94=B9=E4=B8=BArow.statusEnum=20=3D=3D=201?= =?UTF-8?q?=EF=BC=8C=E5=85=81=E8=AE=B8statusEnum=3D1=E7=9A=84=E6=89=80?= =?UTF-8?q?=E6=9C=89=E5=8C=BB=E5=98=B1=EF=BC=88=E5=BE=85=E4=BF=9D=E5=AD=98?= =?UTF-8?q?+=E5=BE=85=E7=AD=BE=E5=8F=91=EF=BC=89=E5=8F=8C=E5=87=BB?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E7=BC=96=E8=BE=91=E6=A8=A1=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=97=B6handleSaveSign=E5=B7=B2=E9=80=9A?= =?UTF-8?q?=E8=BF=87requestId/dbOpType=3D2=E6=AD=A3=E7=A1=AE=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=9B=B4=E6=96=B0=E9=80=BB=E8=BE=91=20Co-Authored-By:?= =?UTF-8?q?=20Claude=20Opus=204.7=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/inpatientDoctor/home/components/order/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 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 eae9f29e8..4ef02c14f 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 @@ -804,7 +804,7 @@ function checkUnit(item, row) { } } -// 行双击打开编辑块,仅待发送的可编辑 +// 行双击打开编辑块,"待保存"和"待签发"均可编辑 function clickRowDb(row, column, event) { // 检查点击的是否是复选框 if (event && event.target.closest('.el-checkbox')) { @@ -815,8 +815,8 @@ function clickRowDb(row, column, event) { return; } row.showPopover = false; - // “待签发(已保存 requestId存在)”不允许再编辑;仅“待保存(无requestId)”允许编辑 - if (row.statusEnum == 1 && !row.requestId) { + // statusEnum == 1 包含"待保存(无requestId)"和"待签发(有requestId)",均允许编辑 + if (row.statusEnum == 1) { // 确保治疗类型为字符串,方便与单选框 label 对齐,默认为长期医嘱('1') row.therapyEnum = String(row.therapyEnum ?? '1'); row.isEdit = true;