Commit 0066ae97 authored by youjie's avatar youjie

1

parent 9f30971b
......@@ -189,6 +189,7 @@
this.parameters.KeyWords = ''
this.addressList = []
this.$emit('close')
this.$emit('change',this.busInfor)
},
currentData(item,items,type) {
if(type==1){
......@@ -222,7 +223,7 @@
}else{
// 选地址
if(this.type<3){
this.busInfor.destination = this.busInfor.desCountryName+this.busInfor.desCityName+item.name
this.busInfor.destination = this.busInfor.desCountryName+this.busInfor.desCityName+(this.busInfor.desCityName!=item.name?item.name:'')
this.busInfor.desLatitude = item.latitude
this.busInfor.desLongitude = item.longitude
if(this.type==1){
......@@ -231,7 +232,7 @@
this.$emit('change',this.busInfor)
}
}else{
this.busInfor.startaddress = this.busInfor.CountryName+this.busInfor.CityName+item.name
this.busInfor.startaddress = this.busInfor.CountryName+this.busInfor.CityName+(this.busInfor.CityName!=item.name?item.name:'')
this.busInfor.oriLatitude = item.latitude
this.busInfor.oriLongitude = item.longitude
this.$emit('change',this.busInfor)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment