diff --git a/src/views/wpm_bx/mlog_form2.vue b/src/views/wpm_bx/mlog_form2.vue index a915c0c4..2e96b993 100644 --- a/src/views/wpm_bx/mlog_form2.vue +++ b/src/views/wpm_bx/mlog_form2.vue @@ -153,6 +153,23 @@ + + + + + + + @@ -240,6 +257,7 @@ export default { materialTracking:10, testitems:[], options: [], + mtaskOptions:[], bwItemForms: [], routeOptions: [], materialOptions: [], @@ -256,6 +274,7 @@ export default { this.getRoute(); this.getEquipment(); this.gettestitem(); + this.getMtask(); if(that.route_code=='tuomoceliang'){ //获取指定工序的切分数量 } @@ -281,6 +300,12 @@ export default { this.routeOriginOptions = res; }); }, + getMtask(){ + let that = this; + this.$API.pm.mtask.list.req({ page: 0, mgroup: that.mgroup, state: 20 }).then((res) => { + that.mtaskOptions = res; + }); + }, //获取班组设备 getEquipment() { let that = this;