Ver Fonte

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

jbb há 2 anos atrás
pai
commit
40a3a2e230

+ 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 = ''