From 92b53ccbfafdec9b5f27a0ec0a09ff051bdc6d21 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期二, 22 七月 2025 17:08:12 +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