From c922017aa6a5d03d941583461e2cdd5d2a4d765a Mon Sep 17 00:00:00 2001
From: wangwei <1610949092@qq.com>
Date: Fri, 10 Feb 2023 10:18:30 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/system/dept/invRelUsers.vue | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/views/system/dept/invRelUsers.vue b/src/views/system/dept/invRelUsers.vue
index af7ffc80..f5c04250 100644
--- a/src/views/system/dept/invRelUsers.vue
+++ b/src/views/system/dept/invRelUsers.vue
@@ -179,7 +179,8 @@ export default {
       selectUserQuery: {
         code: null,
         page: 1,
-        limit: 10
+        limit: 10,
+        parentId:""
       },
       userFormVisible: false,
       userloading: false,
@@ -223,6 +224,7 @@ export default {
     addUser() {         //添加仓库关联用户弹窗
       this.currentCode = this.inputQuery.code;
       this.userFormVisible = true;
+      this.selectUserQuery.parentId=this.inputQuery.parentId;
       this.selectUserQuery.code = this.inputQuery.code;
       this.selectUserQuery.page = 1;
       for(var i=0;i<this.userData.length;i++){