优化最新版打印机逻辑
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user