diff --git a/src/views/wpm_bx/handover.vue b/src/views/wpm_bx/handover.vue index 37f4d017..a7e49003 100644 --- a/src/views/wpm_bx/handover.vue +++ b/src/views/wpm_bx/handover.vue @@ -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" diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index 98f786ca..7e19f621 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -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;