提交代码

This commit is contained in:
2024-06-06 16:00:57 +08:00
parent dd3f0cfafe
commit 1739e39d5b
13 changed files with 88 additions and 36 deletions
@@ -21,8 +21,8 @@ namespace FineUIPro.Web.TestRun.DriverReport
if (data != null)
{
this.hdId.Text = id;
this.txtMonthReportCode.Text = data.MonthReportCode;
this.txtMonthReportDate.Text = data.MonthReportDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.MonthReportDate) : "";
this.txtStartDate.Text = data.StartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.StartDate) : "";
this.txtEndDate.Text = data.EndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.EndDate) : "";
this.txtMilestone.Text = data.Milestone;
this.txtCompleteWork.Text = data.CompleteWork;
@@ -32,10 +32,10 @@ namespace FineUIPro.Web.TestRun.DriverReport
this.txtNextMonthCompleteWork.Text = data.NextMonthCompleteWork;
this.txtNextMonthSchedule.Text = data.NextMonthSchedule;
this.txtNextMonthDrivingCost.Text = data.NextMonthDrivingCost;
GroupPanel8.Title = "下月开车计划要点(" + data.EndDate.Value.AddMonths(1).Month + "月份)";
}
}
GroupPanel8.Title = "下月开车计划要点(" + Convert.ToDateTime(this.txtMonthReportDate.Text).AddMonths(1).Month + "月份)";
}
}
#endregion