gjy 3 年之前
父节点
当前提交
380b71f7d8
共有 1 个文件被更改,包括 8 次插入2 次删除
  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) {
           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({
         currentPage: this.currentPage,
         pageSize: this.pageSize,