fix:若日志没有结束时间,提交时间作为结束时间和处理时间

This commit is contained in:
shijing 2025-09-08 09:46:18 +08:00
parent a3711e577f
commit 03b386d6fe
1 changed files with 1 additions and 1 deletions

View File

@ -928,11 +928,11 @@ export default {
that.$refs.checkDialogSingle.open(type,that.qct);
});
},
//
mlogSubmit() {
let that = this;
if(that.mlogItem.work_end_time==''||that.mlogItem.work_end_time==null){
that.mlogItem.work_end_time = that.$TOOL.dateFormat1(new Date());
that.mlogItem.handle_date = that.$TOOL.dateFormat2(new Date());
}
that.$API.wpm.mlog.submit.req(that.mlogItem.id).then((res) => {