diff --git a/package.json b/package.json
index 97b1779..873eed4 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "vite-electron",
"private": true,
- "version": "1.3.12",
+ "version": "1.3.14",
"main": "dist-electron/main.js",
"scripts": {
"dev": "chcp 65001 && vite",
diff --git a/public/tag_print.html b/public/tag_print.html
index 321281f..a3d68ea 100644
--- a/public/tag_print.html
+++ b/public/tag_print.html
@@ -18,12 +18,12 @@
-
{{data.outNumber}}
-
座位号:{{data.masterId}}
+
{{data.outNumber}}
+
座位号:{{data.masterId}}
{{data.name}}
-
【{{data.skuName}}】
+
【{{data.skuName}}】
{{data.createdAt}}
建议尽快享用,风味更佳 {{ data.count }}
diff --git a/src/views/home/components/settleAccount.vue b/src/views/home/components/settleAccount.vue
index 57a6225..a5f2264 100644
--- a/src/views/home/components/settleAccount.vue
+++ b/src/views/home/components/settleAccount.vue
@@ -226,14 +226,14 @@ const printLabel = (list) => {
async function printHandle() {
try {
if (!isPrint.value) return;
- if (printList.value.length) {
+ if (printLabelList.value.length) {
const data = {
shop_name: store.userInfo.merchantName,
carts: props.cart,
amount: props.amount,
remark: props.remark,
orderInfo: props.orderInfo,
- deviceName: printList.value[0].config.deviceName,
+ deviceName: printLabelList.value[0].config.deviceName,
createdAt: dayjs(props.orderInfo.createdAt).format(
"YYYY-MM-DD HH:mm:ss"
),