This commit is contained in:
weipengfei 2024-07-01 11:05:35 +08:00
parent 06573b8e0d
commit 48a9fee620
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,8 @@ export const printTicket = (obj = {}, test = false) => {
str += Esc.fillLine("=") + "\n"; 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_price + "元" + "\n";
str += Esc.Left() + "支付方式: " + obj.pay_type_name + "\n"; str += Esc.Left() + "支付方式: " + obj.pay_type_name + "\n";
// str += Esc.Left() + "支付单号: " + obj.order_id + "\n"; // str += Esc.Left() + "支付单号: " + obj.order_id + "\n";