fix:后面几个检验工段的返工交接可以返已完成的所有品
This commit is contained in:
parent
8119a077ff
commit
662b78500f
|
@ -193,7 +193,7 @@
|
|||
v-if="dialog.save"
|
||||
ref="saveDialog"
|
||||
:type="type"
|
||||
:mgroupName="mgroup_name"
|
||||
:mgroupName="mgroupName"
|
||||
:mgroupId="mgroupId"
|
||||
@success="handleSaveSuccess"
|
||||
@closed="dialog.save = false"
|
||||
|
|
|
@ -369,6 +369,7 @@ export default {
|
|||
}
|
||||
//获取交送物料
|
||||
if((that.type==20&&that.mgroupName!=='废品库')||that.type==40){
|
||||
console.log('that.mgroupName',that.mgroupName);
|
||||
if(that.mgroupName=='成品内外初检'||that.mgroupName=='成品内质复检'||that.mgroupName=='成品性能检测'||that.mgroupName=='成品尺寸检测'||that.mgroupName=='成品外观复检一'||that.mgroupName=='成品外观复检二'){
|
||||
that.getMaterialOkFangong();
|
||||
}else{
|
||||
|
@ -475,8 +476,8 @@ export default {
|
|||
that.materialOptions = [];
|
||||
var obj = {
|
||||
page: 0,
|
||||
state : 10,
|
||||
state_all: 1
|
||||
tag:'done',
|
||||
mgroup: that.mgroupId,
|
||||
};
|
||||
that.$API.wpm.wmaterial.list.req(obj).then((res) => {
|
||||
that.materialOptions = res;
|
||||
|
|
Loading…
Reference in New Issue