|
@@ -53,10 +53,7 @@ export default {
|
|
|
floor: '',
|
|
floor: '',
|
|
|
showAddress:''
|
|
showAddress:''
|
|
|
},
|
|
},
|
|
|
- region: {
|
|
|
|
|
- lat: 0,
|
|
|
|
|
- long: 0
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ region:{lat:'',long:''},
|
|
|
regionData: [],
|
|
regionData: [],
|
|
|
cityPickerValueDefault: [0, 0]
|
|
cityPickerValueDefault: [0, 0]
|
|
|
}
|
|
}
|
|
@@ -88,13 +85,13 @@ export default {
|
|
|
this.form.city = e.cityName
|
|
this.form.city = e.cityName
|
|
|
this.form.address = ''
|
|
this.form.address = ''
|
|
|
this.form.showAddress = ''
|
|
this.form.showAddress = ''
|
|
|
- this.region.lat = 0
|
|
|
|
|
- this.region.long = 0
|
|
|
|
|
|
|
+ this.region.lat = ''
|
|
|
|
|
+ this.region.long = ''
|
|
|
},
|
|
},
|
|
|
confirmFn() {
|
|
confirmFn() {
|
|
|
let that = this
|
|
let that = this
|
|
|
- this.region.long = 10
|
|
|
|
|
- this.region.long = 11
|
|
|
|
|
|
|
+ this.region.long = ''
|
|
|
|
|
+ this.region.long = ''
|
|
|
this.form.showAddress = this.form.city+this.form.address+this.form.floor
|
|
this.form.showAddress = this.form.city+this.form.address+this.form.floor
|
|
|
that.$util.confirmModal({content:'确认修改?'},() => {
|
|
that.$util.confirmModal({content:'确认修改?'},() => {
|
|
|
this.form.id = this.option.id ? this.option.id : 0
|
|
this.form.id = this.option.id ? this.option.id : 0
|