@using MES.Production.Service; @using Central.Control.Domain; @using Ant.Service.Common; @using CommonToolHelper; @{ ViewBag.Title = "添加/修改赛事组别"; Layout = "~/Views/Shared/_Layout.cshtml"; } @model MES.Production.Entity .YW_EntryConditions @**@ @using (Ajax.BeginForm("Save", null, new AjaxOptions() { HttpMethod = "Post", OnBegin = "SubAjax.Loading", OnComplete = "SubAjax.Complate", OnFailure = "SubAjax.Failure", OnSuccess = "SubAjax.Success" }, new { @class = "form-horizontal dig-from", @role = "form" })) {
@Html.HiddenFor(p => p.ID)
@Html.Hidden("sportsId", ViewData["sportsId"]) @Html.Hidden("sportsName", ViewData["sportsName"]) @Html.Hidden("SEPID", ViewData["SEPID"]) @Html.TextBoxFor(p => p.Constituencies, new { @class = "form-control", @id = "Name", @placeholder = "请输入赛事组别", @datatype = "*", @nullmsg = "请输入赛事组别!", @errormsg = "请输入赛事组别!" })
@*
@Html.Hidden("sportsId", ViewData["sportsIds"])
@Html.TextBox("SmallEventName", ViewData["SmallEventName"], new { @class = "form-control", @readonly = "readonly", @placeholder = "请选择比赛项目名称" })
*@
@Html.DropDownListFor(p => p.GradeStart, ViewBag.Grades as IEnumerable, new { @class = "form-control select2", @id = "GradeStart", @placeholder = "请输入年级", @datatype = "*", @nullmsg = "请输入年级!", @errormsg = "请输入年级!" })
~
@Html.DropDownListFor(p => p.GradeEnd, ViewBag.Grades as IEnumerable, new { @class = "form-control select2", @id = "GradeEnd", @placeholder = "请输入年级", @datatype = "*", @nullmsg = "请输入年级!", @errormsg = "请输入年级!" })
~
@Html.DropDownListFor(p => p.SchoolSmallType, ViewBag.SchoolSmallTypes as IEnumerable, new { @class = "form-control select2", @id = "SchoolSmallType", @placeholder = "请输入小类", @datatype = "*", @nullmsg = "请输入小类!", @errormsg = "请输入小类!" })
@if (Model.ID > 0) {
} else {
} @if (ViewData["sportsName"].ToString() == "武术") {
}
} @section scripts{ }