瀏覽代碼

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