Ver Fonte

客户地址

shish há 7 meses atrás
pai
commit
434814d129

+ 5 - 0
ghsApp/src/pagesClient/member/modify.vue

@@ -107,6 +107,11 @@ export default {
 				}else{
 					this.couldNavigation = 1
 				}
+				let shop = res.data.shop?res.data.shop:[]
+				let city = shop.city ? shop.city : ''
+				let province = shop.province?shop.province:''
+				this.form.province = province
+				this.form.city = city
 			})
 		},
 		//省市联动

+ 1 - 1
ghsApp/src/pagesOrder/modify.vue

@@ -36,7 +36,7 @@
 			<view class="checkbox-wrap">
 				<label class="checkbox-label">
 					<checkbox v-model="syncDefaultAddress" :true-value="1" :false-value="0" color="#007AFF" style="margin-right: 10upx;"></checkbox>
-					<text>同步客户的默认地址</text>
+					<text>同步设为客户的默认地址</text>
 				</label>
 			</view>
 

+ 5 - 0
hdApp/src/admin/member/modify.vue

@@ -76,6 +76,11 @@ export default {
 		init() {
 			getHasMap().then(res=>{
 				this.hasMap = res.data.hasMap
+				let shop = res.data.shop?res.data.shop:[]
+				let city = shop.city ? shop.city : ''
+				let province = shop.province?shop.province:''
+				this.form.province = province
+				this.form.city = city
 			})
 		},
 		openAddres() {