فهرست منبع

王子文 生产日报 bug fix: 解决了日报加载时默认日期有时不符合预期的问题

wangggziwen 2 سال پیش
والد
کامیت
c01c7f8247
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ui/src/views/production/daily/index.vue

+ 1 - 1
ui/src/views/production/daily/index.vue

@@ -4007,7 +4007,6 @@ export default {
           this.clientHeight = document.body.clientHeight -250
       })
       this.setMaxDate();
-      this.getReport();
       this.getTreeselect();
       this.loading = false;
   },
@@ -4183,6 +4182,7 @@ export default {
       getReportByMaxDate().then(response => {
         if (null != response.data) {
           this.queryParams.reportDate = response.data.reportDate;
+          this.getReport();
         } else {
           this.$message.info("未导入生产日报数据");
         }