fix:光芯采购入库检验人员展示IQC
This commit is contained in:
parent
dcccc2c636
commit
cc8b6f3bd6
|
|
@ -1346,9 +1346,14 @@ export default {
|
||||||
//获取员工
|
//获取员工
|
||||||
getUserList() {
|
getUserList() {
|
||||||
let that = this;
|
let that = this;
|
||||||
this.$API.system.user.list
|
let params = {};
|
||||||
.req({ page: 0, posts__code__contains: "check" })
|
params.page=0;
|
||||||
.then((res) => {
|
if(that.type == 'pur_in'&&that.project_code=='gx'){
|
||||||
|
params.posts__code__contains = 'IQC'
|
||||||
|
}else{
|
||||||
|
params.posts__code__contains = 'check'
|
||||||
|
}
|
||||||
|
this.$API.system.user.list.req(params).then((res) => {
|
||||||
that.userList = res;
|
that.userList = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue