Kaynağa Gözat

更新加购

嘀嘀嘀 1 yıl önce
ebeveyn
işleme
d45fab32e5

+ 0 - 25
pages/index/shop/confirmOrder.vue

@@ -508,10 +508,6 @@
 						console.log(this.workEnd,h1,currentHours,'o')
 						var cc=(this.workStartMin+h2).toString()
 						if (currentHours >= (this.workEnd-h1)) {
-							// this.$queue.setData({
-							//   warning:'当前时间段不在服务范围,现在下单,最早将于明早8点上门安装',
-							//   startDate:'明早 | 8:00-10:00'
-							// })
 							var time2=teshu+1
 							// this.data.warning = '当前时间段无骑手配送,现在下单,最早将于明日'+teshu + ':00'+'送达'
 							uni.showModal({
@@ -538,10 +534,6 @@
 								i += 1;
 							}
 						} else if (currentHours < this.workStart) {
-							// this.$queue.setData({
-							//   warning:'当前时间段不在服务范围,现在下单,最早将于今早8点上门安装',
-							//   startDate:'明早 | 8:00-10:00'
-							// })
 							var time2=teshu+1
 							uni.showModal({
 							  title: '提示',
@@ -552,8 +544,6 @@
 							    }
 							  }
 							});
-							// this.data.warning = '当前时间段无骑手配送,现在下单,最早将于今日'+teshu + ':00'+'送达'
-							// this.data.startDate = '今日 | '+teshu + ':00' + '-' + time2 + ':00'
 							temp[0] = ["今天", "明天"];
 							temp[1] = [];
 							for (let i = teshu; i < (this.workEnd-h1);) {
@@ -564,11 +554,6 @@
 								i += 1;
 							}
 						} else {
-							// this.$queue.setData({
-							//   startDate:'尽快送达 | 两小时内'
-							// })
-							// this.data.startDate = '尽快送达 | 两小时内'
-							// this.data.startDate = s1.padStart(2,0) + ':'+e1.padStart(2,0) + '-' + s2.padStart(2,0) + ':'+e1.padStart(2,0)
 							temp[0] = ["今天", "明天"];
 							temp[1] = [];
 							for (let i = a; i < (this.workEnd-h1);) {
@@ -831,16 +816,6 @@
 					this.totalPrice1 = totalMoney;
 				}
 				this.youhui = false;
-				// let data = {
-				// 	parentId: this.dataList.parentId,
-				// 	couponId: this.huodong ? this.huodong.id : ''
-				// };
-				
-				// this.$Request.post('/app/order/employCoupon', data).then(res => {
-				// 	if (res.code == 0) {
-				// 		this.show = false;
-				// 	}
-				// });
 			},
 			// 优惠卷列表
 			getCouponList() {

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/shop/confirmOrder.js.map