From ae49320b5f5724a5a2963b83f2aec9bdf7e98559 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Wed, 10 Nov 2021 15:14:31 +0800 Subject: [PATCH] biaoge --- hb_client/src/views/mtm/materialdo.vue | 4 ++-- hb_client/src/views/wpm/worktask.vue | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/hb_client/src/views/mtm/materialdo.vue b/hb_client/src/views/mtm/materialdo.vue index 9e5323e..6edf107 100644 --- a/hb_client/src/views/mtm/materialdo.vue +++ b/hb_client/src/views/mtm/materialdo.vue @@ -553,7 +553,7 @@ if (valid) { const isEdit = this.dialogType === "edit"; if (isEdit) { - this.recordform.step=this.stepid; + this.recordform.material=this.material; this.recordform.type=2; updaterecordform(this.recordform.id, this.recordform).then((res) => { if (res.code >= 200) { @@ -563,7 +563,7 @@ } }); } else { - this.recordform.step=this.stepid + this.recordform.material=this.material; this.recordform.type=2; createrecordform(this.recordform).then((res) => { if (res.code >= 200) { diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue index be1df27..06d5235 100644 --- a/hb_client/src/views/wpm/worktask.vue +++ b/hb_client/src/views/wpm/worktask.vue @@ -11,7 +11,7 @@ - - - - + +