fix:光子日志添加work_start_time
This commit is contained in:
parent
62ed6a66bb
commit
205a5ddf4e
|
@ -683,6 +683,10 @@ export default {
|
|||
open(mode = "add") {
|
||||
this.mode = mode;
|
||||
this.visible = true;
|
||||
if(this.mode == "add"){
|
||||
let date = new Date();
|
||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
countNotOkSun() {
|
||||
|
|
|
@ -74,6 +74,10 @@ export default {
|
|||
open(mode = "add") {
|
||||
this.mode = mode;
|
||||
this.visible = true;
|
||||
if(this.mode == "add"){
|
||||
let date = new Date();
|
||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
//提交
|
||||
|
|
|
@ -1043,6 +1043,7 @@ export default {
|
|||
count_break: 0,
|
||||
count_notok: 0,
|
||||
mlogb: [],
|
||||
work_start_time: "",
|
||||
},
|
||||
mlogb: [],
|
||||
userList: [],
|
||||
|
@ -1303,6 +1304,10 @@ export default {
|
|||
open(mode = "add") {
|
||||
this.mode = mode;
|
||||
this.visible = true;
|
||||
if(this.mode == "add"){
|
||||
let date = new Date();
|
||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
countNotOkSun() {
|
||||
|
|
Loading…
Reference in New Issue