wenjie vor 1 Jahr
Ursprung
Commit
ecc7e92aab

+ 1 - 1
src/utils/config.js

@@ -2,7 +2,7 @@
  * @Author: wj 1454560336@qq.com
  * @Date: 2024-01-05 16:08:18
  * @LastEditors: wenjie 1454560336@qq.com
- * @LastEditTime: 2024-04-08 09:05:56
+ * @LastEditTime: 2024-04-15 09:23:29
  * @FilePath: \admin-manage\src\utils\config.js
  * @Description: 124234
  * 

+ 1 - 1
src/views/operationManage/goodsType/index.vue

@@ -65,7 +65,7 @@
 
       <el-table-column prop="address" align="center" label="操作">
         <template slot-scope="scope">
-          <el-button type="text" size="small" v-if="$route.query.title != '三级分类'" @click="handle(scope.row.id)">查看下级</el-button>
+          <el-button type="text" size="small" v-if="!$route.query.id" @click="handle(scope.row.id)">查看下级</el-button>
           <el-button type="text" size="small" @click="handleEdit(scope.row)">编辑</el-button>
           <el-button type="text" size="small" @click="handleDel(scope.row.id)">删除</el-button>
         </template>

+ 12 - 1
src/views/operationManage/shopManage/shopAdd.vue

@@ -2,7 +2,7 @@
  * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
  * @Date: 2023-05-26 16:37:34
  * @LastEditors: wenjie 1454560336@qq.com
- * @LastEditTime: 2024-04-08 15:16:14
+ * @LastEditTime: 2024-04-15 16:07:14
  * @FilePath: \admin-manage\src\views\operationManage\shopManage\shopAdd.vue
  * @Description: 
  * 
@@ -130,6 +130,7 @@
           <el-checkbox label="801">研学商品</el-checkbox>
           <el-checkbox label="802">虚拟商品充值</el-checkbox>
           <el-checkbox label="803">餐饮商品</el-checkbox>
+          <el-checkbox label="809">贵大商品</el-checkbox>
         </el-checkbox-group>
       </el-form-item>
         <el-form-item label="经营商品分类:" prop="serviceCate">
@@ -138,6 +139,7 @@
         v-model="setQuery.serviceCate"
         :options="typeOptions"
         :props="{
+          multiple: true ,
           value:'id',
           label:'cateName',
           children:'child'
@@ -353,6 +355,15 @@ export default {
                if(that.map){
                  that.map.centerAndZoom(point, 16);
                  that.map.addOverlay(that.marker)
+                 myGeo.getLocation(new BMapGL.Point(point.lng, point.lat), function(result){      
+                    if (result){      
+                      console.log(result);
+                       // 选择营业地址时保存省市区
+                      that.setQuery.province = result.addressComponents.province;
+                      that.setQuery.city = result.addressComponents.city;
+                      that.setQuery.district = result.addressComponents.district;
+                    }      
+                });
                }
             }
         }, that.setQuery.city)