AutoNewStockIn.cshtml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @model EMIS.ViewModel.TeachingMaterial.StockInView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Web.Controls;
  4. @{
  5. var schoolYear = ViewData["schoolYear"];
  6. ViewBag.Title = "AutoNewStockIn";
  7. }
  8. @section scripts{
  9. <script src="../../Scripts/Business/TeachingMaterial/StockIn.js" type="text/javascript"></script>
  10. }
  11. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  12. @using (Ajax.BeginForm(new AjaxOptions { Url = "/StockIn/AutoNewStockIn?schoolyearID=" + schoolYear, OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
  13. {
  14. <div class="p_title">
  15. @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  16. 自动入库
  17. </div>*@
  18. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Auto")</div>
  19. </div>
  20. <div class="search_list">
  21. <table cellpadding="0" cellspacing="0" id="teachersOrdertable">
  22. <tr>
  23. <td>
  24. @Html.LabelFor(x => x.SchoolyearID):
  25. </td>
  26. <td>
  27. @Html.DropdownList(new DropdownListOptions
  28. {
  29. BindType = DropdownListBindType.PleaseSelect,
  30. ItemSourceUrl = Url.Content("~/SchoolYear/DropDownAfterCurrent"),
  31. ID = "SchoolyearDropdown",
  32. Name = "SchoolyearDropdown",
  33. SelectedValue = schoolYear
  34. })
  35. </td>
  36. </tr>
  37. </table>
  38. </div>
  39. }
  40. </div>