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.material_out = this.material_out;
|
||||||
this.form.handle_date = this.handle_date;
|
this.form.handle_date = this.handle_date;
|
||||||
this.form.mgroup = this.mgroup;
|
this.form.mgroup = this.mgroup;
|
||||||
if(this.mode == "add"){
|
// if(this.mode == "add"){
|
||||||
let date = new Date();
|
// let date = new Date();
|
||||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
// this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getRouteOptions() {
|
getRouteOptions() {
|
||||||
|
|
|
||||||
|
|
@ -68,10 +68,10 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if(this.mode == "add"){
|
// if(this.mode == "add"){
|
||||||
let date = new Date();
|
// let date = new Date();
|
||||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
// this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//显示
|
//显示
|
||||||
|
|
|
||||||
|
|
@ -1043,7 +1043,6 @@ export default {
|
||||||
count_break: 0,
|
count_break: 0,
|
||||||
count_notok: 0,
|
count_notok: 0,
|
||||||
mlogb: [],
|
mlogb: [],
|
||||||
work_start_time: "",
|
|
||||||
},
|
},
|
||||||
mlogb: [],
|
mlogb: [],
|
||||||
userList: [],
|
userList: [],
|
||||||
|
|
@ -1075,9 +1074,9 @@ export default {
|
||||||
let handle_date = year + "-" + month + "-" + day;
|
let handle_date = year + "-" + month + "-" + day;
|
||||||
let dateNow = "" + year + month + day;
|
let dateNow = "" + year + month + day;
|
||||||
this.dateNow = dateNow;
|
this.dateNow = dateNow;
|
||||||
if(this.mode == "add"){
|
// if(this.mode == "add"){
|
||||||
this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
// this.form.work_start_time = this.$TOOL.dateFormat1(date);
|
||||||
}
|
// }
|
||||||
this.form.material_out = this.material_out;
|
this.form.material_out = this.material_out;
|
||||||
this.form.material_in = this.material_in;
|
this.form.material_in = this.material_in;
|
||||||
this.form.mtask = this.mtask;
|
this.form.mtask = this.mtask;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue