From dd0d6a21cffb3b92a492047b5c78abecdbebbb9b Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Thu, 14 Aug 2025 10:31:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E7=94=A8=E6=88=B7=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hard/hard-mq.ts | 12 ++ src/views/hard/hard-order/index.vue | 2 +- .../supermarketerp/supermarketSpu/index.vue | 142 ++++++++---------- 3 files changed, 73 insertions(+), 83 deletions(-) create mode 100644 src/api/hard/hard-mq.ts diff --git a/src/api/hard/hard-mq.ts b/src/api/hard/hard-mq.ts new file mode 100644 index 0000000..af1f176 --- /dev/null +++ b/src/api/hard/hard-mq.ts @@ -0,0 +1,12 @@ +import request from "/@/utils/request" + +/** + * 同步超市消费机分类和商品变化 + */ +export function syncSupermarket(params: any) { + return request({ + url: "/hard/hard-sync/sync-supermarket", + method: "get", + params: params, + }) +} \ No newline at end of file diff --git a/src/views/hard/hard-order/index.vue b/src/views/hard/hard-order/index.vue index 8b9f97b..0ff3304 100644 --- a/src/views/hard/hard-order/index.vue +++ b/src/views/hard/hard-order/index.vue @@ -66,7 +66,7 @@ class="flex flex-col ml-2 items-start cursor-pointer hover:underline hover:text-blue-500"> {{ row.username }} {{ row.userMobile }} - {{ row.deptName }} + {{ row.userDeptName }}
diff --git a/src/views/supermarketerp/supermarketSpu/index.vue b/src/views/supermarketerp/supermarketSpu/index.vue index de3e174..419393c 100644 --- a/src/views/supermarketerp/supermarketSpu/index.vue +++ b/src/views/supermarketerp/supermarketSpu/index.vue @@ -8,12 +8,14 @@ - + - + @@ -30,79 +32,44 @@
- + 新 增 - + 删 除 - - + + 导入 - + 覆盖导入 - + 盘点导入 + + + 商品分类同步至消费机 + +
- + @@ -111,7 +78,8 @@ @@ -126,7 +94,8 @@ - +
- + - + - + + + diff --git a/src/views/canteen/boxesBooking/index.vue b/src/views/canteen/boxesBooking/index.vue index 94bda80..cf7d06d 100644 --- a/src/views/canteen/boxesBooking/index.vue +++ b/src/views/canteen/boxesBooking/index.vue @@ -3,11 +3,31 @@
- - + + - - + + + + + + + + + + + + + + + + 查询 @@ -52,32 +72,48 @@ - - - + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + +
diff --git a/src/views/canteen/boxesInfo/form.vue b/src/views/canteen/boxesInfo/form.vue index 6a76685..9436af4 100644 --- a/src/views/canteen/boxesInfo/form.vue +++ b/src/views/canteen/boxesInfo/form.vue @@ -1,45 +1,59 @@ + + +