|
@@ -100,7 +100,13 @@
|
|
this.routeData.sendCity = ""
|
|
this.routeData.sendCity = ""
|
|
this.routeData.sendArea = ""
|
|
this.routeData.sendArea = ""
|
|
}else if(address.area == '全市'){
|
|
}else if(address.area == '全市'){
|
|
- this.title1 = address.province + address.city
|
|
|
|
|
|
+ if(address.province=='北京'||address.province=='天津'||address.province=='上海'||address.province=='重庆'||address.province=='台湾'){
|
|
|
|
+ this.title1 = address.province
|
|
|
|
+ this.routeData.sendCity = ''
|
|
|
|
+ }else{
|
|
|
|
+ this.title1 = address.province + address.city
|
|
|
|
+ }
|
|
|
|
+ // this.title1 = address.province + address.city
|
|
this.routeData.sendArea = ""
|
|
this.routeData.sendArea = ""
|
|
}else{
|
|
}else{
|
|
this.title1 = address.province + address.city + address.area;
|
|
this.title1 = address.province + address.city + address.area;
|
|
@@ -117,7 +123,12 @@
|
|
this.routeData.unloadCity = ""
|
|
this.routeData.unloadCity = ""
|
|
this.routeData.unloadArea = ""
|
|
this.routeData.unloadArea = ""
|
|
}else if(address.area == '全市'){
|
|
}else if(address.area == '全市'){
|
|
- this.title2 = address.province + address.city
|
|
|
|
|
|
+ if(address.province=='北京'||address.province=='天津'||address.province=='上海'||address.province=='重庆'||address.province=='台湾'){
|
|
|
|
+ this.title2 = address.province
|
|
|
|
+ this.routeData.unloadCity =''
|
|
|
|
+ }else{
|
|
|
|
+ this.title2 = address.province + address.city
|
|
|
|
+ }
|
|
this.routeData.unloadArea = ""
|
|
this.routeData.unloadArea = ""
|
|
}else{
|
|
}else{
|
|
if(address.province == '全国'){
|
|
if(address.province == '全国'){
|
|
@@ -184,10 +195,16 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.routeData = res.data
|
|
this.routeData = res.data
|
|
- this.title1 = this.routeData.sendProvince + this.routeData.sendCity + this.routeData
|
|
|
|
|
|
+ if(this.routeData.sendProvince=='北京'||this.routeData.sendProvince=='天津'||this.routeData.sendProvince=='上海'||this.routeData.sendProvince=='重庆'||this.routeData.sendProvince=='台湾'){
|
|
|
|
+ this.title1 = this.routeData.sendProvince
|
|
|
|
+ this.title2 = this.routeData.unloadProvince
|
|
|
|
+ }else{
|
|
|
|
+ this.title1 = this.routeData.sendProvince + this.routeData.sendCity + this.routeData
|
|
.sendArea
|
|
.sendArea
|
|
- this.title2 = this.routeData.unloadProvince + this.routeData.unloadCity + this.routeData
|
|
|
|
|
|
+ this.title2 = this.routeData.unloadProvince + this.routeData.unloadCity + this.routeData
|
|
.unloadArea
|
|
.unloadArea
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch(res => {
|
|
.catch(res => {
|