|  | @@ -14,6 +14,7 @@ Page({
 | 
											
												
													
														|  |      showDialog: false,
 |  |      showDialog: false,
 | 
											
												
													
														|  |      cacheArea: [] as { cityCode: string, shiftCityCode: string }[], // 临时存储的对应关系
 |  |      cacheArea: [] as { cityCode: string, shiftCityCode: string }[], // 临时存储的对应关系
 | 
											
												
													
														|  |      showArea: false,
 |  |      showArea: false,
 | 
											
												
													
														|  | 
 |  | +    showAreaAfterLeave: false,
 | 
											
												
													
														|  |      areaList: [] as any,
 |  |      areaList: [] as any,
 | 
											
												
													
														|  |      currentValues: [] as any,
 |  |      currentValues: [] as any,
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -22,9 +23,9 @@ Page({
 | 
											
												
													
														|  |      name: '',
 |  |      name: '',
 | 
											
												
													
														|  |      phoneNumber: '',
 |  |      phoneNumber: '',
 | 
											
												
													
														|  |      detailAddress: '',
 |  |      detailAddress: '',
 | 
											
												
													
														|  | -    cityCode: 0,
 |  | 
 | 
											
												
													
														|  | 
 |  | +    cityCode: null,
 | 
											
												
													
														|  |      cityName: "",
 |  |      cityName: "",
 | 
											
												
													
														|  | -    provinceCode: 0,
 |  | 
 | 
											
												
													
														|  | 
 |  | +    provinceCode: null,
 | 
											
												
													
														|  |      provinceName: "",
 |  |      provinceName: "",
 | 
											
												
													
														|  |      regionCode: '',
 |  |      regionCode: '',
 | 
											
												
													
														|  |      regionName: "",
 |  |      regionName: "",
 | 
											
										
											
												
													
														|  | @@ -158,6 +159,16 @@ Page({
 | 
											
												
													
														|  |        showArea: false
 |  |        showArea: false
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  | 
 |  | +  onAreaBeforeEnter() {
 | 
											
												
													
														|  | 
 |  | +    this.setData({
 | 
											
												
													
														|  | 
 |  | +      showAreaAfterLeave: false
 | 
											
												
													
														|  | 
 |  | +    })
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  | 
 |  | +  onAreaAfterLeave() {
 | 
											
												
													
														|  | 
 |  | +    this.setData({
 | 
											
												
													
														|  | 
 |  | +      showAreaAfterLeave: true
 | 
											
												
													
														|  | 
 |  | +    })
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  |    /** 确定选择地区 */
 |  |    /** 确定选择地区 */
 | 
											
												
													
														|  |    submitArea(e: any) {
 |  |    submitArea(e: any) {
 | 
											
												
													
														|  |      const selectedOptions: any = e.detail.values
 |  |      const selectedOptions: any = e.detail.values
 | 
											
										
											
												
													
														|  | @@ -185,14 +196,15 @@ Page({
 | 
											
												
													
														|  |    onAddressAfterLeave() {
 |  |    onAddressAfterLeave() {
 | 
											
												
													
														|  |      this.setData({
 |  |      this.setData({
 | 
											
												
													
														|  |        addressAfterLeave: true,
 |  |        addressAfterLeave: true,
 | 
											
												
													
														|  | 
 |  | +      selectAddressId: '',
 | 
											
												
													
														|  |        name: '',
 |  |        name: '',
 | 
											
												
													
														|  |        phoneNumber: '',
 |  |        phoneNumber: '',
 | 
											
												
													
														|  |        detailAddress: '',
 |  |        detailAddress: '',
 | 
											
												
													
														|  | -      cityCode: 0,
 |  | 
 | 
											
												
													
														|  | 
 |  | +      cityCode: null,
 | 
											
												
													
														|  |        cityName: "",
 |  |        cityName: "",
 | 
											
												
													
														|  |        provinceCode: 0,
 |  |        provinceCode: 0,
 | 
											
												
													
														|  |        provinceName: "",
 |  |        provinceName: "",
 | 
											
												
													
														|  | -      regionCode: '',
 |  | 
 | 
											
												
													
														|  | 
 |  | +      regionCode: null,
 | 
											
												
													
														|  |        regionName: "",
 |  |        regionName: "",
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |    },
 |  |    },
 |