twt 3 years ago
parent
commit
556eaddbd6
2 changed files with 13 additions and 6 deletions
  1. 1 1
      pages/module/confirmOrder.vue
  2. 12 5
      pages/module/orderShop.vue

+ 1 - 1
pages/module/confirmOrder.vue

@@ -312,7 +312,7 @@ export default {
 			  //payMoney:0.01,
 			  packJsonArr:JSON.stringify(this.packJsonArr) ,
 			  shopID:this.orderShop.shopId,
-			  unionID:this.orderShop.unionId,
+			 // unionID:this.orderShop.unionId,
 			 },'POST').then(res => {
 				 
 				  if(res.code==0){

+ 12 - 5
pages/module/orderShop.vue

@@ -73,11 +73,18 @@ export default {
 	
 		getqueryShopList(){
 			uni.showLoading({ });
-			this.$http('worldKeepCar/worldHome/getWorldShopInfoList', {
-			  lat:this.location.lat,
-			  lng:this.location.lng,
-			  cityCode:this.location.cityCode,
-			 },'GET').then(res => {
+			var params={}
+			if(this.location.lat){
+				params={
+					lat:this.location.lat,
+					lng:this.location.lng,
+					cityCode:this.location.cityCode,
+				}
+				
+			}else{
+				
+			}
+			this.$http('worldKeepCar/worldHome/getWorldShopInfoList', params,'GET').then(res => {
 				uni.hideLoading();
 				this.queryShopList=res.data
 			})