From c38a400aba3221fdff0bb576d177c1a6a590ecb7 Mon Sep 17 00:00:00 2001 From: cy <1664593601@qq.com> Date: 星期五, 08 十二月 2023 11:37:04 +0800 Subject: [PATCH] feat: 设置库管员 --- admin-web/src/views/foundation/store/person.vue | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/admin-web/src/views/foundation/store/person.vue b/admin-web/src/views/foundation/store/person.vue index dc647b3..92b0ed7 100644 --- a/admin-web/src/views/foundation/store/person.vue +++ b/admin-web/src/views/foundation/store/person.vue @@ -35,7 +35,7 @@ </template> <script> -import {userSelectDepartment, warehouseManagerList} from '@/api/foudation/store'; +import {userSelectDepartment, warehouseManagerList, warehouseManagerAdd} from '@/api/foudation/store'; import winMd from '@/components/win/win-md'; import myButton from '@/components/myButton/myButton'; @@ -141,16 +141,21 @@ managerName: item.name, }); }); - setTimeout(()=>{ - this.$message.success('淇濆瓨鎴愬姛锛�'); - this.close(); - this.$emit('search'); - },6000) - // warehouseManagerAdd(params).then((res) => { + // setTimeout(()=>{ + // warehouseManagerAdd(params).then((res) => { + // this.$message.success('淇濆瓨鎴愬姛锛�'); + // this.close(); + // this.$emit('search'); + // }); // this.$message.success('淇濆瓨鎴愬姛锛�'); // this.close(); // this.$emit('search'); - // }); + // },6000) + warehouseManagerAdd(params).then((res) => { + this.$message.success('淇濆瓨鎴愬姛锛�'); + this.close(); + this.$emit('search'); + }); }, }, }; -- Gitblit v1.9.1