From 48a9fee620dd473cb46a498eed4d892f10a6d44b Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 1 Jul 2024 11:05:35 +0800 Subject: [PATCH] 1 --- src/utils/EscPos.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/EscPos.js b/src/utils/EscPos.js index 64f5a2c..df1d8db 100644 --- a/src/utils/EscPos.js +++ b/src/utils/EscPos.js @@ -133,7 +133,8 @@ export const printTicket = (obj = {}, test = false) => { str += Esc.fillLine("=") + "\n"; - str += Esc.Left() + "合计: " + obj.total_price + "元" + "\n"; + // str += Esc.Left() + "合计: " + obj.total_price + "元" + "\n"; + str += Esc.Left() + "合计: " + obj.pay_price + "元" + "\n"; str += Esc.Left() + "实付款: " + obj.pay_price + "元" + "\n"; str += Esc.Left() + "支付方式: " + obj.pay_type_name + "\n"; // str += Esc.Left() + "支付单号: " + obj.order_id + "\n";