zhangdan 4 years ago
parent
commit
52beb222af
1 changed files with 4 additions and 5 deletions
  1. 4 5
      pages/index/order.vue

+ 4 - 5
pages/index/order.vue

@@ -35,7 +35,7 @@
 								<text>通信地址</text>
 								<text>通信地址</text>
 							</view>
 							</view>
 						    <view class="list-item-right flex_1">
 						    <view class="list-item-right flex_1">
-								<u-input class="flex_1" :custom-style="inputClass" v-model="reverseReceiveAddress.locationAddress" @click="selectAddress" :disabled="true" placeholder="请选择通信地址" placeholder-style="color:'#bbb';font-size:18px"/>
+								<u-input class="flex_1" :custom-style="inputClass" v-model="reverseReceiveAddress.receiveAreasName" @click="selectAddress" :disabled="true" placeholder="请选择通信地址" placeholder-style="color:'#bbb';font-size:18px"/>
 								<u-icon class="back-img" name="arrow-right" color="#9DA8B5"  @click="selectAddress"></u-icon>
 								<u-icon class="back-img" name="arrow-right" color="#9DA8B5"  @click="selectAddress"></u-icon>
 						    </view>
 						    </view>
 						</view>
 						</view>
@@ -170,7 +170,7 @@
 				},
 				},
 				reverseReceiveAddress: {
 				reverseReceiveAddress: {
 				  receiveAddress: '',// 详细地址
 				  receiveAddress: '',// 详细地址
-				  locationAddress:'',
+				  receiveAreasName:'',
 				  lat:'',
 				  lat:'',
 				  lng:''
 				  lng:''
 				},
 				},
@@ -297,8 +297,7 @@
 							this.getArea(res.address)
 							this.getArea(res.address)
 							this.reverseReceiveAddress.lat=res.latitude
 							this.reverseReceiveAddress.lat=res.latitude
 							this.reverseReceiveAddress.lng=res.longitude
 							this.reverseReceiveAddress.lng=res.longitude
-							this.reverseReceiveAddress.locationAddress= res.address
-							
+							this.reverseReceiveAddress.receiveAreasName= res.address
 						}
 						}
 					}
 					}
 				})
 				})
@@ -443,7 +442,7 @@
 				}
 				}
 				const params=this.form
 				const params=this.form
 				params.contactMobile=this.form.mobile?this.form.mobile:''
 				params.contactMobile=this.form.mobile?this.form.mobile:''
-				params.contactAddress=this.reverseReceiveAddress.locationAddress?this.reverseReceiveAddress.locationAddress:''
+				params.contactAddress=this.reverseReceiveAddress.receiveAreasName?this.reverseReceiveAddress.receiveAreasName:''
 				params.houseAddress=this.reverseReceiveAddress.receiveAddress?this.reverseReceiveAddress.receiveAddress:''
 				params.houseAddress=this.reverseReceiveAddress.receiveAddress?this.reverseReceiveAddress.receiveAddress:''
 				params.lat=this.reverseReceiveAddress.lat?this.reverseReceiveAddress.lat:''
 				params.lat=this.reverseReceiveAddress.lat?this.reverseReceiveAddress.lat:''
 				params.lng=this.reverseReceiveAddress.lng?this.reverseReceiveAddress.lng:''
 				params.lng=this.reverseReceiveAddress.lng?this.reverseReceiveAddress.lng:''