fix:光子日志回退到不需要传work_start_time
This commit is contained in:
parent
469d9ca3de
commit
b6f7509362
|
@ -609,10 +609,10 @@ export default {
|
|||
this.form.material_out = this.material_out;
|
||||
this.form.handle_date = this.handle_date;
|
||||
this.form.mgroup = this.mgroup;
|
||||
if(this.mode == "add"){
|
||||
let date = new Date();
|
||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
}
|
||||
// if(this.mode == "add"){
|
||||
// let date = new Date();
|
||||
// this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
getRouteOptions() {
|
||||
|
|
|
@ -68,10 +68,10 @@ export default {
|
|||
};
|
||||
},
|
||||
mounted() {
|
||||
if(this.mode == "add"){
|
||||
let date = new Date();
|
||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
}
|
||||
// if(this.mode == "add"){
|
||||
// let date = new Date();
|
||||
// this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
//显示
|
||||
|
|
|
@ -1043,7 +1043,6 @@ export default {
|
|||
count_break: 0,
|
||||
count_notok: 0,
|
||||
mlogb: [],
|
||||
work_start_time: "",
|
||||
},
|
||||
mlogb: [],
|
||||
userList: [],
|
||||
|
@ -1075,9 +1074,9 @@ export default {
|
|||
let handle_date = year + "-" + month + "-" + day;
|
||||
let dateNow = "" + year + month + day;
|
||||
this.dateNow = dateNow;
|
||||
if(this.mode == "add"){
|
||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
}
|
||||
// if(this.mode == "add"){
|
||||
// this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||
// }
|
||||
this.form.material_out = this.material_out;
|
||||
this.form.material_in = this.material_in;
|
||||
this.form.mtask = this.mtask;
|
||||
|
|
Loading…
Reference in New Issue