From a3a48da30bdea132d2bfbb47fa2ccf83f1937c45 Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Tue, 19 Jan 2021 08:29:55 +0800
Subject: [PATCH] 提交

---
 hive-app/pages/workbench/confirmService.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/hive-app/pages/workbench/confirmService.vue b/hive-app/pages/workbench/confirmService.vue
index 297eb77..c752eee 100644
--- a/hive-app/pages/workbench/confirmService.vue
+++ b/hive-app/pages/workbench/confirmService.vue
@@ -148,8 +148,12 @@
 				this.$refs['date-time'].show();
 			},
 			dateTimeChange(val) {
-				this.yyTime = val;
-				this.loadEmployeeList()
+				if(this.$utils.compareData(val, new Date())){
+					this.yyTime = val;
+					this.loadEmployeeList()
+				}else{
+					this.$toast.info('请选择正确的预约时间')
+				}
 			},
 			employeeChange(e){
 				if(!this.employeeList.length){

--
Gitblit v1.9.1