소스 검색

计划单统计表-筛选时间清空

jbb 2 년 전
부모
커밋
40a3a2e230
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/cost-allocation-total/inancialReconciliation.vue

+ 2 - 2
src/views/cost-allocation-total/inancialReconciliation.vue

@@ -339,8 +339,8 @@ export default {
       this.getCostList()
     },
     changeCreateTime(){
-       this.queryParam.dverifyDateE=this.dverifyDate[1].format('YYYY-MM-DD')
-       this.queryParam.dverifyDateB=this.dverifyDate[0].format('YYYY-MM-DD')
+       this.queryParam.dverifyDateE=( this.dverifyDate.length==2)?this.dverifyDate[1].format('YYYY-MM-DD'):''
+       this.queryParam.dverifyDateB=(  this.dverifyDate.length==2)?this.dverifyDate[0].format('YYYY-MM-DD'):''
     },
     searchReset() {
       this.queryParam.pageNo = ''