diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index e4aab573..fbfae39a 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -416,7 +416,6 @@ export default { let that = this; that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => { that.mgroupOptions = res; - if(that.type==40){ res.forEach(item=>{ if(item.name=="废品库"){ @@ -595,6 +594,7 @@ export default { that.mgroupOptions = res; if(res.length==1){ that.form.recive_mgroup = res[0].id; + that.getUserList2(); } }) data.forEach((item,index)=>{ @@ -758,6 +758,7 @@ export default { that.mgroupOptions = res0; if(res0.length==1){ that.form.recive_mgroup = res0[0].id; + that.getUserList2(); } }) let obj = {}; diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue index f7ba2708..2725d5b2 100644 --- a/src/views/wpm_bx/mlogbw_check.vue +++ b/src/views/wpm_bx/mlogbw_check.vue @@ -351,7 +351,6 @@ - @@ -994,6 +993,8 @@ export default { this.checkVisible = false; }, check_set(){ + this.wprNumber = ""; + this.selectWpr = []; this.setVisible=true; }, //扫描物料将这一行放到第一行并编辑这一行