模板优化

This commit is contained in:
2025-05-20 10:40:49 +08:00
parent 651b92e296
commit 2238acad76
6 changed files with 104 additions and 276 deletions

View File

@@ -5,17 +5,23 @@
<title>门诊缴费凭证</title>
</head>
<body>
<div style="font-weight: 700;">
<div style="text-align: center;margin-top: 40px;">
<div><span style="font-size: 28px;text-align: center;">******<span
th:text="${hospitalName}"></span>******</span></div>
<div style="font-size: 38px; margin-top: 10px;"><span th:text="${registeTerminalName}"></span></div>
<div style="font-size: 38px; margin-top: 10px;"><span th:text="${registeType}"></span></div>
<div style="font-weight: bold;">
<div>
<div style="text-align: center; font-size: 31px; font-weight: bold;"><span th:text="${hospitalName}"></span>
</div>
<div style="text-align: center; font-weight: bold; font-size: 19px;">
****<span th:text="${registeTerminalName}"></span>****
</div>
<div style="font-size: 23px;text-align: center; font-weight: bold; margin-bottom: -10px; margin-top: -10px;">
-----------------------------------------------------------------------------
</div>
<div style="text-align: center; font-size: 31px; font-weight: bold;"><span th:text="${registeType}"></span>
</div>
<div style="font-size: 23px;text-align: center; font-weight: bold; margin-top: -15px;">
-----------------------------------------------------------------------------
</div>
</div>
<div style="text-align: center; font-size: 32px;">
-----------------------------------------------------------------------------
</div>
<div style="font-size: 35px;word-break: break-all;margin: 10px 20px;">
<div style="font-size: 26px;word-break: break-all;margin: 10px 20px;">
<div style="display: flex;">
<span style="margin-right: 25px;">姓名:<span th:text="${name}"></span></span>
<span style="margin-right: 25px;">性别:<span th:text="${gender}"></span></span>
@@ -31,29 +37,30 @@
<div style="margin-top: 10px;" th:if="${department}">就诊科室:<span th:text="${department}"></span>
</div>
</div>
<div style="text-align: center; font-size: 32px;">
<div style="text-align: center; font-size: 23px;">
-----------------------------------------------------------------------------
</div>
<div style="font-size: 35px; margin: 10px 20px">
<div style="font-size: 26px; margin: 10px 20px">
<div style="word-break: break-all;">
<span style="margin-right: 25px;">费用总额:<span th:text="${totalFee}"></span></span>
<span>个人支付:<span th:text="${personalPayment}"></span></span>
</div>
<div style="margin-top: 10px;word-break: break-all;"><span>实收金额:</span><span th:text="${actualReceiptAmount}"></span></div>
<div style="margin-top: 10px;word-break: break-all;"><span>实收金额:</span><span
th:text="${actualReceiptAmount}"></span></div>
<div style="margin-top: 10px;"><span>实收金额:</span><span th:text="${actualReceiptAmountChinese}"></span></div>
</div>
<div style="text-align: center; font-size: 32px;">
<div style="text-align: center; font-size: 23px;">
-----------------------------------------------------------------------------
</div>
<div style="margin: 10px 20px">
<table style="width: 100%; table-layout: fixed; border-collapse: collapse;">
<tr style="font-size: 35px;">
<tr style="font-size: 26px;">
<th style="width: 300px;text-align: left;">项目名称</th>
<th style="width: calc(25% - 5px);text-align: center;">数量</th>
<th style="width: calc(25% - 5px);text-align: center;">单价</th>
<th style="width: calc(25% - 5px);text-align: center;">小计</th>
</tr>
<tr style="font-size: 30px;word-break: break-all;" th:each="item : ${items}">
<tr style="font-size: 21px;word-break: break-all;" th:each="item : ${items}">
<td style="text-align: left;width: 300px;" th:text="${item.name}"></td>
<td style="text-align: center;" th:text="${item.quantity}"></td>
<td style="text-align: center;" th:text="${item.unitPrice}"></td>
@@ -61,14 +68,14 @@
</tr>
</table>
</div>
<div style="text-align: center; font-weight: 700; font-size: 32px;">
<div style="text-align: center; font-weight: bold; font-size: 23px;">
-----------------------------------------------------------------------------
</div>
<div style="margin-left: 20px; font-weight: 700; font-size: 35px;">
<div style="margin-left: 20px; font-weight: bold; font-size: 26px;">
<div>终端编号:<span th:text="${terminalNumber}"></span></div>
<div>打印时间:<span th:text="${printTime}"></span></div>
</div>
<div style="margin-left: 20px; font-size: 35px; font-weight: 700; margin-top: 20px;">
<div style="margin-left: 20px; font-size: 26px; font-weight: bold; margin-top: 20px;">
<span style="margin-top: 20px;">温馨提示</span><br>
<span>1.请取走全部凭条、并妥善保管</span><br>
<span>2.如果对缴费结算存在疑问,请到人工窗口咨询</span>