fix:玻纤后面几个工段的返工只能选择合格品和合格B类

This commit is contained in:
shijing 2025-06-06 08:38:11 +08:00
parent 5f7a15c05c
commit 8b345a1df6
1 changed files with 19 additions and 2 deletions

View File

@ -369,7 +369,12 @@ export default {
}
//
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();
}
}else if(that.type==20&&that.mgroupName=='废品库'){
that.getMaterialFP();
}else{
@ -465,6 +470,18 @@ export default {
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() {
let that = this;