17755135699 1 éve
szülő
commit
fa23c249c1
1 módosított fájl, 0 hozzáadás és 7 törlés
  1. 0 7
      pages/house/createOrder.vue

+ 0 - 7
pages/house/createOrder.vue

@@ -293,29 +293,22 @@
 				this.leaveDateShow = false;
 			},
 			compareDate(data) {
-				console.log(data)
 				let data2=data.substring(0,10);
-				console.log(new Date(data2).getTime())
-				console.log(new Date(this.currentDate).getTime())
 				if (
 					new Date(data2).getTime() < new Date(this.currentDate).getTime()
 				) {
 					this.today = -1;
-					//v.push("-1"); //有时间小于今天
 				}
 				if (
 					new Date(data2).getTime() == new Date(this.currentDate).getTime()
 				) {
 					this.today = 1;
-					v.push("1"); //有时间等于今天
 				}
 				if (
 					new Date(data2).getTime() > new Date(this.currentDate).getTime()
 				) {
 					this.today = 2;
-					//v.push("2"); //有时间大于今天
 				}
-				console.log(this.today)
 			},
 			//添加入住人
 			goStayCheck() {