Edit.cshtml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. @model EMIS.ViewModel.ProjectFeeTypeView
  2. @using EMIS.Web.Controls;
  3. @using EMIS.Entities;
  4. @using Bowin.Web.Controls.Mvc;
  5. @{
  6. ViewBag.Title = "Edit";
  7. }
  8. @section scripts{
  9. <script src="~/Scripts/Business/ExamManage/ChargeProjectFee.js" type="text/javascript"></script>
  10. <script type="text/javascript">
  11. </script>
  12. }
  13. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  14. @using (Ajax.BeginForm(new AjaxOptions
  15. {
  16. OnSuccess = "FormSuccess",
  17. OnBegin = "EMISFunction.FormSubmit",
  18. OnComplete = "EMISFunction.FormComplete"
  19. }))
  20. {
  21. <div class="p_title">
  22. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  23. </div>
  24. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  25. @if (Request.QueryString["Type"] != "1")//控制列表进入、屏蔽按钮权限
  26. {
  27. @Html.ContextMenuBar("Edit")
  28. }
  29. </div>
  30. </div>
  31. <div class="search_list">
  32. @Html.HiddenFor(x => x.ExaminationProjectFeeID)
  33. @Html.HiddenFor(x => x.ExaminationProjectFeeTypeID)
  34. <table cellpadding="0" cellspacing="0" id="Campustable">
  35. <tr>
  36. <td style="width:150px">
  37. @Html.LabelFor(x => x.FeeTypeName):
  38. </td>
  39. <td>
  40. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EX_ExaminationProjectFeeType, x => x.FeeTypeID)
  41. </td>
  42. </tr>
  43. <tr>
  44. <td>
  45. @Html.LabelFor(x => x.Fee):
  46. </td>
  47. <td>
  48. @Html.TextBoxFor(x => x.Fee)
  49. </td>
  50. </tr>
  51. <tr>
  52. <td>
  53. @Html.LabelFor(x => x.IsResit):
  54. </td>
  55. <td>
  56. @Html.CheckBox("IsResit", Model.IsResit == true)
  57. </td>
  58. </tr>
  59. <tr>
  60. <td>
  61. @Html.LabelFor(x => x.IsTrainingFee):
  62. </td>
  63. <td>
  64. @Html.CheckBox("IsTrainingFee", Model.IsTrainingFee == true)
  65. </td>
  66. </tr>
  67. <tr>
  68. <td>
  69. @Html.LabelFor(x => x.IsMaterial):
  70. </td>
  71. <td>
  72. @Html.CheckBox("IsMaterial", Model.IsMaterial == true)
  73. </td>
  74. </tr>
  75. </table>
  76. </div>
  77. }
  78. </div>