hyingbo
8 天以前 68d89cf9309f5b78d7e7b5175853063d4c9cf846
仓库管理取消选中后刷新右侧列表数据
已修改1个文件
8 ■■■■ 文件已修改
src/views/tms/GoodsShelvesList.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tms/GoodsShelvesList.vue
@@ -262,12 +262,8 @@
    mounted() {
      this.handleGetCurrSelected = (data) => {
        this.treeSelected = data;
        if (data.entity && data.entity.leafFlag === '1') {
          this.queryParam.warehouseId = data.key;
          this.loadData();
        } else {
          this.dataSource = []
        }
        this.queryParam.warehouseId = data.key;
        this.loadData();
      }
      this.$bus.$on('getCurrSelected', this.handleGetCurrSelected);
    },