From 604b526c1136ada5ec6145da18732c0567c0853c Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 12 Mar 2025 13:49:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E8=8A=AF=E4=BA=A4=E6=8E=A5?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=B8=AD=E6=97=A5=E6=9C=9F=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/handover_form.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue index ea4b1eb6..ddc267ea 100644 --- a/src/views/wpm_gx/handover_form.vue +++ b/src/views/wpm_gx/handover_form.vue @@ -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:合批操作