fix:后面几个检验工段的返工交接可以返已完成的所有品

This commit is contained in:
shijing 2025-06-12 10:00:45 +08:00
parent 8119a077ff
commit 662b78500f
2 changed files with 4 additions and 3 deletions

View File

@ -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"

View File

@ -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;