From 96d02024215f8511c20a9b180be026e0b44fcc23 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 12 Sep 2025 15:03:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:bx=E6=97=A5=E5=BF=97=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=97=B6=E5=B7=A5=E8=89=BA=E8=B7=AF=E7=BA=BF=E5=BF=85=E9=80=89?= =?UTF-8?q?=EF=BC=8C=E6=97=A5=E5=BF=97=E6=8F=90=E4=BA=A4=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E7=BB=93=E6=9D=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 15 --------------- src/views/wpm_bx/mlog_form.vue | 2 +- src/views/wpm_bx/mlog_form2.vue | 9 ++++++++- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index 754610a7..98275249 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -933,21 +933,6 @@ export default { mlogSubmit() { let that = this; that.isSaveing = true; - if(that.mlogItem.work_end_time==''||that.mlogItem.work_end_time==null){ - that.$API.bi.servertime.req().then((res) => { - let obj = {}; - obj.work_end_time = res.server_time; - obj.handle_date = this.$TOOL.dateFormat2(new Date()); - 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; diff --git a/src/views/wpm_bx/mlog_form.vue b/src/views/wpm_bx/mlog_form.vue index b9cf8c6d..f40d39dd 100644 --- a/src/views/wpm_bx/mlog_form.vue +++ b/src/views/wpm_bx/mlog_form.vue @@ -41,7 +41,7 @@ - + - +