Commit cfe77fe9 by 冒粤蓉

fix

1 parent f1c207eb
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item class="special-shop-input" label="特约店" prop="specialShop"> <el-form-item class="special-shop-input" label="特约店" prop="specialShop">
<el-cascader <el-cascader
v-model="form.specialShopId" v-model="form.specialShopName"
:value="form.specialShopName" :value="form.specialShopName"
placeholder="请选择特约店名称" :placeholder="form.specialShopName || '请选择特约店名称'"
:options="specialShopOptions" :options="specialShopOptions"
:props="specialShopDefaultProps" :props="specialShopDefaultProps"
filterable filterable
...@@ -626,6 +626,7 @@ export default{ ...@@ -626,6 +626,7 @@ export default{
for(let key in data){ for(let key in data){
form[key] = data[key] form[key] = data[key]
} }
this.form.shapeType = 3;
this.form.dateRange = [form.startTime, form.endTime]; this.form.dateRange = [form.startTime, form.endTime];
this.areaCode = form.areaCode this.areaCode = form.areaCode
this.restainFenceName = form.fenceName; this.restainFenceName = form.fenceName;
...@@ -633,8 +634,9 @@ export default{ ...@@ -633,8 +634,9 @@ export default{
this.form.msgtel = data.telNumbers; this.form.msgtel = data.telNumbers;
this.form.specialShopId = data.shopId; this.form.specialShopId = data.shopId;
this.form.specialShopName = data.shopName; this.form.specialShopName = data.shopName;
this.form.specialShopCode = data.shopCode;
this.getFenceSnsList(id, '', data.snList) this.getFenceSnsList(id, '', data.snList)
if(form.shapeType === 1){ if(form.shapeType === 1){
this.mapData = { this.mapData = {
fenceType: 'circle', fenceType: 'circle',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!