Quellcode durchsuchen

房地产总台账删除默认日期段BUG修复

wucl vor 3 Tagen
Ursprung
Commit
b4f3d771c1
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      src/views/statistical/major/ledgerList.vue

+ 3 - 0
src/views/statistical/major/ledgerList.vue

@@ -511,6 +511,9 @@ export default {
       if (this.selectDate) {
         this.listQuery.startTime = this.selectDate[0] + ' 00:00:00';
         this.listQuery.endTime = this.selectDate[1] + ' 23:59:59';
+      }else {
+        this.listQuery.startTime = null;
+        this.listQuery.endTime = null;
       }
       this.$api.statistical.getMajorLedger(this.listQuery).then((res) => {
         if (res.code === 200) {