From 6bfda4993e59ad2b31801225e3327cd96c47569e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com>
Date: Fri, 24 Oct 2025 09:30:56 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=95=86=E5=AE=B6=E5=85=A5?=
=?UTF-8?q?=E9=A9=BB=E9=A1=B5=E9=9D=A2=20=E5=95=86=E5=AE=B6=E5=88=86?=
=?UTF-8?q?=E7=B1=BB=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/shopEnter/index/index.vue | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
diff --git a/packages/shopEnter/index/index.vue b/packages/shopEnter/index/index.vue
index 4410d29c..53aa882f 100644
--- a/packages/shopEnter/index/index.vue
+++ b/packages/shopEnter/index/index.vue
@@ -49,7 +49,7 @@
商家分类
-
+
@@ -115,7 +115,7 @@
@cancel="cancelCity">
-
@@ -301,7 +301,7 @@ export default {
duration: 2000
});
}
- if (!that.confirmClassify.ad_code) {
+ if (!that.confirmClassify.id) {
return uni.showToast({
title: '请选择商家分类',
duration: 2000
@@ -327,7 +327,7 @@ export default {
facade_photo,
interior_photo,
license_photo,
- classify_code: that.confirmClassify.ad_code,
+ merchant_cate_id: that.confirmClassify.id,
}).then(res => {
that.contact_name = ''
that.contact_phone = ''
@@ -370,20 +370,9 @@ export default {
})
},
getClassify(e) {
- this.classify = [
- {
- ad_code: "1",
- short_name: "111"
- },
- {
- ad_code: "2",
- short_name: "222"
- },
- {
- ad_code: "3",
- short_name: "333"
- },
- ]
+ request(apiArr.getMerChantCateList, "POST", {}).then(res => {
+ this.classify = res.rows
+ })
},
},