Edit.cshtml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @model EMIS.ViewModel.EducationManage.TrainingClassView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/EducationManage/TrainingClassEdit.js"></script>
  9. }
  10. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  11. @using (Ajax.BeginForm(new AjaxOptions
  12. {
  13. OnSuccess = "EMISFunction.FormSuccess",
  14. OnBegin = "EMISFunction.FormSubmit",
  15. OnComplete = "EMISFunction.FormComplete"
  16. }))
  17. {
  18. @Html.HiddenFor(x => x.TrainingClassID)
  19. <div class="p_title">
  20. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  21. 培训班级
  22. </div>
  23. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  24. </div>
  25. <div class="search_list popupWindowContent">
  26. <table cellpadding="0" cellspacing="0" id="departmenttable">
  27. <tr>
  28. <td style="width: 150px">
  29. @Html.LabelFor(x => x.SchoolyearCode):
  30. </td>
  31. <td>
  32. @Html.TextBoxFor(x => x.SchoolyearCode, new TextBoxOptions() { IsEnabled = false })
  33. </td>
  34. <td>
  35. @Html.LabelFor(x => x.ExaminationBatchName):
  36. </td>
  37. <td>
  38. @Html.TextBoxFor(x => x.ExaminationBatchName, new TextBoxOptions() { IsEnabled = false })
  39. </td>
  40. </tr>
  41. <tr>
  42. <td>
  43. @Html.LabelFor(x => x.ExaminationTypeName):
  44. </td>
  45. <td>
  46. @Html.TextBoxFor(x => x.ExaminationTypeName, new TextBoxOptions() { IsEnabled = false })
  47. </td>
  48. <td>
  49. @Html.LabelFor(x => x.ExaminationProjectName):
  50. </td>
  51. <td>
  52. @Html.TextBoxFor(x => x.ExaminationProjectName, new TextBoxOptions() { IsEnabled = false })
  53. </td>
  54. </tr>
  55. <tr>
  56. <td>
  57. @Html.LabelFor(x => x.Name):
  58. </td>
  59. <td colspan="3">
  60. @Html.TextBoxFor(x => x.Name, new Dictionary<string, object> { { "style", "width: 75%" } })
  61. </td>
  62. </tr>
  63. </table>
  64. </div>
  65. }
  66. </div>