@Html.HiddenFor(model => model.SituationID)
@Html.Hidden("NGUID", ViewContext.RouteData.Values["NGUID"])
@Html.MyDropDownListSelect2For(model=>model.DataYear,ViewBag.YearsSelectList as IEnumerable, optionLabel:null,htmlAttributes:new{@class= "form-control" })
@Html.ValidationMessageFor(model => model.DataYear, "", new { @class = "error" })
@Html.MyDateTimePickerFor(model => model.ReportedTime)
@Html.ValidationMessageFor(model => model.ReportedTime, "", new { @class = "error" })
系統自動計算
@Html.MyDateTimePickerFor(model => model.ApprovedTime)
@Html.ValidationMessageFor(model => model.ApprovedTime, "", new { @class = "error" })
@Html.TextBoxFor(model => model.ApprovedNum, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.ApprovedNum)
@Html.TextBoxFor(model => model.Sort, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.Sort)
@Html.MyRadioButtonListBooleanFor(model => model.Display)
@Html.ValidationMessageFor(model => model.Display, "", new { @class = "error" })
@Html.Hidden("CreatorID", ViewContext.RouteData.Values["CreatorID"])
@Html.Hidden("UpdaterID", ViewContext.RouteData.Values["UpdaterID"])
@Html.ValidationSummary("", new { @class = "validation-message" })