优化最新版打印机逻辑

This commit is contained in:
gyq
2026-04-22 14:23:46 +08:00
parent fa67997c86
commit d5568c48d0
16 changed files with 2872 additions and 345 deletions

View File

@@ -129,14 +129,11 @@ async function submitHandleAjax() {
console.log('props.selecttype===', props.selecttype);
console.log('props.payType===', props.payType);
// return;
// 判断订单是否锁定
await goodsStore.isOrderLock({
table_code: goodsStore.orderListInfo.tableCode
})
if (props.selecttype == 0) {
// 判断订单是否锁定
await goodsStore.isOrderLock({
table_code: goodsStore.orderListInfo.tableCode
})
// 下单扫码支付
if (props.payType == 'scanCode') {
await microPay({
@@ -151,6 +148,7 @@ async function submitHandleAjax() {
});
}
} else if (props.selecttype == 1) {
console.log('进入会员扫码充值');
// 会员扫码充值
await microPayVip({
shopId: store.shopInfo.id,