From 4ddf9e41b99f6428f7bce86d5ac068d5a4da0eeb Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 23 Jul 2024 09:13:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/management/in-storage.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/management/in-storage.vue b/pages/management/in-storage.vue index 6c4ff5a..03a366d 100644 --- a/pages/management/in-storage.vue +++ b/pages/management/in-storage.vue @@ -249,8 +249,11 @@ this.id = options.id this.title = options.name this.crType = options.type - this._getWarehouseInfo() - this._getUserInfo() + if (this.crType === 'IN') { + this._getWarehouseInfo() + } else { + this._getUserInfo() + } }, methods: { // 仓库下拉框 @@ -276,6 +279,7 @@ this.value2 = el.value } }) + this._getWarehouseInfo() } }, // 查询一级表格