From 1b297de7bb0ba01c0546240a038d95eea9ba11ac Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 7 Nov 2024 11:09:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=89=A9=E6=96=99=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E6=B7=BB=E5=8A=A0mtaskx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/f_mlogs_form.vue | 2 +- src/views/wpm_gx/mlogb_form.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_gx/f_mlogs_form.vue b/src/views/wpm_gx/f_mlogs_form.vue index fd21c3e8..a8f1b412 100644 --- a/src/views/wpm_gx/f_mlogs_form.vue +++ b/src/views/wpm_gx/f_mlogs_form.vue @@ -464,7 +464,7 @@ export default { //获取车间物料 getMaterial() { let that = this; - that.$API.wpm.wmaterial.list.req({mgroupx: that.mgroup,material: that.material_in,page: 0,}).then((res) => { + that.$API.wpm.wmaterial.list.req({mtaskx:that.mtask,mgroupx: that.mgroup,material: that.material_in,page: 0,}).then((res) => { that.materialOptions = res; }); }, diff --git a/src/views/wpm_gx/mlogb_form.vue b/src/views/wpm_gx/mlogb_form.vue index 9b1808b2..d2700323 100644 --- a/src/views/wpm_gx/mlogb_form.vue +++ b/src/views/wpm_gx/mlogb_form.vue @@ -22,6 +22,7 @@ placeholder="关联任务" clearable style="width: 100%" + @change="getMaterial" > - @@ -159,6 +159,7 @@ export default { let that = this; this.$API.wpm.wmaterial.list .req({ + mtaskx: that.form.mtask, mgroupx: that.mgroup, material: that.materialIn, page: 0,