Edit.cshtml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @model EMIS.ViewModel.PaymentManage.PaymentStandardView
  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/PaymentManage/PaymentStandardEdit.js" type="text/javascript"></script>
  9. <script type="text/javascript">
  10. var nonSelect = "@DropdownList.SELECT_ALL";
  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 = "EMISFunction.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;">@Html.ContextMenuBar("Edit")</div>
  25. </div>
  26. <div class="search_list">
  27. <table cellpadding="0" cellspacing="0">
  28. <tr>
  29. <td>@Html.LabelFor(x => x.TitleID):
  30. </td>
  31. <td>@Html.DictionaryDropDownListFor((EMIS.ViewModel.DictionaryItem.CF_Title), (x => x.TitleID))
  32. </td>
  33. <td>@Html.LabelFor(x => x.TeacherType)
  34. </td>
  35. <td>@Html.DictionaryDropDownListFor((EMIS.ViewModel.DictionaryItem.CF_TeacherType), (x => x.TeacherType))
  36. </td>
  37. </tr>
  38. <tr>
  39. <td>@Html.LabelFor(x => x.Amount):
  40. </td>
  41. <td>@Html.TextBoxFor(x => x.Amount)
  42. </td>
  43. <td><label></label>
  44. </td>
  45. <td>&nbsp;
  46. </td>
  47. </tr>
  48. </table>
  49. </div>
  50. }
  51. </div>