模板优化

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

@ -8,7 +8,7 @@ import lombok.Getter;
public enum ReceiptTemplateEnum { public enum ReceiptTemplateEnum {
/** /**
* 挂号模板 * 挂号模板
*/ */
REGISTER("1", "register", "自助挂号的"), REGISTER("1", "register", "自助挂号的"),
@ -25,9 +25,7 @@ public enum ReceiptTemplateEnum {
/** /**
* 门诊缴费的模板 * 门诊缴费的模板
*/ */
OUTPATIENT_T2("4", "department", "门诊缴费的小票-T2"), OUTPATIENT_T2("4", "department", "门诊缴费的小票-T2");
;
private final String code; private final String code;
@ -36,7 +34,7 @@ public enum ReceiptTemplateEnum {
private final String desc; private final String desc;
ReceiptTemplateEnum(String code, String templateName, String desc){ ReceiptTemplateEnum(String code, String templateName, String desc) {
this.code = code; this.code = code;
this.templateName = templateName; this.templateName = templateName;
this.desc = desc; this.desc = desc;
@ -44,10 +42,11 @@ public enum ReceiptTemplateEnum {
/** /**
* 通过code获取模板名称 * 通过code获取模板名称
*
* @param code code/也有可能直接是一个名称 * @param code code/也有可能直接是一个名称
* @return 模板的名称 * @return 模板的名称
*/ */
public static String getTemplateName(String code){ public static String getTemplateName(String code) {
if (code == null || "".equals(code)) { if (code == null || "".equals(code)) {
throw new RRException("模板名称不能为空"); throw new RRException("模板名称不能为空");
} }
@ -55,7 +54,7 @@ public enum ReceiptTemplateEnum {
String name = null; String name = null;
for (ReceiptTemplateEnum enumEntity : ReceiptTemplateEnum.values()) { for (ReceiptTemplateEnum enumEntity : ReceiptTemplateEnum.values()) {
String enumCode = enumEntity.getCode(); String enumCode = enumEntity.getCode();
if ( enumCode.equals(code)){ if (enumCode.equals(code)) {
name = enumEntity.getTemplateName(); name = enumEntity.getTemplateName();
break; break;
} }

View File

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

View File

@ -1,188 +0,0 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
<meta charset="UTF-8">
<title>门诊缴费凭证</title>
<style>
.bold-text {
font-weight: 700;
}
.text-35 {
font-size: 35px;
}
.text-30 {
font-size: 30px;
}
.center-text {
text-align: center;
}
.margin-top-10 {
margin-top: 10px;
}
.margin-top-40 {
margin-top: 40px;
}
.header-title {
font-size: 28px;
}
.header-terminal {
font-size: 38px;
margin-top: 20px;
}
.header-receipt {
font-size: 38px;
margin-top: 10px;
}
.divider {
text-align: center;
font-weight: 700;
font-size: 32px;
}
.patient-info {
font-size: 35px;
margin: 10px 20px;
}
.patient-info .info-item {
flex: 1;
}
.patient-info .info-row {
display: flex;
}
.payment-info {
font-size: 35px;
margin: 10px 20px;
}
.payment-info .info-item {
flex: 1;
}
.payment-info .info-row {
display: flex;
}
.table-container {
margin: 10px 20px;
}
.table-container table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
.table-container .first-th {
width: 300px;
text-align: left;
}
.table-container .df-th {
width: calc(25% - 5px);
text-align: center;
}
.table-container .first-td {
text-align: left;
width: 300px;
word-break: break-all;
}
.table-container .df-td {
text-align: center;
}
.terminal-info {
margin-left: 20px;
font-weight: 700;
font-size: 35px;
}
.tips {
margin-left: 20px;
font-size: 35px;
font-weight: 700;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="bold-text">
<div class="center-text margin-top-40">
<div><span class="header-title">******<span th:text="${hospitalName}"></span>******</span></div>
<div class="header-terminal"><span th:text="${registeTerminalName}"></span></div>
<div class="header-receipt"><span th:text="${registeType}"></span></div>
</div>
<div class="divider">
-----------------------------------------------------------------------------
</div>
<div class="patient-info">
<div class="info-row">
<div class="info-item">姓名:<span th:text="${name}"></span></div>
<div class="info-item">性别:<span th:text="${gender}"></span></div>
<div class="info-item">年龄:<span th:text="${age}"></span></div>
</div>
<div class="info-row margin-top-10">
<div class="info-item" th:if="${outpatientNumber}">门诊号:<span th:text="${outpatientNumber}"></span></div>
<div class="info-item" th:if="${doctor}">就诊医生:<span th:text="${doctor}"></span></div>
</div>
<div class="margin-top-10" th:if="${department}">就诊科室:<span th:text="${department}"></span></div>
</div>
<div class="divider">
-----------------------------------------------------------------------------
</div>
<div class="payment-info">
<div class="info-row">
<div class="info-item">费用总额:<span th:text="${totalFee}"></span></div>
<div class="info-item">个人支付:<span th:text="${personalPayment}"></span></div>
</div>
<div class="margin-top-10">实收金额:<span th:text="${actualReceiptAmount}"></span></div>
<div class="margin-top-10">实收金额:<span th:text="${actualReceiptAmountChinese}"></span></div>
</div>
<div class="divider">
-----------------------------------------------------------------------------
</div>
<div class="table-container">
<table>
<tr class="text-35">
<th class="first-th">项目名称</th>
<th class="df-th">数量</th>
<th class="df-th">单价</th>
<th class="df-th">小计</th>
</tr>
<tr class="text-30" th:each="item : ${items}">
<td class="first-td" th:text="${item.name}"></td>
<td class="df-td" th:text="${item.quantity}"></td>
<td class="df-td" th:text="${item.unitPrice}"></td>
<td class="df-td" th:text="${item.subtotal}"></td>
</tr>
</table>
</div>
<div class="divider">
-----------------------------------------------------------------------------
</div>
<div class="terminal-info">
<div>终端编号:<span th:text="${terminalNumber}"></span></div>
<div>打印时间:<span th:text="${printTime}"></span></div>
</div>
<div class="tips">
<span>温馨提示</span><br>
<span>1.请取走全部凭条、并妥善保管</span><br>
<span>2.如果对缴费结算存在疑问,请到人工窗口咨询</span>
</div>
</div>
</body>
</html>

View File

@ -4,15 +4,23 @@
<title>挂号单</title> <title>挂号单</title>
</head> </head>
<body> <body>
<div style="font-size: 32px; margin-top: 20px;"> <div style="font-size: 23px; margin-top: 20px;">
<div style=""> <div>
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${hospitalName}"></span></div> <div style="text-align: center; font-size: 31px; font-weight: bold;"><span th:text="${hospitalName}"></span>
<div style="text-align: center; font-weight: 700; font-size: 28px;">****<span th:text="${registeTerminalName}"></span></span>****</div> </div>
<div style="text-align: center; font-weight: 700; margin-bottom: -10px; margin-top: -10px;">-----------------------------------------------------------------------------</div> <div style="text-align: center; font-weight: bold; font-size: 19px;">
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${registeType}"></span></div> ****<span th:text="${registeTerminalName}"></span>****
<div style="text-align: center; font-weight: 700; margin-top: -15px;">-----------------------------------------------------------------------------</div> </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>
<div style="font-weight: 700; font-size: 37px;"> <div style="font-weight: bold; font-size: 28px;">
<div style="margin-left: 35px;">&emsp;&emsp;名:<span th:text="${name}"></span></div> <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="${gender}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div> <div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div>
@ -21,13 +29,14 @@
<div style="margin-left: 35px;">入院科室:<span th:text="${department}"></span></div> <div style="margin-left: 35px;">入院科室:<span th:text="${department}"></span></div>
<div style="margin-left: 35px;">&ensp;&ensp;用:<span th:text="${totalFee}"></span>&thinsp;</div> <div style="margin-left: 35px;">&ensp;&ensp;用:<span th:text="${totalFee}"></span>&thinsp;</div>
<div style="margin-left: 35px;">支付方式:<span th:text="${paymentMethod}"></span></div> <div style="margin-left: 35px;">支付方式:<span th:text="${paymentMethod}"></span></div>
<div style="margin-left: 35px;">交易流水:<span style="font-size: 35px;" th:text="${transactionNumber}"></span></div> <div style="margin-left: 35px;">交易流水:<span style="font-size: 26px;" th:text="${transactionNumber}"></span>
</div>
</div> </div>
<div style="font-weight: 700; margin-top: 8px;"> <div style="font-weight: bold; margin-top: 8px;">
<!-- <div style="margin-top: -40px; text-align: center; ">-&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;</div>--> <div style="font-size: 27px;margin-left: 35px; ">备注:缴费凭证,请妥善保管!</div>
<div style="font-size: 36px;margin-left: 35px; ">备注:缴费凭证,请妥善保管!</div> <div style="font-size: 27px;margin-left: 35px;">&ensp;&ensp;号:<span th:text="${terminalNumber}"></span>
<div style="font-size: 36px;margin-left: 35px;">&ensp;&ensp;号:<span th:text="${terminalNumber}"></span></div> </div>
<div style="font-size: 36px;margin-left: 35px;">打印时间:<span th:text="${printTime}"></span></div> <div style="font-size: 27px;margin-left: 35px;">打印时间:<span th:text="${printTime}"></span></div>
</div> </div>
</div> </div>
</body> </body>

View File

@ -4,28 +4,37 @@
<title>门诊缴费</title> <title>门诊缴费</title>
</head> </head>
<body> <body>
<div style="font-size: 32px; margin-top: 20px;"> <div style="font-size: 23px; margin-top: 20px;">
<div style=""> <div>
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${hospitalName}"></span></div> <div style="text-align: center; font-size: 31px; font-weight: bold;"><span th:text="${hospitalName}"></span>
<div style="text-align: center; font-weight: 700; font-size: 28px;">****<span th:text="${registeTerminalName}"></span></span>****</div> </div>
<div style="text-align: center; font-weight: 700; margin-bottom: -10px; margin-top: -10px;">-----------------------------------------------------------------------------</div> <div style="text-align: center; font-weight: bold; font-size: 19px;">
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${registeType}"></span></div> ****<span th:text="${registeTerminalName}"></span>****
<div style="text-align: center; font-weight: 700; margin-top: -15px;">-----------------------------------------------------------------------------</div> </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>
<div style="font-weight: 700; font-size: 37px;"> <div style="font-weight: bold; font-size: 28px;">
<div style="margin-left: 35px;">&emsp;&emsp;名:<span th:text="${name}"></span></div> <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="${gender}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div> <div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div>
<div style="margin-left: 35px;">出生日期:<span th:text="${birthDate}"></span></div> <div style="margin-left: 35px;">出生日期:<span th:text="${birthDate}"></span></div>
<div style="margin-left: 35px;">&ensp;&ensp;用:<span th:text="${totalFee}"></span>&thinsp;</div> <div style="margin-left: 35px;">&ensp;&ensp;用:<span th:text="${totalFee}"></span>&thinsp;</div>
<div style="margin-left: 35px;">支付方式:<span th:text="${paymentMethod}"></span></div> <div style="margin-left: 35px;">支付方式:<span th:text="${paymentMethod}"></span></div>
<div style="margin-left: 35px;">交易流水:<span style="font-size: 35px;" th:text="${transactionNumber}"></span></div> <div style="margin-left: 35px;">交易流水:<span style="font-size: 26px;" th:text="${transactionNumber}"></span>
</div>
</div> </div>
<div style="font-weight: 700; margin-top: 8px;"> <div style="font-weight: bold; margin-top: 8px;">
<!-- <div style="margin-top: -40px; text-align: center; ">-&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;</div>--> <div style="font-size: 27px;margin-left: 35px; ">备注:缴费凭证,请妥善保管!</div>
<div style="font-size: 36px;margin-left: 35px; ">备注:缴费凭证,请妥善保管!</div> <div style="font-size: 27px;margin-left: 35px;">&ensp;&ensp;号:<span th:text="${terminalNumber}"></span>
<div style="font-size: 36px;margin-left: 35px;">&ensp;&ensp;号:<span th:text="${terminalNumber}"></span></div> </div>
<div style="font-size: 36px;margin-left: 35px;">打印时间:<span th:text="${printTime}"></span></div> <div style="font-size: 27px;margin-left: 35px;">打印时间:<span th:text="${printTime}"></span></div>
</div> </div>
</div> </div>
</body> </body>

View File

@ -3,38 +3,28 @@
<head> <head>
<title>挂号单</title> <title>挂号单</title>
</head> </head>
<style>
.x-center {
text-align: center;
}
.x-start {
text-align: left;
}
.x-end {
text-align: right;
}
.x-bold {
font-weight: 700;
}
</style>
<body> <body>
<div style="font-size: 32px; margin-top: 20px;"> <div style="font-size: 23px; margin-top: 12px;">
<div style=""> <div>
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${hospitalName}"></span></div> <div style="text-align: center; font-size: 31px; font-weight: bold;"><span th:text="${hospitalName}"></span>
<div style="text-align: center; font-weight: 700; font-size: 28px;">****<span th:text="${registeTerminalName}"></span></span>****</div> </div>
<div style="text-align: center; font-weight: 700; margin-bottom: -10px; margin-top: -10px;">-----------------------------------------------------------------------------</div> <div style="text-align: center; font-weight: bold; font-size: 19px;">
<div style="text-align: center; font-size: 40px; font-weight: 700;"><span th:text="${registeType}"></span></div> ****<span th:text="${registeTerminalName}"></span>****
<div style="text-align: center; font-weight: 700; margin-top: -15px;">-----------------------------------------------------------------------------</div> </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>
<div style="font-weight: 700; font-size: 37px;"> <div style="font-weight: bold; font-size: 28px;">
<div style="margin-left: 35px;">&emsp;&emsp;名:<span th:text="${name}"></span></div> <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="${gender}"></span></div>
<div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div> <div style="margin-left: 35px;">&emsp;&emsp;龄:<span th:text="${age}"></span></div>
<div style="margin-left: 35px;">出生日期:<span th:text="${birthDate}"></span></div> <div style="margin-left: 35px;">出生日期:<span th:text="${birthDate}"></span></div>
<!-- <div style="margin-left: 35px;">卡&emsp;&emsp;号:<span th:text="${cardNumber}"></span></div>-->
<div style="margin-left: 35px;">&ensp;&ensp;号:<span th:text="${outpatientNumber}"></span></div> <div style="margin-left: 35px;">&ensp;&ensp;号:<span th:text="${outpatientNumber}"></span></div>
<div style="margin-left: 35px;">就诊科室:<span th:text="${department}"></span></div> <div style="margin-left: 35px;">就诊科室:<span th:text="${department}"></span></div>
<div style="margin-left: 35px;">出诊级别:<span th:text="${visitLevel}"></span></div> <div style="margin-left: 35px;">出诊级别:<span th:text="${visitLevel}"></span></div>
@ -43,20 +33,22 @@
<div style="margin-left: 35px;">挂号日期:<span th:text="${registerDate}"></span></div> <div style="margin-left: 35px;">挂号日期:<span th:text="${registerDate}"></span></div>
<div style="margin-left: 35px;">&ensp;&ensp;用:<span th:text="${totalFee}"></span>&thinsp;</div> <div style="margin-left: 35px;">&ensp;&ensp;用:<span th:text="${totalFee}"></span>&thinsp;</div>
<div style="margin-left: 35px;">支付方式:<span th:text="${paymentMethod}"></span></div> <div style="margin-left: 35px;">支付方式:<span th:text="${paymentMethod}"></span></div>
<!-- <div style="margin-left: 35px;">订&ensp;单&ensp;号:<span style="font-size: 36px;" th:text="${orderNumber}"></span></div>--> <div style="margin-left: 35px;">交易流水:<span style="font-size: 26px;"
<div style="margin-left: 35px;">交易流水:<span style="font-size: 35px;"
th:text="${transactionNumber}"></span></div> th:text="${transactionNumber}"></span></div>
<div style="width: 100%; text-align: center; margin-bottom: -20px;"> <div style="width: 100%; text-align: center; margin-bottom: -20px;">
<img style="display: inline-block; " <img style="display: inline-block; "
th:src="${qrCodeBase64}" th:src="${qrCodeBase64}"
alt="QR Code" /> alt="QR Code"/>
</div> </div>
</div> </div>
<div style="font-weight: 700; margin-top: 8px;"> <div style="font-weight: bold; margin-top: 8px;">
<div style="margin-top: -40px; text-align: center; ">-----------------------------------------------------------------------------</div> <div style="font-size: 23px;margin-top: -40px; text-align: center; ">
<div style="font-size: 36px;margin-left: 35px; ">备注:凭此条退费,请妥善保管!</div> -----------------------------------------------------------------------------
<div style="font-size: 36px;margin-left: 35px;">&ensp;&ensp;号:<span th:text="${terminalNumber}"></span></div> </div>
<div style="font-size: 36px;margin-left: 35px;">打印时间:<span th:text="${printTime}"></span></div> <div style="font-size: 27px;margin-left: 35px; ">备注:凭此条退费,请妥善保管!</div>
<div style="font-size: 27px;margin-left: 35px;">&ensp;&ensp;号:<span th:text="${terminalNumber}"></span>
</div>
<div style="font-size: 27px;margin-left: 35px;">打印时间:<span th:text="${printTime}"></span></div>
</div> </div>
</div> </div>
</body> </body>