From 57206c4ad637d93de85b0465276c58110e574acb Mon Sep 17 00:00:00 2001 From: sw <17615834396@163.com> Date: Tue, 5 Nov 2024 15:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=B9=E7=AB=99=E8=B4=A2=E5=8A=A1=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=EF=BC=8C=E4=BA=A4=E6=98=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../printer/mapper/xml/PrintDeviceInfoMapper.xml | 2 +- .../printer/template/PrintOilOrderReport.java | 14 +++++++------- .../cashier/orderComponents/order_Cashier.vue | 11 ++++++----- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml index 87de25153..7e07aa89c 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/mapper/xml/PrintDeviceInfoMapper.xml @@ -142,7 +142,7 @@ diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java index 96dcf0c11..7bab58274 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/template/PrintOilOrderReport.java @@ -154,9 +154,9 @@ public class PrintOilOrderReport { sb.append(""); List> o = (List>)handover.get("oilOrder"); - for (Map stringStringMap : o) { - sb.append(""); - sb.append(""); + for (Map stringStringMap1 : o) { + sb.append(""); + sb.append(""); } sb.append("
油品金额
"+stringStringMap.get("oilName")+"¥"+ stringStringMap.get("amount")+"
"+stringStringMap1.get("oilName")+"¥"+ stringStringMap1.get("amount")+"
"); sb.append("--------------------------------\r\n"); @@ -165,11 +165,11 @@ public class PrintOilOrderReport { if (ObjectUtil.isNotEmpty(handover.get("goodsOrder"))) { sb.append(""); List> o = (List>)handover.get("goodsOrder"); - for (Map stringStringMap : o) { - sb.append(""); - sb.append(""); + for (Map stringStringMap2 : o) { + sb.append(""); + sb.append(""); - sb.append(""); + sb.append(""); } sb.append("
商品数量单价
"+stringStringMap.get("oilName")+""+stringStringMap.get("unit")+"
"+stringStringMap2.get("oilName")+""+stringStringMap2.get("unit")+""+ stringStringMap.get("amount")+"
"+ stringStringMap2.get("amount")+"
"); sb.append("--------------------------------\r\n"); diff --git a/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue b/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue index 580f1e1e5..7b6ad13b4 100644 --- a/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue +++ b/fuintCashierWeb/src/views/cashier/orderComponents/order_Cashier.vue @@ -186,7 +186,7 @@