From 038fedc8a0bfb61f0894b8879838001d3847aaa6 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 23 Dec 2025 18:06:57 +0800
Subject: [PATCH] 修改供需求发布报错 需求发布底部导航发布点击弹出需求和供应发布 后台链接添加商家列表链接

---
 supplier_vue/src/views/setting/supplier/index.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/supplier_vue/src/views/setting/supplier/index.vue b/supplier_vue/src/views/setting/supplier/index.vue
index f04b12f..045e964 100644
--- a/supplier_vue/src/views/setting/supplier/index.vue
+++ b/supplier_vue/src/views/setting/supplier/index.vue
@@ -25,12 +25,12 @@
         <el-form-item label="坐标">
           <el-row class="mb16">
             <el-col :span="24">
-              <el-input v-model="form.supplier.coordinate" class="max-w460"></el-input>
+              <el-input v-model="formData.coordinate" class="max-w460"></el-input>
             </el-col>
           </el-row>
           <el-row class="mb16">
             <el-col :span="24">
-              <Getpoint :form="form.supplier" @getMapdata="getMapdataFunc" @chose="choseFunc"></Getpoint>
+              <Getpoint :form="formData.supplier" @getMapdata="getMapdataFunc" @chose="choseFunc"></Getpoint>
             </el-col>
           </el-row>
         </el-form-item>
@@ -91,7 +91,8 @@
             description:'',
             logo_id:0,
             //business_id:0,
-            notice: ''
+            notice: '',
+            coordinate:''
           },
           /*是否打开图片选择*/
           isupload:false,
@@ -107,22 +108,22 @@
       methods:{
         /*初始化城市id*/
         initCity() {
-          this.form.supplier.city_id = ''
+          this.formData.city_id = ''
         },
 
         /*初始化区id*/
         initRegion() {
-          this.form.supplier.region_id = ''
+          this.formData.region_id = ''
         },
 
         /*获取经纬度*/
         getMapdataFunc(e) {
-          this.form.supplier.coordinate = e.data[0].toFixed(6) + ',' + e.data[1].toFixed(6);
+          this.formData.coordinate = e.data[0].toFixed(6) + ',' + e.data[1].toFixed(6);
         },
         /*选择的地址*/
         choseFunc(e){
-          this.form.supplier.coordinate=e.location.lat+','+e.location.lng;
-          this.form.supplier.address=e.address;
+          this.formData.coordinate=e.location.lat+','+e.location.lng;
+          this.formData.address=e.address;
 
         },
 

--
Gitblit v1.9.2