From d9913d218238f25e5d7f8f406b50b462ebe0994d Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 22 May 2026 12:16:41 +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=20-=20=E7=94=A8HTML=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3CSS=20Grid=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:CSS Grid的auto-fit/minmax+span-2在不同容器宽度下列数不可预测,导致对齐混乱。 修复:用HTML替代,表格天然保证列对齐,colspan处理跨越项。 Co-Authored-By: Claude Opus 4.7 --- .../views/clinicmanagement/dayEnd/index.vue | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue index 99318f77..d1bdd181 100755 --- a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue @@ -263,35 +263,6 @@ async function print() { await boundAsync .printReport(getPrintFileName(contractNo.value), jsonString) .then((response) => { - console.log(response, 'response'); - var res = JSON.parse(response); - if (!res.IsSuccess) { - proxy.$modal.msgError('调用打印插件失败:' + res.ErrorMessage); - } - }) - .catch((error) => { - proxy.$modal.msgError('调用打印插件失败:' + error); - }); -} - -function getPrintFileName(value) { - switch (value) { - case '0000': - return '门诊日结单(按登录角色查询)自费.grf'; - case '229900': - return '门诊日结单(按登录角色查询)省医保.grf'; - case '220100': - return '门诊日结单(按登录角色查询)市医保.grf'; - } -} - -function formatValue(value) { - return value == null || value == undefined ? '0.00 元' : value.toFixed(2) + ' 元'; -} - -getList(); -getPharmacyCabinetLists(); - +.section-title { + font-size: 15px; + font-weight: bold; + color: #303133; + margin: 8px 0; + padding-left: 8px; + border-left: 3px solid #409eff; +} .report-table { width: 100%; border-collapse: collapse;