From 0dfe3a264725d5747cdc621756317516324a543f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=80=E5=BD=A7?= <荀彧@gentronhealth.com> Date: Thu, 14 May 2026 03:14:57 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#467:=20[=E4=BD=8F=E9=99=A2?= =?UTF-8?q?=E5=8C=BB=E7=94=9F=E5=B7=A5=E4=BD=9C=E7=AB=99-=E6=A3=80?= =?UTF-8?q?=E9=AA=8C=E7=94=B3=E8=AF=B7]=20=E5=88=97=E8=A1=A8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF=E4=B8=8D=E8=A7=84=E8=8C=83=EF=BC=9A?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=9C=AF=E8=AF=AD=E9=94=99=E8=AF=AF=E4=B8=94?= =?UTF-8?q?=E5=8D=95=E6=8D=AE=E5=90=8D=E7=A7=B0=E6=9C=AA=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=85=B7=E4=BD=93=E6=A3=80=E9=AA=8C=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 详情弹窗中"处方号"改为"申请单号",符合住院检验业务术语规范 2. 列表"申请单名称"列改为从 requestFormDetailList 动态构建: - 单一项目:显示"项目名称+数量" - 多个项目:显示"首项目名称+数量等X项" 解决此前统一显示"检验申请单"无法区分单据内容的问题 Co-Authored-By: Claude Opus 4.7 --- .../applicationShow/testApplication.vue | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue index 6da8c8f51..5ede68657 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue @@ -82,7 +82,11 @@ - + + + @@ -137,7 +141,7 @@ {{ currentDetail.createTime || '-' }} - {{ + {{ currentDetail.prescriptionNo || '-' }} {{ @@ -339,6 +343,24 @@ const parseSpecimenType = (descJson) => { } }; +/** + * 根据申请单详情构建申请单名称 + * 单一项目:显示项目名称+数量 + * 多个项目:显示首个项目名称+数量+"等X项" + */ +const buildApplicationName = (row) => { + const details = row.requestFormDetailList; + if (!details || details.length === 0) { + return row.name || '-'; + } + if (details.length === 1) { + const item = details[0]; + return `${item.adviceName}${item.quantity || ''}`; + } + const first = details[0]; + return `${first.adviceName}${first.quantity || ''}等${details.length}项`; +}; + const isFieldMatched = (key) => { return key in labelMap; };