diff --git a/src/views/wpm_bx/mlog_form2.vue b/src/views/wpm_bx/mlog_form2.vue index 395ab7f1..531a5155 100644 --- a/src/views/wpm_bx/mlog_form2.vue +++ b/src/views/wpm_bx/mlog_form2.vue @@ -456,18 +456,12 @@ export default { that.bwItemForms.forEach(item=>{ item.mlogb = res.mlogbin; }) - that.$API.wpm.mlogbw.create.req(that.bwItemForms).then((res1) => { - that.isSaveing = false; - that.$emit("success",res.mlog); - that.visible = false; - that.$message.success("操作成功"); - }) - }else{ - that.isSaveing = false; - that.$emit("success",res.mlog); - that.visible = false; - that.$message.success("操作成功"); + that.$API.wpm.mlogbw.create.req(that.bwItemForms).then((res1) => {}) } + that.isSaveing = false; + that.$emit("success",res.mlog); + that.visible = false; + that.$message.success("操作成功"); }).catch(()=>{ that.isSaveing = false; }); diff --git a/src/views/wpm_bx/mlogs.vue b/src/views/wpm_bx/mlogs.vue index a37a977f..a7f391a9 100644 --- a/src/views/wpm_bx/mlogs.vue +++ b/src/views/wpm_bx/mlogs.vue @@ -530,7 +530,7 @@ export default { }, handleSaveSuccess2(data) { console.log(data); - this.dialog.save = true; + this.dialog.save2 = false; this.$refs.table.refresh(); this.mlogId = data; this.dialog.detail = true;