Edit.cshtml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @model EMIS.ViewModel.GraduationManage.GraduationSetting.GraduationConditionView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/GraduationManage/GraduationSetting/GraduationConditionEdit.js" type="text/javascript"></script>
  9. <script type="text/javascript">
  10. </script>
  11. }
  12. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  13. @using (Ajax.BeginForm(new AjaxOptions
  14. {
  15. OnSuccess = "EMISFunction.FormSuccess",
  16. OnBegin = "EMISFunction.FormSubmit",
  17. OnComplete = "EMISFunction.FormComplete"
  18. }))
  19. {
  20. <div class="p_title">
  21. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  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" style=" min-width:0px">
  26. @Html.HiddenFor(x => x.GraduationConditionID)
  27. <table cellpadding="0" cellspacing="0" id="graduationConditiontable">
  28. <tr>
  29. <td>
  30. @Html.LabelFor(x => x.Title):
  31. </td>
  32. <td colspan="3">
  33. @Html.TextBoxFor(x => x.Title, new TextBoxOptions()
  34. {
  35. IsRequired = true
  36. },
  37. new Dictionary<string, string> { { "style", "width:75%;" } })
  38. </td>
  39. </tr>
  40. <tr>
  41. <td>
  42. @Html.LabelFor(x => x.OrderNo):
  43. </td>
  44. <td>
  45. @Html.TextBoxFor(x => x.OrderNo)
  46. </td>
  47. <td>
  48. @Html.LabelFor(x => x.IsEnable):
  49. </td>
  50. <td>
  51. @Html.CheckBoxFor(x => x.IsEnable)
  52. </td>
  53. </tr>
  54. </table>
  55. </div>
  56. }
  57. </div>