gjy 3 years ago
parent
commit
380b71f7d8
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/views/houseSelfCollect/paymentManagement.vue

+ 8 - 2
src/views/houseSelfCollect/paymentManagement.vue

@@ -796,8 +796,14 @@ import download from '../../components/WsDownload/download'
         if (this.searchType != -1) {
         if (this.searchType != -1) {
           searchParam = this.searchType
           searchParam = this.searchType
         }
         }
-      var startDate=this.value2[0]?this.value2[0]:''
-      var endDate=this.value2[1]?this.value2[1]:''
+        console.log(this.value2)
+        var startDate=''
+        var endDate=''
+        if(this.value2){
+          startDate=this.value2[0]?this.value2[0]:''
+          endDate=this.value2[1]?this.value2[1]:''
+        }
+      
       getpayment({
       getpayment({
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,