对接购物车

This commit is contained in:
gyq
2025-02-26 18:06:37 +08:00
parent 44144c5ac7
commit d3ed4ec8e6
27 changed files with 2589 additions and 1629 deletions

View File

@@ -33,19 +33,19 @@ export const usePrint = defineStore({
this.localDevices = arg;
});
// 获取已添加的小票打印机
this.deviceNoteList = await bySubType({
shopId: store.userInfo.shopId,
contentType: "local",
subType: "cash",
});
// // 获取已添加的小票打印机
// this.deviceNoteList = await bySubType({
// shopId: store.userInfo.shopId,
// contentType: "local",
// subType: "cash",
// });
// 获取已添加的标签打印机
this.deviceLableList = await bySubType({
shopId: store.userInfo.shopId,
contentType: "local",
subType: "label",
});
// // 获取已添加的标签打印机
// this.deviceLableList = await bySubType({
// shopId: store.userInfo.shopId,
// contentType: "local",
// subType: "label",
// });
console.log("打印队列初始化成功");
},
// 检查本地打印机是否能正常使用