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/details.vue b/src/views/devices/details.vue
index ecec043..aba762f 100644
--- a/src/views/devices/details.vue
+++ b/src/views/devices/details.vue
@@ -47,15 +47,15 @@
打印所有
部分分类
- 部分商品
+
-
+
顾客联+商家联「2张」
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 @@