智慧农业后台管理页面
guoshilong
2022-08-16 014eb7323582980b0833b06a9102ae8cf6739e65
修复农资出入库统计加载两次的问题
1 files modified
2 ■■■ changed files
src/views/statistics/stock.vue 2 ●●● patch | view | raw | blame | history
src/views/statistics/stock.vue
@@ -18,7 +18,6 @@
      @current-change="currentChange"
      @size-change="sizeChange"
      @refresh-change="refreshChange"
      @on-load="onLoad"
    >
    </avue-crud>
  </basic-container>
@@ -395,6 +394,7 @@
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      console.log(params)
      params.deptId= this.farm.id;
      this.loading = true;
      const {releaseTimeRange} = this.query;