monthAccount.jsp 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. %>
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ext/4.2/resources/ext-theme-gray/ext-theme-gray-all.css"/>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <style>
  14. .x-panel .x-grid-body {
  15. background: #f1f1f1;
  16. border-color: #d0d0d0;
  17. border-style: solid;
  18. border-width: 1px;
  19. border-top-color: #c5c5c5;
  20. }
  21. .x-grid-cell-inner {
  22. padding: 0 6px;
  23. }
  24. .x-grid-group-hd {
  25. padding: 6px;
  26. background: #EEEEE0;
  27. border-width: 0 0 2px 0;
  28. border-style: solid;
  29. border-color: #bcb1b0;
  30. cursor: pointer;
  31. }
  32. .isCount .x-grid-cell{
  33. font-style: italic;
  34. background-color: #FFE4B5;
  35. }
  36. .x-grid-with-col-lines .x-grid-row .x-grid-cell.x-grid-cell-warn{
  37. border-right-style: dashed !important;
  38. background-color: #FFE4B5!important;
  39. border-right-color: #999 !important;
  40. font-style: italic;
  41. }
  42. .x-form-display-field {
  43. margin-top:7px;
  44. }
  45. .x-btn-default-toolbar-small-icon-text-left .x-btn-inner {
  46. line-height: 20px !important;
  47. }
  48. .x-btn-default-toolbar-small-noicon .x-btn-inner {
  49. line-height: 20px;
  50. }
  51. .x-group-header{
  52. background:#4b9de3 !important;
  53. }
  54. .x-group-sub-header{
  55. border-bottom-width: 0px !important;
  56. }
  57. .x-form-item-label, .x-form-cb-label-after {
  58. font-size: 12px !important;
  59. }
  60. </style>
  61. <script type="text/javascript" src="<%=basePath %>resource/ext/4.2/ext-all.js"></script>
  62. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  63. <script type="text/javascript">
  64. Ext.override(Ext.grid.column.Number, {
  65. defaultRenderer : function(value) {
  66. return value ? Ext.util.Format.number(value, this.format) : '';
  67. }
  68. });
  69. /**
  70. * 期末对账
  71. */
  72. Ext.Loader.setConfig({
  73. enabled: true
  74. });//开启动态加载
  75. Ext.application({
  76. name: 'erp',//为应用程序起一个名字,相当于命名空间
  77. appFolder: basePath+'app',//app文件夹所在路径
  78. controllers: [//声明所用到的控制层
  79. 'scm.reserve.MonthAccount'
  80. ],
  81. launch: function() {
  82. Ext.create('erp.view.scm.reserve.MonthAccount');
  83. }
  84. });
  85. var caller = 'MonthAccount!scm';
  86. </script>
  87. </head>
  88. <body >
  89. </body>
  90. </html>