123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @model EMIS.ViewModel.TeachingMaterial.StudentsOrderView
- @{
- ViewBag.Title = "Edit";
- List<DropdownListItem> listAction = ViewData["listAction"] as List<DropdownListItem>;
- 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{
- <script src="~/Scripts/Business/TeachingMaterial/StudentOrderEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- var JsonDate = top.$("#@(Request["WindowID"])").data("inputData");
- $("#hid_JsonStr").val(JsonDate);//将json字符串赋值给隐藏域
- });
- </script>
- }
- @{
- var years = Request.Params["years"];
- var tmps = Request.Params["tmps"];
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/StudentsOrder/BatchSetPreAddedValue", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <div class="p_title">
- @* <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 预加设置信息</div>*@
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- </div>
- <div class="search_list">
- @Html.Hidden("hid_teachersOrderIDs", studentsOrderID)
- @Html.Hidden("hid_JsonStr")
- @Html.Hidden("hid_schoolYearIDs", schoolYearIDs)
- @Html.Hidden("hid_teachingMaterialPoolIDs", teachingMaterialPoolIDs)
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>
- @Html.Label("增加数量"):
- </td>
- <td>@Html.TextBoxFor(x=>x.PreIncreaseQty)
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|