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