From 274503442f9e76bff231dd116868ede4efa26774 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 25 May 2022 15:45:02 +0800 Subject: [PATCH] 0525bugFixed --- hb_client/src/views/inm/fifodetail.vue | 7 ++--- hb_client/src/views/mtm/materialdo.vue | 10 ++++--- hb_client/src/views/mtm/step.vue | 36 +++++++++++++++++++------- 3 files changed, 37 insertions(+), 16 deletions(-) diff --git a/hb_client/src/views/inm/fifodetail.vue b/hb_client/src/views/inm/fifodetail.vue index cd0d640..acd4a30 100644 --- a/hb_client/src/views/inm/fifodetail.vue +++ b/hb_client/src/views/inm/fifodetail.vue @@ -53,8 +53,9 @@ v-if="this.$route.params.pu_order != null" > @@ -86,7 +87,7 @@ 复验记录 diff --git a/hb_client/src/views/mtm/materialdo.vue b/hb_client/src/views/mtm/materialdo.vue index 49fd4c1..65dfa8f 100644 --- a/hb_client/src/views/mtm/materialdo.vue +++ b/hb_client/src/views/mtm/materialdo.vue @@ -154,6 +154,7 @@ :title="tableForm.name" > { + await getrffieldList({page:0,form:that.formID}).then((response) => { if (response.data) { this.hasPicture = false; let list = response.data; @@ -885,7 +888,6 @@ that.dialogVisibleForm = true; } }); - that.fieldLists(); }, checkPermission, handleCurrentChange(row) { diff --git a/hb_client/src/views/mtm/step.vue b/hb_client/src/views/mtm/step.vue index 1e29882..536a9bf 100644 --- a/hb_client/src/views/mtm/step.vue +++ b/hb_client/src/views/mtm/step.vue @@ -251,16 +251,17 @@ > - + - + - + + + + { - this.$refs["Forms"].clearValidate(); - }); + if(this.stepid!==''&&this.stepid!==null&&this.stepid!==undefined){ + this.recordform = Object.assign({}, defaultrecordform); + this.dialogType = "new"; + this.dialogVisible = true; + this.$nextTick(() => { + this.$refs["Forms"].clearValidate(); + }); + }else{ + this.$confirm("请选择子工序", "警告", { + confirmButtonText: "确认", + type: "error", + }) .then(async () => { + }) + .catch(() => { + }); + } + }, //新增字段 handlefieldCreate() {