fix:光芯采购入库检验人员展示IQC
This commit is contained in:
parent
dcccc2c636
commit
cc8b6f3bd6
|
|
@ -1346,11 +1346,16 @@ export default {
|
|||
//获取员工
|
||||
getUserList() {
|
||||
let that = this;
|
||||
this.$API.system.user.list
|
||||
.req({ page: 0, posts__code__contains: "check" })
|
||||
.then((res) => {
|
||||
that.userList = res;
|
||||
});
|
||||
let params = {};
|
||||
params.page=0;
|
||||
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;
|
||||
});
|
||||
},
|
||||
addWeight() {
|
||||
this.weight_kgs.push({ value: 0 });
|
||||
|
|
|
|||
Loading…
Reference in New Issue