1.手机扫码下单打印标签

2.PC桌面端下单打印标签
3.无需打开叫号窗口扫码叫号取餐
This commit is contained in:
gyq
2024-06-22 17:29:34 +08:00
parent 44495c3ee7
commit 328b512411
13 changed files with 212 additions and 50 deletions

View File

@@ -56,7 +56,9 @@ import { ref } from "vue";
import icon from "@/assets/icon_scan.png";
import { scanpay, queryOrder, quickPay, queryQuickPayStatus, accountPay, queryScanPay } from "@/api/pay";
import { useUser } from "@/store/user.js";
import { useGlobal } from '@/store/global.js'
const store = useUser();
const global = useGlobal()
import {
queryMembermember,
createMembermember,
@@ -167,6 +169,8 @@ function autoCheckOrder() {
function clearAutoCheckOrder() {
clearInterval(timer.value)
timer.value = null
// 开启叫号功能
global.updateData(true)
}
// 查询用户支付状态
@@ -296,6 +300,8 @@ function close() {
function reset() {
loading.value = false;
scanCode.value = "";
// 关闭叫号功能
global.updateData(false)
}
defineExpose({