提交代码
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user