fix:交接物料状态备注
This commit is contained in:
parent
06eb2de6d4
commit
61ccbb2e78
|
@ -346,6 +346,7 @@ export default {
|
|||
that.route_code = that.$route.path.split("/")[2];
|
||||
//type 10:正常交接 ;20:返工交接 ;40:报废交接
|
||||
//mtype 10:正常交接 ;20:分批操作 ;30:合批操作
|
||||
//state 10:合格;20:不合格;30:返工;34:返工完成;40:检验;50:报废
|
||||
//获取交接人员
|
||||
if(that.type==20&&that.mgroupName=='废品库'){//废品出库交接
|
||||
that.getCkUserList();
|
||||
|
@ -356,20 +357,16 @@ export default {
|
|||
//获取交接物料
|
||||
if(that.type==20&&that.mgroupName!=='废品库'){
|
||||
//返工交接
|
||||
// that.getMaterialRework();
|
||||
that.paramsM = {mgroup: that.mgroupId,page: 0,state__in:'20,34',tag : 'done'};
|
||||
}else if(that.type==20&&that.mgroupName=='废品库'){
|
||||
//废品出库
|
||||
// that.getMaterialFP();
|
||||
that.paramsM = {page: 0,state : 50,state_all: 1};
|
||||
}else if(that.type==40){
|
||||
//报废交接
|
||||
// that.getMaterialNotok();
|
||||
that.paramsM = {mgroupx: that.mgroupId,page: 0,state:20};
|
||||
}else{
|
||||
//其他
|
||||
that.paramsM = {mgroup: that.mgroupId,page: 0,state:10,tag : 'done'};
|
||||
// that.getMaterial();
|
||||
}
|
||||
that.apiObjM = this.$API.wpm.wmaterial.list;
|
||||
if(that.type==40||that.type==20){
|
||||
|
|
Loading…
Reference in New Issue