1.订单重复打印问题

2.订单增加时间筛选
3.订单增加桌号展示
This commit is contained in:
gyq
2024-07-16 16:23:49 +08:00
parent 4543854d0a
commit aa25c6be3b
7 changed files with 33 additions and 223 deletions

View File

@@ -41,7 +41,7 @@ export const useSocket = defineStore({
function () {
if (this.ws.readyState == ReconnectingWebSocket.OPEN) return;
this.ws.reconnect();
console.log("11111");
// console.log("11111");
},
2000,
{ leading: true, trailing: false }
@@ -94,7 +94,7 @@ export const useSocket = defineStore({
// printBill(data)
// 打印标签小票
if (!this.orderList.some((el) => el == data.orderInfo.orderNo)) {
console.log("打印", data);
// console.log("打印", data);
printStore.labelPrint(data);
this.orderList.push(data.orderInfo.orderNo);
if (this.orderList.length > 30) {