diff --git a/src/pages/AddCustomerTable.vue b/src/pages/AddCustomerTable.vue
index 9e0d1f9..7106f1d 100644
--- a/src/pages/AddCustomerTable.vue
+++ b/src/pages/AddCustomerTable.vue
@@ -21,14 +21,12 @@
{{dateBtnValue}}概览
{{viewDate}}
-
至
-
-
-
-
+
+
@@ -176,33 +174,6 @@
}
}
},
- computed: {
- options1() {
- let that = this;
- return {
- disabledDate(date) {
- if (that.selectEndTime == null || that.selectEndTime == "") {
- return false;
- } else {
- return date && date.valueOf() > that.$moment(that.selectEndTime) || date && date.valueOf() < that.$moment(that.selectEndTime).add(-31, "days");
- }
- }
- }
-
- },
- options2() {
- let that = this;
- return {
- disabledDate(date) {
- if (that.selectStartTime == null || that.selectStartTime == "") {
- return false;
- } else {
- return date && date.valueOf() < that.$moment(that.selectStartTime) || date && date.valueOf() > that.$moment(that.selectStartTime).add(31, "days");
- }
- }
- }
- },
- },
mounted: function () {
this.dateBtnClick('今日');
this.timingRefresh();
diff --git a/src/pages/ApplyCustomerTable.vue b/src/pages/ApplyCustomerTable.vue
index ec121f5..d3c01fa 100644
--- a/src/pages/ApplyCustomerTable.vue
+++ b/src/pages/ApplyCustomerTable.vue
@@ -26,9 +26,6 @@
至
-
-
-
@@ -143,33 +140,6 @@
}
}
},
- computed: {
- options1() {
- let that = this;
- return {
- disabledDate(date) {
- if (that.selectEndTime == null || that.selectEndTime == "") {
- return false;
- } else {
- return date && date.valueOf() > that.$moment(that.selectEndTime) || date && date.valueOf() < that.$moment(that.selectEndTime).add(-31, "days");
- }
- }
- }
-
- },
- options2() {
- let that = this;
- return {
- disabledDate(date) {
- if (that.selectStartTime == null || that.selectStartTime == "") {
- return false;
- } else {
- return date && date.valueOf() < that.$moment(that.selectStartTime) || date && date.valueOf() > that.$moment(that.selectStartTime).add(31, "days");
- }
- }
- }
- },
- },
mounted: function () {
this.dateBtnClick('今日');
this.timingRefresh();