From 4b27653e18de3dfdfb0dc3c51d06994d1168a65b Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 11 Sep 2025 14:06:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=9B=B4=E6=96=B0=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=90=8E=E5=86=8D=E6=89=A7=E8=A1=8C=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index 901afeef..aa827499 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -937,8 +937,15 @@ export default { if(that.mlogItem.work_end_time==''||that.mlogItem.work_end_time==null){ obj.work_end_time = that.mlogItem.work_end_time = that.$TOOL.dateFormat1(new Date()); obj.handle_date = that.mlogItem.handle_date = that.$TOOL.dateFormat2(new Date()); - that.$API.wpm.mlog.change.req(that.mlogItem.id, obj).then((res) => {}); + that.$API.wpm.mlog.change.req(that.mlogItem.id, obj).then((res) => { + that.submitMlog(); + }); + }else{ + that.submitMlog(); } + }, + submitMlog(){ + let that = this; that.$API.wpm.mlog.submit.req(that.mlogItem.id).then((res) => { that.isSaveing = false; that.visible = false;