fix:玻纤后面几个工段的返工只能选择合格品和合格B类
This commit is contained in:
parent
5f7a15c05c
commit
8b345a1df6
|
|
@ -369,7 +369,12 @@ export default {
|
||||||
}
|
}
|
||||||
//获取交送物料
|
//获取交送物料
|
||||||
if((that.type==20&&that.mgroupName!=='废品库')||that.type==40){
|
if((that.type==20&&that.mgroupName!=='废品库')||that.type==40){
|
||||||
|
if(that.mgroupName=='成品内外初检'||that.mgroupName=='成品内质复检'||that.mgroupName=='成品性能检测'||that.mgroupName=='成品尺寸检测'||that.mgroupName=='成品外观复检一'||that.mgroupName=='成品外观复检二'){
|
||||||
|
that.getMaterialOkFangong();
|
||||||
|
}else{
|
||||||
that.getMaterialNotok();
|
that.getMaterialNotok();
|
||||||
|
}
|
||||||
|
|
||||||
}else if(that.type==20&&that.mgroupName=='废品库'){
|
}else if(that.type==20&&that.mgroupName=='废品库'){
|
||||||
that.getMaterialFP();
|
that.getMaterialFP();
|
||||||
}else{
|
}else{
|
||||||
|
|
@ -465,6 +470,18 @@ export default {
|
||||||
that.materialOptions = res;
|
that.materialOptions = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getMaterialOkFangong(){
|
||||||
|
let that = this;
|
||||||
|
that.materialOptions = [];
|
||||||
|
var obj = {
|
||||||
|
page: 0,
|
||||||
|
state : 10,
|
||||||
|
state_all: 1
|
||||||
|
};
|
||||||
|
that.$API.wpm.wmaterial.list.req(obj).then((res) => {
|
||||||
|
that.materialOptions = res;
|
||||||
|
});
|
||||||
|
},
|
||||||
//获取交送工段人员
|
//获取交送工段人员
|
||||||
getUserList() {
|
getUserList() {
|
||||||
let that = this;
|
let that = this;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue