fix:仓库执行人查询posts__code__contains: "inm"
This commit is contained in:
parent
04a468ee7e
commit
b2ddc57179
|
|
@ -295,8 +295,10 @@ export default {
|
|||
},
|
||||
getUsers(){
|
||||
let that = this;
|
||||
that.$API.system.user.list.req({ posts__name: "库管", page: 0 }).then((res) => {
|
||||
that.userOption = res;
|
||||
let userOption = [];
|
||||
that.$API.system.user.list.req({ posts__code__contains: "inm", page: 0 }).then((res) => {
|
||||
userOption = Array.from(new Map(res.map(item => [item.id, item])).values());
|
||||
that.userOption = userOption;
|
||||
});
|
||||
},
|
||||
deptChange(){
|
||||
|
|
|
|||
|
|
@ -453,8 +453,10 @@ export default {
|
|||
//仓库人员
|
||||
getDeptUser() {
|
||||
let that = this;
|
||||
let userOption = [];
|
||||
this.$API.system.user.list.req({ page: 0, posts__code__contains: "inm" }).then((res) => {
|
||||
that.userOption = res;
|
||||
userOption = Array.from(new Map(res.map(item => [item.id, item])).values());
|
||||
that.userOption = userOption;
|
||||
});
|
||||
},
|
||||
//仓库物料
|
||||
|
|
|
|||
Loading…
Reference in New Issue