优化长连接订单打印没有折扣的问题

This commit is contained in:
gyq
2024-10-16 17:00:23 +08:00
parent b1272852d8
commit 5805b1fd7c
2 changed files with 3 additions and 2 deletions

View File

@@ -159,6 +159,7 @@ export const usePrint = defineStore({
props.orderInfo.masterId = props.orderInfo.tableName;
}
props.orderInfo.outNumber = props.outNumber;
props.discountAmount = props.amount
this.receiptList.push(props);
this.startReceiptPrint();