fix:光芯交接表单中日期获取
This commit is contained in:
parent
510c9bed11
commit
604b526c11
|
|
@ -301,13 +301,7 @@ export default {
|
||||||
that.form.type = that.type;
|
that.form.type = that.type;
|
||||||
let materialObj = that.$TOOL.data.get("MATERIAL_OBJECT");
|
let materialObj = that.$TOOL.data.get("MATERIAL_OBJECT");
|
||||||
that.materialObj = materialObj;
|
that.materialObj = materialObj;
|
||||||
let date = new Date();
|
that.form.handle_date = that.form.send_date = this.$TOOL.dateFormat2(new Date());
|
||||||
let year = date.getFullYear();
|
|
||||||
let month = date.getMonth() + 1;
|
|
||||||
let day = date.getDate();
|
|
||||||
month = month>9?month:'0'+month;
|
|
||||||
day = day>9?day:'0'+day;
|
|
||||||
that.form.handle_date = that.form.send_date = year + "-" + month + "-" + day;
|
|
||||||
that.form.send_mgroup = that.mgroupId;
|
that.form.send_mgroup = that.mgroupId;
|
||||||
//type 10:正常交接 ;20:返工交接 ;40:报废交接
|
//type 10:正常交接 ;20:返工交接 ;40:报废交接
|
||||||
//mtype 10:正常交接 ;20:分批操作 ;30:合批操作
|
//mtype 10:正常交接 ;20:分批操作 ;30:合批操作
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue