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 @@ - + - +