fix:若日志没有结束时间,提交时间作为结束时间和处理时间
This commit is contained in:
parent
a3711e577f
commit
03b386d6fe
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue