List.cshtml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "List";
  5. }
  6. @section scripts{
  7. <script src="../../Scripts/Business/PaymentManage/PracticeRate.js" type="text/javascript"></script>
  8. }
  9. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  10. @Html.Position()
  11. <div class="p_SearchTitle">
  12. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  13. 查询条件
  14. </div>
  15. </div>
  16. <div class="p_title">
  17. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  18. 形式系数列表
  19. </div>
  20. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  21. </div>
  22. <div class="search_list">
  23. @Html.DataGrid(new DataGridOptions
  24. {
  25. Columns = new List<DataGridColumn>()
  26. {
  27. new CheckBoxFieldColumn{ HeaderText="", FieldName="PracticeRateID" },
  28. new BoundFieldColumn { FieldName="CourseTypeDesc", HeaderText="课程类型", Align=AlignStyle.Center },
  29. new BoundFieldColumn { FieldName="Rate", HeaderText="课酬系数", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }
  30. },
  31. IsCheckOnSelect = true,
  32. DataSourceUrl = Url.Content("~/PracticeRate/List"),
  33. ID = "dgPracticeRateList",
  34. IsPagination = true,
  35. IsShowRowNumbers = true,
  36. IsSingleSelect = false
  37. })
  38. </div>
  39. </div>