fix:#803#861#40日志,选择任务的时候按工艺列下拉选择

This commit is contained in:
shijing 2025-07-02 15:19:57 +08:00
parent 1b295d784f
commit 1590c37b94
2 changed files with 9 additions and 3 deletions

View File

@ -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;

View File

@ -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;
});
},