diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index bb51b750..63985a53 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -610,8 +610,8 @@ export default { that.form.test_file = res.test_file; } that.mgroup = res.mgroup; - that.paramsWm.mgroup = res.mgroup; - that.paramsWm.search = that.batchContains; + // that.paramsWm.mgroup = res.mgroup; + // that.paramsWm.search = that.batchContains; that.materialIn = res.material_in; that.deptId = res.belong_dept; that.apiObjWm = that.$API.wpm.wmaterial.list; diff --git a/src/views/wpm_bx/mlogb_form.vue b/src/views/wpm_bx/mlogb_form.vue index b86059fa..e0bbf03c 100644 --- a/src/views/wpm_bx/mlogb_form.vue +++ b/src/views/wpm_bx/mlogb_form.vue @@ -298,8 +298,14 @@ export default { }, //获取任务列表 getMtask() { + console.log(this.materialIn); let that = this; - this.$API.pm.mtask.list.req({ page: 0, mgroup: that.mgroup, state: 20 }).then((res) => { + let obj = {}; + obj.page = 0; + obj.state = 20; + obj.mgroup = that.mgroup; + obj.route__material_in = that.materialIn; + this.$API.pm.mtask.list.req(obj).then((res) => { that.options = res; }); },