diff --git a/fuintAdmin/src/assets/images/xpiao.png b/fuintAdmin/src/assets/images/xpiao.png index 654b3f7f9..cc1230dad 100644 Binary files a/fuintAdmin/src/assets/images/xpiao.png and b/fuintAdmin/src/assets/images/xpiao.png differ diff --git a/fuintAdmin/src/views/power/receiptPrint.vue b/fuintAdmin/src/views/power/receiptPrint.vue index 5f5bcfb64..3b8446a99 100644 --- a/fuintAdmin/src/views/power/receiptPrint.vue +++ b/fuintAdmin/src/views/power/receiptPrint.vue @@ -2,13 +2,17 @@
-
- +
+ +
+
+
{{form.storeName}}
{{form.title}}
注:会员充值、一件加油、收银台消费
-
+
+
订单编号:xf155666555
卡号:15xx858777
车牌号:鲁A7788
@@ -16,13 +20,15 @@
手机号:13583017106
余额:999
-
+
+
该区域为小票模板的固定排版
-
+
+
该区域为小票模板的固定排版 -
+
操作时间:2019-09-09 12:00:00
联系方式:13583017776
@@ -31,8 +37,13 @@
地址:xx街道
备注:{{form.remarks}}
-
- +
+
+ +
+
+
+ 谢谢惠顾,欢迎下次光临!
@@ -44,23 +55,6 @@ 不打印小票LOGO - - - -

抬头、脚注设置

@@ -72,7 +66,7 @@
小票类型 - 注:会员充值、一件加油、收银台消费 + 注:会员充值、一键加油、收银台消费
@@ -108,30 +102,62 @@ 自定义二维码 不打印二维码 - - - - - +
+ +
保存并同步更新小票样式
+
+ + + + +
+ +
+
+ 样例 +
+ + + + + +
@@ -157,6 +183,7 @@ export default { codeImage:'', title:'', foot:'', + codeContent:'', }, form2: { id:'', @@ -170,6 +197,7 @@ export default { codeImage:'', title:'', foot:'', + codeContent:'', }, logoSet: '', // 单选框的值, ding: '', @@ -245,6 +273,7 @@ export default { this.form2.codeImage= this.form.codeImage this.form2.title= this.form.title this.form2.foot= this.form.foot + this.form2.codeContent= this.form.codeContent return this.form2; } } @@ -253,6 +282,8 @@ export default { diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/xml/ReceiptPrintingMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/xml/ReceiptPrintingMapper.xml index 30757572e..04a0696f0 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/xml/ReceiptPrintingMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/xml/ReceiptPrintingMapper.xml @@ -17,7 +17,7 @@ order_number, member_card, plate_number, membership_level, phone_number, member_points, bottom_set, operate_time, contact_way, console_operator, address, remarks, code_set, code_image, - loge_image,store_id,create_name,create_time,create_by,update_time,update_by,print_template_top,print_template_down) + loge_image,store_id,create_name,create_time,create_by,update_time,update_by,print_template_top,print_template_down,code_content) VALUES (#{receiptPrinting.logoSet}, #{receiptPrinting.headfootSet}, #{receiptPrinting.shopName}, #{receiptPrinting.title}, #{receiptPrinting.receiptType}, #{receiptPrinting.foot}, #{receiptPrinting.topSet}, #{receiptPrinting.orderNumber}, #{receiptPrinting.memberCard}, #{receiptPrinting.plateNumber}, @@ -26,7 +26,7 @@ #{receiptPrinting.contactWay}, #{receiptPrinting.consoleOperator}, #{receiptPrinting.address}, #{receiptPrinting.remarks}, #{receiptPrinting.codeSet}, #{receiptPrinting.codeImage}, #{receiptPrinting.logeImage} , #{receiptPrinting.storeId}, #{receiptPrinting.createName}, #{receiptPrinting.createTime}, #{receiptPrinting.createBy} - , #{receiptPrinting.updateTime}, #{receiptPrinting.updateBy}, #{receiptPrinting.printTemplateTop}, #{receiptPrinting.printTemplateDown}) + , #{receiptPrinting.updateTime}, #{receiptPrinting.updateBy}, #{receiptPrinting.printTemplateTop}, #{receiptPrinting.printTemplateDown},#{receiptPrinting.codeContent}) ON DUPLICATE KEY UPDATE logo_set = #{receiptPrinting.logoSet}, headfoot_set = #{receiptPrinting.headfootSet}, shop_name = #{receiptPrinting.shopName}, title = #{receiptPrinting.title}, receipt_type = #{receiptPrinting.receiptType}, foot = #{receiptPrinting.foot}, @@ -38,6 +38,7 @@ address = #{receiptPrinting.address}, remarks = #{receiptPrinting.remarks}, code_set = #{receiptPrinting.codeSet}, code_image = #{receiptPrinting.codeImage},loge_image = #{receiptPrinting.logeImage},update_time = #{receiptPrinting.updateTime}, update_by = #{receiptPrinting.updateBy},print_template_top= #{receiptPrinting.printTemplateTop},print_template_down= #{receiptPrinting.printTemplateDown} + ,code_content=#{receiptPrinting.codeContent}