Explorar o código

Merge branch 'master' of http://47.108.172.52:3000/dayou/item-management-web

GouGengquan hai 4 días
pai
achega
54120a1eb9
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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) {