1.订单重复打印问题
2.订单增加时间筛选 3.订单增加桌号展示
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user