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"); } } }