|
@@ -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)
|