@model EMIS.ViewModel.TeachingMaterial.TeachersOrderView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @using EMIS.ViewModel; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { Url = "/TeachersOrder/Edit", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@*
征订申请信息
*@
@if (Model.ApproveStatus == BaseExtensions.GetStartFlowStatus(typeof(EMIS.Entities.ET_TeachersOrder).Name) || (BaseExtensions.GetBackpointStatus(typeof(EMIS.Entities.ET_TeachersOrder).Name).Contains(Model.ApproveStatus))) { @Html.ContextMenuBar("Edit") }
@Html.HiddenFor(x => x.TeachersOrderID)
@Html.LabelFor(x => x.SchoolyearID): @Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions { ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), TextField = "Text", ValueField = "Value" }) @Html.LabelFor(x => x.Price): @Html.TextBoxFor(x => x.Price, new TextBoxOptions { IsEnabled = false })
@Html.LabelFor(x => x.OrderQty): @Html.TextBoxFor(x => x.OrderQty) @Html.LabelFor(x => x.Author): @Html.TextBoxFor(x => x.Author, new TextBoxOptions { IsEnabled = false })
@Html.LabelFor(x => x.TeachingMaterialCode): @Html.TextBoxFor(x => x.TeachingMaterialCode, new TextBoxOptions { IsEnabled = false }) @Html.LabelFor(x => x.TeachingMaterialName): @Html.TextBoxFor(x => x.TeachingMaterialName, new TextBoxOptions { IsEnabled = false })
@Html.LabelFor(x => x.CollegeName): @Html.TextBoxFor(x => x.CollegeName, new TextBoxOptions { IsEnabled = false }) @Html.LabelFor(x => x.ApproveStatus): @Html.DropdownListFor((x => x.ApproveStatus), new DropdownListOptions { ItemSourceUrl = Url.Content("~/Common/ApproveStatusDropDown?tableName=" + typeof(EMIS.Entities.ET_TeachersOrder).Name), IsEnabled = false })
@Html.LabelFor(x => x.CoursematerialCode): @Html.TextBoxFor(x => x.CoursematerialCode, new TextBoxOptions { IsEnabled = false }) @Html.LabelFor(x => x.CoursematerialName): @Html.TextBoxFor(x => x.CoursematerialName, new TextBoxOptions { IsEnabled = false })
@Html.LabelFor(x => x.OrderDesc): @Html.TextAreaFor(x => x.OrderDesc, new Dictionary { { "style", "width:500px;" } })
}