From 63f8aca317590e888bc4dcd8280c766ffff8399f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com>
Date: Wed, 9 Oct 2024 13:58:30 +0800
Subject: [PATCH 1/6] =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=86=E7=BB=84?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/product/components/addGroup.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/product/components/addGroup.vue b/src/views/product/components/addGroup.vue
index faceeee..e4906eb 100644
--- a/src/views/product/components/addGroup.vue
+++ b/src/views/product/components/addGroup.vue
@@ -27,7 +27,7 @@
禁用
-
+
启用
禁用
@@ -51,7 +51,7 @@
-
+
From f3554b2b4af12969bc3c7d9996c52b4ebbf62073 Mon Sep 17 00:00:00 2001
From: duan <1004387497@qq.com>
Date: Wed, 9 Oct 2024 14:13:11 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8D=B0?=
=?UTF-8?q?=E6=9C=BA=E7=8A=B6=E6=80=81=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/devices.js | 11 +++++++++++
src/views/devices/devices_list.vue | 13 ++++++++-----
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/src/api/devices.js b/src/api/devices.js
index caef6ea..ed75171 100644
--- a/src/api/devices.js
+++ b/src/api/devices.js
@@ -14,7 +14,18 @@ export function tbPrintMachine(data, method = 'post') {
}
})
}
+// 打印机切换
+export function switchtbPrintMachine(data, method = 'post') {
+ return request({
+ url: '/api/shop-config/printer/update-status',
+ method: method,
+ data: {
+ shopId: localStorage.getItem('shopId'),
+ ...data
+ }
+ })
+}
/**
* 打印机列表
* @returns
diff --git a/src/views/devices/devices_list.vue b/src/views/devices/devices_list.vue
index 44b2dd2..fcd3210 100644
--- a/src/views/devices/devices_list.vue
+++ b/src/views/devices/devices_list.vue
@@ -54,8 +54,7 @@
- 编辑
+ 编辑
删除
@@ -75,7 +74,7 @@