fix:光芯交接表单中日期获取

This commit is contained in:
shijing 2025-03-12 13:49:43 +08:00
parent 510c9bed11
commit 604b526c11
1 changed files with 1 additions and 7 deletions

View File

@ -301,13 +301,7 @@ export default {
that.form.type = that.type;
let materialObj = that.$TOOL.data.get("MATERIAL_OBJECT");
that.materialObj = materialObj;
let date = 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.handle_date = that.form.send_date = this.$TOOL.dateFormat2(new Date());
that.form.send_mgroup = that.mgroupId;
//type 10: 20: 40:
//mtype 10: 20: 30: