From d74b844ee0190126f31e756289cdacf838ef01ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com>
Date: Sat, 27 Jul 2024 23:07:06 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BA=97=E9=93=BA=E5=95=86?=
=?UTF-8?q?=E5=93=81=E5=8F=8A=E5=88=86=E7=B1=BB=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 4 +-
src/api/shop/goodsCategory/model/index.ts | 2 +
src/components/SelectGoodsCategory/index.vue | 16 +-
src/views/shop/goods/components/goodsEdit.vue | 74 ++++-
src/views/shop/goods/components/search.vue | 2 +
src/views/shop/goods/index.vue | 34 +-
.../components/merchant-category-edit.vue | 292 ++++++++++++++++++
.../shop/goodsCategory/components/search.vue | 181 +++++++++++
src/views/shop/goodsCategory/index.vue | 64 ++--
src/views/shop/merchant/components/search.vue | 9 +-
src/views/shop/merchant/index.vue | 39 ++-
src/views/user/balance-log/index.vue | 42 +--
12 files changed, 677 insertions(+), 82 deletions(-)
create mode 100644 src/views/shop/goodsCategory/components/merchant-category-edit.vue
create mode 100644 src/views/shop/goodsCategory/components/search.vue
diff --git a/.env.development b/.env.development
index cd9000d..df3cbfc 100644
--- a/.env.development
+++ b/.env.development
@@ -1,7 +1,7 @@
VITE_APP_NAME=后台管理系统
VITE_SOCKET_URL=wss://server.gxwebsoft.com
VITE_SERVER_URL=https://server.gxwebsoft.com/api
-VITE_API_URL=https://modules.gxwebsoft.com/api
+#VITE_API_URL=https://modules.gxwebsoft.com/api
#VITE_SERVER_URL=http://127.0.0.1:9091/api
-#VITE_API_URL=http://127.0.0.1:9099/api
+VITE_API_URL=http://127.0.0.1:9099/api
diff --git a/src/api/shop/goodsCategory/model/index.ts b/src/api/shop/goodsCategory/model/index.ts
index 085d9b2..24000f3 100644
--- a/src/api/shop/goodsCategory/model/index.ts
+++ b/src/api/shop/goodsCategory/model/index.ts
@@ -52,6 +52,8 @@ export interface GoodsCategory {
label?: string;
// 子菜单
children?: GoodsCategory[];
+ // 商铺ID
+ merchantId?: number;
}
/**
diff --git a/src/components/SelectGoodsCategory/index.vue b/src/components/SelectGoodsCategory/index.vue
index 9ead2a0..c11aa46 100644
--- a/src/components/SelectGoodsCategory/index.vue
+++ b/src/components/SelectGoodsCategory/index.vue
@@ -12,11 +12,12 @@
+
+
diff --git a/src/views/shop/goodsCategory/components/search.vue b/src/views/shop/goodsCategory/components/search.vue
new file mode 100644
index 0000000..48140c0
--- /dev/null
+++ b/src/views/shop/goodsCategory/components/search.vue
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
+ 新建
+
+
+
+ 展开全部
+
+
+ 折叠全部
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/shop/goodsCategory/index.vue b/src/views/shop/goodsCategory/index.vue
index bd84544..286f0b7 100644
--- a/src/views/shop/goodsCategory/index.vue
+++ b/src/views/shop/goodsCategory/index.vue
@@ -18,28 +18,13 @@
@expand="onExpand"
>
-
-
-
-
-
- 新建
-
-
- 展开全部
-
-
- 折叠全部
-
-
-
-
+
@@ -66,9 +51,7 @@
style="margin-right: 10px"
v-if="record.image"
/>
- {{
- record.title
- }}
+ {{ record.title }}
@@ -110,19 +93,30 @@
-
+
+
+
diff --git a/src/views/shop/merchant/index.vue b/src/views/shop/merchant/index.vue
index 78760ed..53a47a8 100644
--- a/src/views/shop/merchant/index.vue
+++ b/src/views/shop/merchant/index.vue
@@ -30,8 +30,12 @@
- 门店用户分类
+
+ 商品
修改
@@ -55,7 +59,7 @@