소스 검색

bug修复

chenrui 4 년 전
부모
커밋
98b6133e39
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/views/financialManagement/financialCollection/list.vue

+ 3 - 1
src/views/financialManagement/financialCollection/list.vue

@@ -227,7 +227,9 @@ export default {
     //  重置
     resetSearchForm () {
       this.$refs.rangeAuditDate.resetDate(this.auditDate)
-      this.$refs.rangeSettleDate.resetDate()
+      if (this.advanced) { //  查询条件未展开时,该组件未渲染
+        this.$refs.rangeSettleDate.resetDate()
+      }
       this.queryParam.beginAuditDate = getDate.getThreeMonthDays().starttime
       this.queryParam.endAuditDate = getDate.getCurrMonthDays().endtime
       this.queryParam.beginSettleDate = ''