GenerateChargeAgainst.cshtml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @section scripts{
  4. <script type="text/javascript">
  5. var nonSelect = "@DropdownList.PLEASE_SELECT";
  6. function GenerateChargeAgainst_Submit() {
  7. EMISFunction.FormSubmit();
  8. $.post(CMS_SystemConfig.VirtualDirectoryPath + '/WorktimeAdjustment/GenerateChargeAgainst',
  9. { schoolyearID: $("#ddlSchoolyear").combobox("getValue") },
  10. function (data) {
  11. EMISFunction.FormSuccess(data);
  12. EMISFunction.FormComplete();
  13. });
  14. }
  15. </script>
  16. }
  17. @using (Ajax.BeginForm(new AjaxOptions
  18. {
  19. OnSuccess = "EMISFunction.FormSuccess",
  20. OnBegin = "EMISFunction.FormSubmit",
  21. OnComplete = "EMISFunction.FormComplete"
  22. }))
  23. {
  24. <div class="p_title">
  25. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  26. 生成被冲学时
  27. </div>
  28. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("GenerateChargeAgainst")</div>
  29. </div>
  30. <div class="search_list">
  31. <table cellpadding="0" cellspacing="0">
  32. <tr>
  33. <td><label>学年学期:</label>
  34. </td>
  35. <td>@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), ID = "ddlSchoolyear", Name = "ddlSchoolyear", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() })
  36. </td>
  37. </tr>
  38. </table>
  39. </div>
  40. }