From a8128959e6d4df6f8b7fe7f3cbf0da64733bef6d Mon Sep 17 00:00:00 2001 From: wyj2080 <1603068044@qq.com> Date: Fri, 24 Apr 2020 19:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E5=8C=BA=E9=97=B4=EF=BC=8C?= =?UTF-8?q?=E9=99=90=E5=88=B6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/CustomerView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/CustomerView.vue b/src/pages/CustomerView.vue index 91c51cc..d8a4301 100644 --- a/src/pages/CustomerView.vue +++ b/src/pages/CustomerView.vue @@ -204,7 +204,7 @@ if(that.selectEndTime == null || that.selectEndTime == ""){ return false; }else{ - return date && date.valueOf() > that.selectEndTime || date && date.valueOf() < that.$moment(that.selectEndTime).add(-31,"days"); + return date && date.valueOf() > that.$moment(that.selectEndTime) || date && date.valueOf() < that.$moment(that.selectEndTime).add(-31,"days"); } } } @@ -217,7 +217,7 @@ if(that.selectStartTime == null || that.selectStartTime == ""){ return false; }else{ - return date && date.valueOf() < that.selectStartTime || date && date.valueOf() > that.$moment(that.selectStartTime).add(31,"days"); + return date && date.valueOf() < that.$moment(that.selectStartTime) || date && date.valueOf() > that.$moment(that.selectStartTime).add(31,"days"); } } }