diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config index 070a5f8..3c98f31 100644 --- a/HJGL_DS/FineUIPro.Web/Web.config +++ b/HJGL_DS/FineUIPro.Web/Web.config @@ -11,7 +11,7 @@ - + diff --git a/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanEdit.aspx.cs index 2b57ac5..ff636e1 100644 --- a/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanEdit.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanEdit.aspx.cs @@ -285,14 +285,8 @@ namespace FineUIPro.Web.WeldMat.UsingPlan { this.txtAmount.Text = temp.Amount.ToString(); } - if (temp.InPutDate.HasValue) - { - this.txtInPutDate.Text = string.Format("{0:yyyy-MM-dd}", temp.InPutDate); - } - if (temp.OrderDate.HasValue) - { - this.txtOrderDate.Text = string.Format("{0:yyyy-MM-dd}", temp.OrderDate); - } + this.txtInPutDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + this.txtOrderDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); if (!string.IsNullOrEmpty(temp.OrderTime)) {