fix:#803#861#40日志,选择任务的时候按工艺列下拉选择
This commit is contained in:
parent
1b295d784f
commit
1590c37b94
|
@ -610,8 +610,8 @@ export default {
|
||||||
that.form.test_file = res.test_file;
|
that.form.test_file = res.test_file;
|
||||||
}
|
}
|
||||||
that.mgroup = res.mgroup;
|
that.mgroup = res.mgroup;
|
||||||
that.paramsWm.mgroup = res.mgroup;
|
// that.paramsWm.mgroup = res.mgroup;
|
||||||
that.paramsWm.search = that.batchContains;
|
// that.paramsWm.search = that.batchContains;
|
||||||
that.materialIn = res.material_in;
|
that.materialIn = res.material_in;
|
||||||
that.deptId = res.belong_dept;
|
that.deptId = res.belong_dept;
|
||||||
that.apiObjWm = that.$API.wpm.wmaterial.list;
|
that.apiObjWm = that.$API.wpm.wmaterial.list;
|
||||||
|
|
|
@ -298,8 +298,14 @@ export default {
|
||||||
},
|
},
|
||||||
//获取任务列表
|
//获取任务列表
|
||||||
getMtask() {
|
getMtask() {
|
||||||
|
console.log(this.materialIn);
|
||||||
let that = this;
|
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;
|
that.options = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue