1.优化会员扫码充值订单状态查询
This commit is contained in:
@@ -190,7 +190,10 @@ async function printOrderLable(isBefore = false) {
|
||||
if (printStore.deviceNoteList.length) {
|
||||
// 使用本地打印机打印
|
||||
const data = await getOrderByIdAjax(goodsStore.orderListInfo.id);
|
||||
printStore.labelPrint(commOrderPrintData(data))
|
||||
if (!isBefore) {
|
||||
// 预结算不打印标签
|
||||
printStore.labelPrint(commOrderPrintData(data))
|
||||
}
|
||||
printStore.pushReceiptData(commOrderPrintData({ ...data, isBefore: isBefore }));
|
||||
} else {
|
||||
// 本地没有可用打印机使用云打印机
|
||||
|
||||
Reference in New Issue
Block a user