@model EMIS.ViewModel.CerificateView @using EMIS.Web.Controls; @using EMIS.Entities; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; ComboGridOptions cgopExamType = new ComboGridOptions { TextField = "Code", ValueField = "SchoolYearID", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Code", HeaderText="学年学期", Align=AlignStyle.Center ,Width=0.2}, new BoundFieldColumn { FieldName="Years", HeaderText="学年", Align=AlignStyle.Center ,Width=0.2}, new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="学期", Align=AlignStyle.Center ,Width=0.2}, }, PageSize = 5, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/SchoolYear/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@if (Request.QueryString["Type"] != "1")//控制列表进入、屏蔽按钮权限 { @Html.ContextMenuBar("StuEdit") }
@Html.HiddenFor(x => x.CertisfierDistributeID)
@Html.LabelFor(x => x.DistributeTypeID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.ER_CertisfierDistributeType, x => x.DistributeTypeID, new DropdownListOptions { OnSelect = "changeType" }, new Dictionary { })
@Html.TextBoxFor(x => x.EntrustDistributer, new TextBoxOptions { }, new Dictionary { { "style", "float:left" } })
 *
@Html.TextBoxFor(x => x.ContactNo, new TextBoxOptions { }, new Dictionary { { "style", "float:left" } })
 *
@Html.TextBoxFor(x => x.ContactIDNo, new TextBoxOptions { }, new Dictionary { { "style", "width:90%;float:left" } })
 *
@Html.TextBoxFor(x => x.ContactPerson, new TextBoxOptions() { }, new Dictionary { { "style", "width:90%;float:left" } })
 *
@Html.TextBoxFor(x => x.MailContactNo, new TextBoxOptions { }, new Dictionary { { "style", "float:left" } })
 *
@Html.TextBoxFor(x => x.Address, new TextBoxOptions { }, new Dictionary { { "style", "width:90%;float:left" } })
 *
}