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() } }, // 查询一级表格