From 8adb80409e0ed09a61db28b6a72ddd317ee8fcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E6=96=87=E8=B4=A2?= Date: Tue, 20 May 2025 15:28:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ReceiptPrintController.java | 2 +- .../request/ReceiptPrintRequest.java | 4 +-- src/main/resources/templates/department.html | 30 +++++++++---------- .../resources/templates/hospitalPayment.html | 22 +++++++------- .../templates/outpatientPayment.html | 22 +++++++------- src/main/resources/templates/register.html | 26 ++++++++-------- 6 files changed, 53 insertions(+), 53 deletions(-) diff --git a/src/main/java/com/dpkj/modules/autoReplyPrint/controller/ReceiptPrintController.java b/src/main/java/com/dpkj/modules/autoReplyPrint/controller/ReceiptPrintController.java index 8ecd499..0038c50 100644 --- a/src/main/java/com/dpkj/modules/autoReplyPrint/controller/ReceiptPrintController.java +++ b/src/main/java/com/dpkj/modules/autoReplyPrint/controller/ReceiptPrintController.java @@ -74,7 +74,7 @@ public class ReceiptPrintController { int dinyHeight = 0; if (templateName.equals("department")) { - // 由于是使用的门诊小票-T2,那么默认的高度为1000,强行设置,通过动态修改渲染的图片的高度 + // 由于是使用的门诊小票-T2,那么默认的高度为1100,强行设置,通过动态修改渲染的图片的高度 height = 1100; // 单行最大长度为10 diff --git a/src/main/java/com/dpkj/modules/autoReplyPrint/request/ReceiptPrintRequest.java b/src/main/java/com/dpkj/modules/autoReplyPrint/request/ReceiptPrintRequest.java index e443c24..8d74957 100644 --- a/src/main/java/com/dpkj/modules/autoReplyPrint/request/ReceiptPrintRequest.java +++ b/src/main/java/com/dpkj/modules/autoReplyPrint/request/ReceiptPrintRequest.java @@ -47,12 +47,12 @@ public class ReceiptPrintRequest implements Serializable { /** * 小票渲染宽度,默认为:600 */ - private Integer width = 600; + private Integer width = 690; /** * 生成的模板的高度,默认为:950 */ - private Integer height = 950; + private Integer height = 1100; } diff --git a/src/main/resources/templates/department.html b/src/main/resources/templates/department.html index 502d7c7..11b5cf6 100644 --- a/src/main/resources/templates/department.html +++ b/src/main/resources/templates/department.html @@ -5,23 +5,23 @@ 门诊缴费凭证 -
+
-
+
-
+
********
-
+
-----------------------------------------------------------------------------
-
+
-
+
-----------------------------------------------------------------------------
-
+
姓名: 性别: @@ -37,10 +37,10 @@
就诊科室:
-
+
-----------------------------------------------------------------------------
-
+
费用总额: 个人支付: @@ -49,18 +49,18 @@ th:text="${actualReceiptAmount}">
实收金额:
-
+
-----------------------------------------------------------------------------
- + - + @@ -68,14 +68,14 @@
项目名称 数量 单价 小计
-
+
-----------------------------------------------------------------------------
-
+
终端编号:
打印时间:
-
+
温馨提示
1.请取走全部凭条、并妥善保管
2.如果对缴费结算存在疑问,请到人工窗口咨询 diff --git a/src/main/resources/templates/hospitalPayment.html b/src/main/resources/templates/hospitalPayment.html index c3a0948..edc02af 100644 --- a/src/main/resources/templates/hospitalPayment.html +++ b/src/main/resources/templates/hospitalPayment.html @@ -4,23 +4,23 @@ 挂号单 -
+
-
+
-
+
********
-
+
-----------------------------------------------------------------------------
-
+
-
+
-----------------------------------------------------------------------------
-
+
姓  名:
性  别:
年  龄:
@@ -29,14 +29,14 @@
入院科室:
总 费 用: 元
支付方式:
-
交易流水: +
交易流水:
-
备注:缴费凭证,请妥善保管!
-
终 端 号: +
备注:缴费凭证,请妥善保管!
+
终 端 号:
-
打印时间:
+
打印时间:
diff --git a/src/main/resources/templates/outpatientPayment.html b/src/main/resources/templates/outpatientPayment.html index d3f871b..52af7b1 100644 --- a/src/main/resources/templates/outpatientPayment.html +++ b/src/main/resources/templates/outpatientPayment.html @@ -4,37 +4,37 @@ 门诊缴费 -
+
-
+
-
+
********
-
+
-----------------------------------------------------------------------------
-
+
-
+
-----------------------------------------------------------------------------
-
+
姓  名:
性  别:
年  龄:
出生日期:
总 费 用: 元
支付方式:
-
交易流水: +
交易流水:
-
备注:缴费凭证,请妥善保管!
-
终 端 号: +
备注:缴费凭证,请妥善保管!
+
终 端 号:
-
打印时间:
+
打印时间:
diff --git a/src/main/resources/templates/register.html b/src/main/resources/templates/register.html index 16090d2..20358c4 100644 --- a/src/main/resources/templates/register.html +++ b/src/main/resources/templates/register.html @@ -4,23 +4,23 @@ 挂号单 -
+
-
+
-
- ******** +
+ ********
-
+
-----------------------------------------------------------------------------
-
+
-
+
-----------------------------------------------------------------------------
-
+
姓  名:
性  别:
年  龄:
@@ -41,14 +41,14 @@ alt="QR Code"/>
-
-
+
+
-----------------------------------------------------------------------------
-
备注:凭此条退费,请妥善保管!
-
终 端 号: +
备注:凭此条退费,请妥善保管!
+
终 端 号:
-
打印时间:
+
打印时间: