@using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @model EMIS.ViewModel.TeachingMaterial.StudentsOrderView @{ ViewBag.Title = "Edit"; List listAction = ViewData["listAction"] as List; string studentsOrderID = ViewData["StudentsOrderID"] as string; var schoolYearIDs = ViewData["schoolYearIDs"] == null ? "-1" : ViewData["schoolYearIDs"].ToString(); var teachingMaterialPoolIDs = ViewData["teachingMaterialPoolIDs"] == null ? "-1" : ViewData["teachingMaterialPoolIDs"].ToString(); } @section scripts{ } @{ var years = Request.Params["years"]; var tmps = Request.Params["tmps"]; }
@using (Ajax.BeginForm(new AjaxOptions { Url = "/StudentsOrder/ChangeOrderQty", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@*
修改征订数量
*@
@Html.ContextMenuBar("Edit")
@Html.Hidden("hid_teachersOrderIDs", studentsOrderID) @Html.Hidden("hid_JsonStr") @Html.Hidden("hid_schoolYearIDs", schoolYearIDs) @Html.Hidden("hid_teachingMaterialPoolIDs", teachingMaterialPoolIDs)
@Html.Label("征订数量"): @Html.TextBoxFor(x=>x.OrderQty)
}