From ca496bf0dbfafc155fe933a93f942aabf941627d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Fri, 11 Oct 2024 10:55:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=BD=AE=E7=81=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/unit.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/product/unit.vue b/src/views/product/unit.vue index d76a1e3..d5e021d 100644 --- a/src/views/product/unit.vue +++ b/src/views/product/unit.vue @@ -23,9 +23,11 @@ @@ -47,6 +49,7 @@ export default { }, data() { return { + ShopId: localStorage.getItem('shopId'), query: { blurry: '' }, From 0e030b29c10284e50a7b0002ae39dd6d4eb63a38 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Fri, 11 Oct 2024 14:51:27 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9C=BA=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/devices.js | 10 ++++-- src/views/devices/details.vue | 62 ++++++++++++++++++++++++++++------- 2 files changed, 58 insertions(+), 14 deletions(-) diff --git a/src/api/devices.js b/src/api/devices.js index ed75171..0f9ca7f 100644 --- a/src/api/devices.js +++ b/src/api/devices.js @@ -15,7 +15,6 @@ export function tbPrintMachine(data, method = 'post') { }) } // 打印机切换 - export function switchtbPrintMachine(data, method = 'post') { return request({ url: '/api/shop-config/printer/update-status', @@ -26,6 +25,14 @@ export function switchtbPrintMachine(data, method = 'post') { } }) } +// 打印机部分 +export function tbShopCategory(params) { + return request({ + url: '/api/tbShopCategory', + method: 'get', + params + }) +} /** * 打印机列表 * @returns @@ -35,7 +42,6 @@ export function tbPrintMachineGet(params) { url: '/api/shop-config/printer/list', method: 'get', params: { - ...params } }) diff --git a/src/views/devices/details.vue b/src/views/devices/details.vue index aba762f..0cc9f11 100644 --- a/src/views/devices/details.vue +++ b/src/views/devices/details.vue @@ -49,7 +49,13 @@ 部分分类 +
+ + +
+ 全部打印 @@ -97,7 +104,7 @@