twt 1 mēnesi atpakaļ
vecāks
revīzija
761a2e94c2
2 mainītis faili ar 11 papildinājumiem un 3 dzēšanām
  1. 10 2
      pages/activity/jkDetail.vue
  2. 1 1
      pages/index/discountCardDetail.vue

+ 10 - 2
pages/activity/jkDetail.vue

@@ -728,7 +728,15 @@
 					salePrice:this.info.money?this.info.money:0,
 					totalPrice:this.info.money?this.info.money:0,
 				}
-				if(this.ckshopdata==''){
+				/* if(this.ckshopdata==''){
+					uni.showToast({
+						title: '请选择服务门店',
+						icon: 'none',
+						duration: 3000
+					});
+					return false;
+				} */
+				if(this.shopInfo==''){
 					uni.showToast({
 						title: '请选择服务门店',
 						icon: 'none',
@@ -779,7 +787,7 @@
 					plateNumber:this.plateNumber,
 					//carModel:this.carInfo.carModel,
 					totalMoney:this.info.money?this.info.money:0,
-					shopId:this.ckshopdata.id,
+					shopId:this.shopInfo.id,//this.ckshopdata.id,
 					comment:this.comment,
 					sheetDetail:JSON.stringify(arr),
 					payType:this.info.payType,

+ 1 - 1
pages/index/discountCardDetail.vue

@@ -871,7 +871,7 @@ display: flex;
 		font-size: 22rpx;
 	}
 	.shopaddress {
-		width: 500rpx;
+		width: 470rpx;
 		/* 隐藏文字显示 ...不换行 */
 		overflow: hidden;
 		text-overflow: ellipsis;