From 68d89cf9309f5b78d7e7b5175853063d4c9cf846 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期二, 15 七月 2025 10:45:21 +0800 Subject: [PATCH] 仓库管理取消选中后刷新右侧列表数据 --- src/views/tms/GoodsShelvesList.vue | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/views/tms/GoodsShelvesList.vue b/src/views/tms/GoodsShelvesList.vue index d7f6570..bbcd99d 100644 --- a/src/views/tms/GoodsShelvesList.vue +++ b/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); }, -- Gitblit v1.9.3