fix:优化界面

This commit is contained in:
2025-03-26 23:21:19 +08:00
parent 4fbc844ddd
commit 9e13e1eaf0
8 changed files with 107 additions and 22 deletions

View File

@@ -7,50 +7,50 @@
<body>
<div style="font-weight: 700;">
<div style="text-align: center;margin-top: 40px;">
<div><span style="font-size: 28px;">******<span th:text="${hospitalName}"></span>******</span></div>
<div style="font-size: 38px; margin-top: 20px;"><span th:text="${registeTerminalName}"></span></div>
<div style="font-size: 38px; margin-top: 10px;"><span th:text="${registeType}"></span></div>
<div><span style="font-size: 28px;">******<span th:text="${registeTerminalName}"></span>******</span></div>
<div style="font-size: 32px; margin-top: 20px;"><span th:text="${hospitalName}"></span></div>
<div style="font-size: 32px; margin-top: 10px;"><span th:text="${registeType}"></span></div>
</div>
<div style="text-align: center; font-weight: 700; font-size: 32px;">-----------------------------------------------------------------------------</div>
<div style="margin-left: 20px; font-size: 35px; margin-bottom: 10px; display: flex">
<div style="margin-left: 20px; font-size: 28px; margin-bottom: 10px; display: flex">
<div style="flex: 1; margin-top: 10px; ">
姓名:<span style="margin-right: 40px;" th:text="${name}"></span>
性别:<span style="margin-right: 40px;" th:text="${gender}"></span>
年龄:<span style="margin-right: 40px;" th:text="${age}"></span>
姓名:<span style="margin-right: 25px;" th:text="${name}"></span><br>
性别:<span style="margin-right: 25px;" th:text="${gender}"></span>
年龄:<span style="margin-right: 25px;" th:text="${age}"></span>
</div>
<div th:if="${outpatientNumber}" style="flex: 1; margin-top: 10px; margin-right: 15px;">门诊号:<span th:text="${outpatientNumber}"></span></div>
<div th:if="${doctor}" style="flex: 1; margin-top: 10px; margin-right: 15px;">就诊医生:<span th:text="${doctor}"></span></div>
<div th:if="${department}" style="flex: 1; margin-top: 10px;">就诊科室:<span th:text="${department}"></span></div>
</div>
<div style="text-align: center; font-weight: 700; font-size: 32px;">-----------------------------------------------------------------------------</div>
<div style="margin-left: 20px; font-size: 35px; margin-bottom: 20px; ">
<div style="text-align: center; font-weight: 700; font-size: 28px;">-----------------------------------------------------------------------------</div>
<div style="margin-left: 20px; font-size: 28px; margin-bottom: 20px; ">
<div style="margin-top: 20px; ">费用总额:<span style="margin-right: 30px;" th:text="${totalFee}"></span> 个人支付:<span th:text="${personalPayment}"></span></div>
<div style="margin-top: 10px;">实收金额:<span style="font-weight: 700;" th:text="${actualReceiptAmount}"></span></div>
<div style="margin-top: 10px;">实收金额:<span style="font-weight: 700;" th:text="${actualReceiptAmountChinese}"></span></div>
</div>
<div style="text-align: center; font-weight: 700; font-size: 32px;">-----------------------------------------------------------------------------</div>
<div style="text-align: center; font-weight: 700; font-size: 24px;">-----------------------------------------------------------------------------</div>
<div style="margin-left: 20px; margin-top: 10px; ">
<table border="0" style="font-size: 30px;">
<tr style="font-size: 34px; ">
<table border="0" >
<tr style="font-size: 28px; ">
<th >项目名称</th>
<th >数量</th>
<th >单价</th>
<th >小计</th>
</tr>
<tr th:each="item : ${items}" style="height: 50px;">
<td style=" width: 310px; word-break: break-all;" th:text="${item.name}"></td>
<td th:text="${item.quantity}"></td>
<td style=" width: 310px; word-break: break-all; margin-right: 10px;" th:text="${item.name}"></td>
<td style="margin-left: 5px;" th:text="${item.quantity}"></td>
<td th:text="${item.unitPrice}"></td>
<td th:text="${item.subtotal}"></td>
</tr>
</table>
</div>
<div style="text-align: center; font-weight: 700; font-size: 32px;">-----------------------------------------------------------------------------</div>
<div style="margin-left: 20px; font-weight: 700; font-size: 35px;">
<div style="margin-left: 20px; font-weight: 700; font-size: 32px;">
<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: 32px; font-weight: 700; margin-top: 20px;">
<span style="margin-top: 20px;">温馨提示</span><br>
<span>1.请取走全部凭条、并妥善保管</span><br>
<span>2.如果对缴费结算存在疑问,请到人工窗口咨询</span>

View File

@@ -12,7 +12,7 @@
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${registeType}"></span></div>
<div style="text-align: center; font-weight: 700; margin-top: -15px;">-----------------------------------------------------------------------------</div>
</div>
<div style="font-weight: 700; font-size: 37px;">
<div style="font-weight: 700; font-size: 32px;">
<div style="margin-left: 35px;">&emsp;&emsp;名:<span th:text="${name}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;别:<span th:text="${gender}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div>

View File

@@ -12,7 +12,7 @@
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${registeType}"></span></div>
<div style="text-align: center; font-weight: 700; margin-top: -15px;">-----------------------------------------------------------------------------</div>
</div>
<div style="font-weight: 700; font-size: 37px;">
<div style="font-weight: 700; font-size: 32px;">
<div style="margin-left: 35px;">&emsp;&emsp;名:<span th:text="${name}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;别:<span th:text="${gender}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div>

View File

@@ -29,7 +29,7 @@
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${registeType}"></span></div>
<div style="text-align: center; font-weight: 700; margin-top: -15px;">-----------------------------------------------------------------------------</div>
</div>
<div style="font-weight: 700; font-size: 37px;">
<div style="font-weight: 700; font-size: 32px;">
<div style="margin-left: 35px;">&emsp;&emsp;名:<span th:text="${name}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;别:<span th:text="${gender}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div>