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 @@
- {{ supermarketCategory?.find((item: any) => item.id === scope.row.categoryId)?.name }}
+ {{supermarketCategory?.find((item: any) => item.id === scope.row.categoryId)?.name
+ }}
@@ -126,7 +94,8 @@
- {{ supermarketSupplier?.find((item: any) => item.supplierId == scope.row.supplierId)?.supplierName }}
+ {{supermarketSupplier?.find((item: any) => item.supplierId ==
+ scope.row.supplierId)?.supplierName}}
-
+
编辑
-
+
删除
-
+
-
+
-
+
-
+