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" v-if="dialog.save"
ref="saveDialog" ref="saveDialog"
:type="type" :type="type"
:mgroupName="mgroup_name" :mgroupName="mgroupName"
:mgroupId="mgroupId" :mgroupId="mgroupId"
@success="handleSaveSuccess" @success="handleSaveSuccess"
@closed="dialog.save = false" @closed="dialog.save = false"

View File

@ -369,6 +369,7 @@ export default {
} }
// //
if((that.type==20&&that.mgroupName!=='废品库')||that.type==40){ 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=='成品外观复检二'){ if(that.mgroupName=='成品内外初检'||that.mgroupName=='成品内质复检'||that.mgroupName=='成品性能检测'||that.mgroupName=='成品尺寸检测'||that.mgroupName=='成品外观复检一'||that.mgroupName=='成品外观复检二'){
that.getMaterialOkFangong(); that.getMaterialOkFangong();
}else{ }else{
@ -475,8 +476,8 @@ export default {
that.materialOptions = []; that.materialOptions = [];
var obj = { var obj = {
page: 0, page: 0,
state : 10, tag:'done',
state_all: 1 mgroup: that.mgroupId,
}; };
that.$API.wpm.wmaterial.list.req(obj).then((res) => { that.$API.wpm.wmaterial.list.req(obj).then((res) => {
that.materialOptions = res; that.materialOptions = res;