diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index 511551df..7bd1c45a 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -214,6 +214,8 @@ + + + + @@ -385,15 +386,20 @@ export default { }, materialBatchChange(){ let that = this; - that.materialOptions.forEach(item => { - if(item.id==that.form.wm_in){ - that.form.batch = item.batch; - that.form.count_use = item.count; - that.batch_count = item.count; - that.materialFix = item.material; - that.getdefects(); - } - }); + that.form.batch = that.selectObj.batch; + that.form.count_use = that.selectObj.count; + that.batch_count = that.selectObj.count; + that.materialFix = that.selectObj.material; + that.getdefects(); + // that.materialOptions.forEach(item => { + // if(item.id==that.form.wm_in){ + // that.form.batch = item.batch; + // that.form.count_use = item.count; + // that.batch_count = item.count; + // that.materialFix = item.material; + // that.getdefects(); + // } + // }); }, //添加层组 cellsAdd(){