From 0a4b901300008aaafb8f7d390ac442d2e6afb135 Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 22 May 2026 10:29:06 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#568:=20=E4=BF=AE=E5=A4=8D=E9=97=A8?= =?UTF-8?q?=E8=AF=8A=E6=97=A5=E7=BB=93=E9=A1=B5=E9=9D=A2=E6=8E=92=E7=89=88?= =?UTF-8?q?=E6=B7=B7=E4=B9=B1=E9=97=AE=E9=A2=98=20-=20=E4=BD=BF=E7=94=A8di?= =?UTF-8?q?v+CSS=20flexbox=E6=9B=BF=E4=BB=A3el-row=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用 div + CSS flexbox 替代 el-row/el-col 布局 - 添加 report-container/report-row/report-item 语义化类名 - 移除 float: right 导致的对齐错乱 - 使用 min-width 替代固定 width,自适应标签长度 - 添加分隔线区分不同费用类别 Co-Authored-By: Claude Opus 4.7 --- .../views/clinicmanagement/dayEnd/index.vue | 228 ++++++------------ 1 file changed, 68 insertions(+), 160 deletions(-) diff --git a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue index 59cdfc8e..6ce4ae83 100755 --- a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue @@ -38,160 +38,46 @@ -
- - - 经办人姓名: - {{ userStore.nickName }} - - - 科室: - {{ userStore.orgName }} - - - 时间: - {{ queryTime[0] + '~' + queryTime[1] }} - - +
+
门诊收费日结单
+
+
经办人姓名:{{ userStore.nickName }}
+
科室:{{ userStore.orgName }}
+
时间:{{ queryTime[0] + '~' + queryTime[1] }}
+
- - - 实际现金收入: - {{ formatValue(reportValue.cashSum) }} - - - 现金: - {{ formatValue(reportValue.rmbCashSum) }} - - - 微信: - {{ formatValue(reportValue.vxCashSum) }} - - - 支付宝: - {{ formatValue(reportValue.aliCashSum) }} - - +
+
实际现金收入:{{ formatValue(reportValue.cashSum) }}
+
现金:{{ formatValue(reportValue.rmbCashSum) }}
+
微信:{{ formatValue(reportValue.vxCashSum) }}
+
支付宝:{{ formatValue(reportValue.aliCashSum) }}
+
- - - 统筹支付: - {{ formatValue(reportValue.tcSum) }} - - - 账户支付: - {{ formatValue(reportValue.zhSum) }} - - - 基金支付总额: - {{ formatValue(reportValue.fundSum) }} - - +
+
统筹支付:{{ formatValue(reportValue.tcSum) }}
+
账户支付:{{ formatValue(reportValue.zhSum) }}
+
基金支付总额:{{ formatValue(reportValue.fundSum) }}
+
- - - 诊查费: - {{ formatValue(reportValue.DIAGNOSTIC_FEE) }} - - - 检查费: - {{ formatValue(reportValue.CHECK_FEE) }} - - - 化验费: - {{ formatValue(reportValue.DIAGNOSTIC_TEST_FEE) }} - - - 治疗费: - {{ formatValue(reportValue.MEDICAL_EXPENSE_FEE) }} - - - - - 西药费: - {{ formatValue(reportValue.WEST_MEDICINE) }} - - - 中药饮片费: - {{ formatValue(reportValue.CHINESE_MEDICINE_SLICES_FEE) }} - - - 中成药费: - {{ formatValue(reportValue.CHINESE_MEDICINE_FEE) }} - - - 卫生材料费: - {{ formatValue(reportValue.SANITARY_MATERIALS_FEE) }} - - - - - 诊疗费: - {{ formatValue(reportValue.GENERAL_CONSULTATION_FEE) }} - - - 挂号费: - {{ formatValue(reportValue.REGISTRATION_FEE) }} - - - 其他费用: - {{ formatValue(reportValue.OTHER_FEE) }} - - +
+
诊查费:{{ formatValue(reportValue.DIAGNOSTIC_FEE) }}
+
检查费:{{ formatValue(reportValue.CHECK_FEE) }}
+
化验费:{{ formatValue(reportValue.DIAGNOSTIC_TEST_FEE) }}
+
治疗费:{{ formatValue(reportValue.MEDICAL_EXPENSE_FEE) }}
+
+
+
+
西药费:{{ formatValue(reportValue.WEST_MEDICINE) }}
+
中药饮片费:{{ formatValue(reportValue.CHINESE_MEDICINE_SLICES_FEE) }}
+
中成药费:{{ formatValue(reportValue.CHINESE_MEDICINE_FEE) }}
+
卫生材料费:{{ formatValue(reportValue.SANITARY_MATERIALS_FEE) }}
+
+
+
+
诊疗费:{{ formatValue(reportValue.GENERAL_CONSULTATION_FEE) }}
+
挂号费:{{ formatValue(reportValue.REGISTRATION_FEE) }}
+
其他费用:{{ formatValue(reportValue.OTHER_FEE) }}
+
@@ -378,22 +264,44 @@ getPharmacyCabinetLists(); font-size: large; margin-bottom: 10px; } +.report-container { + max-width: 1200px; + padding: 0 20px; +} +.report-title { + text-align: center; + font-size: 18px; + font-weight: bold; + margin: 16px 0; +} +.report-row { + display: flex; + flex-wrap: wrap; + margin: 12px 0; + gap: 8px 0; +} +.report-item { + flex: 1; + display: flex; + align-items: center; + box-sizing: border-box; + padding-right: 16px; + margin-bottom: 8px; +} .label { - display: inline-block; - width: 120px !important; color: #606266; + white-space: nowrap; + min-width: 100px; + text-align: right; } .value { - float: right; color: #303133; font-weight: 500; -} -.el-col { - margin-right: 50px; + white-space: nowrap; } .divider { - height: 3px; - background-color: #000; - margin: 20px 0; + height: 1px; + background-color: #dcdfe6; + margin: 12px 0; }