voucher.jsp.svn-base 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <style type="text/css">
  14. .custom-ass .x-grid-cell{
  15. border-top-color: #999;
  16. border-top-style: dashed;
  17. background: #ffdab9 !important;
  18. font-style: italic !important
  19. }
  20. .x-grid-rowwrap-div {
  21. border-width: 0;
  22. }
  23. .u-table>tbody>tr:nth-child(odd) {
  24. background-color: #f9f9f9;
  25. }
  26. .u-table>tbody>tr>td {
  27. padding: 5px;
  28. line-height: 1.4;
  29. vertical-align: top;
  30. border: solid #ddd;
  31. border-width: 1px 1px 0 1px;
  32. position: relative;
  33. }
  34. .u-icon {
  35. display: none;
  36. cursor: pointer;
  37. position: absolute;
  38. background-repeat: no-repeat;
  39. width: 16px;
  40. height: auto;
  41. top: 6px;
  42. left: auto;
  43. bottom: 0;
  44. right: 5px;
  45. }
  46. .u-table>tbody>tr:hover .u-icon {
  47. display: block;
  48. }
  49. .text-right {
  50. text-align: right;
  51. }
  52. </style>
  53. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  54. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  55. <script type="text/javascript" src="<%=basePath%>resource/ux/RowExpander.js"></script>
  56. <script type="text/javascript">
  57. Ext.Array.findBy = function(array, fn, scope) {
  58. var i = 0,
  59. len = array.length;
  60. for (; i < len; i++) {
  61. if (fn.call(scope || array, array[i], i)) {
  62. return array[i];
  63. }
  64. }
  65. return null;
  66. };
  67. Ext.Loader.setConfig({
  68. enabled: true
  69. });//开启动态加载
  70. Ext.application({
  71. name: 'erp',//为应用程序起一个名字,相当于命名空间
  72. appFolder: basePath+'app',//app文件夹所在路径
  73. controllers: [//声明所用到的控制层
  74. 'fa.ars.Voucher'
  75. ],
  76. launch: function() {
  77. Ext.create('erp.view.fa.ars.Voucher');//创建视图
  78. }
  79. });
  80. var caller = 'Voucher';
  81. var formCondition = '';
  82. var gridCondition = '';
  83. </script>
  84. </head>
  85. <body >
  86. </body>
  87. </html>