vendor.jsp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. .x-panel,.x-panel-body {
  15. overflow: inherit;
  16. }
  17. .x-grid-empty,.x-grid-tip {
  18. position: absolute;
  19. display: none;
  20. }
  21. .x-grid-empty {
  22. top: 30%;
  23. left: 10px;
  24. right: 10px;
  25. text-align: center;
  26. }
  27. .x-grid-tip {
  28. left: 70%;
  29. right: 10px;
  30. top: -65px;
  31. height: 60px;
  32. z-index: 10;
  33. }
  34. .alert {
  35. margin: 0 auto;
  36. padding: 15px;
  37. color: #8a6d3b;
  38. background-color: #fcf8e3;
  39. border: 1px solid #faebcc;
  40. border-radius: 4px;
  41. -webkit-box-shadow: 0 0 7px 0 rgba(119,119,119,0.2);
  42. box-shadow: 0 0 7px 0 rgba(119,119,119,0.2);
  43. }
  44. .arrow-border:before,.arrow-border:after {
  45. content: '';
  46. position: absolute;
  47. bottom: 0;
  48. width: 0;
  49. height: 0;
  50. border: 9px solid transparent;
  51. }
  52. .arrow-border.arrow-bottom-right:before {
  53. margin-bottom: -19px;
  54. right: 29px;
  55. border-top-color: #faebcc;
  56. border-right-color: #faebcc;
  57. }
  58. .arrow-border.arrow-bottom-right:after {
  59. margin-bottom: -17px;
  60. right: 30px;
  61. border-top-color: #fcf8e3;
  62. border-right-color: #fcf8e3;
  63. }
  64. .x-action-col-icon {
  65. cursor: pointer;
  66. }
  67. .x-form-field-help {
  68. height: 21px;
  69. line-height: 21px;
  70. color: #777;
  71. }
  72. .x-form-field-help>i {
  73. height: 16px;
  74. padding: 0 5px 0 14px;
  75. margin-top: 2px;
  76. float: left;
  77. }
  78. .pull-right {
  79. float: right;
  80. }
  81. .close {
  82. display: block;
  83. }
  84. </style>
  85. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  86. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  87. <script type="text/javascript">
  88. Ext.Loader.setConfig({
  89. enabled: true
  90. });//开启动态加载
  91. Ext.application({
  92. name: 'erp',//为应用程序起一个名字,相当于命名空间
  93. appFolder: basePath+'app',//app文件夹所在路径
  94. controllers: [//声明所用到的控制层
  95. 'scm.purchase.Vendor'
  96. ],
  97. launch: function() {
  98. Ext.create('erp.view.scm.purchase.Vendor');//创建视图
  99. }
  100. });
  101. var caller = 'Vendor';
  102. var formCondition = '';
  103. var gridCondition = '';
  104. </script>
  105. </head>
  106. <body >
  107. </body>
  108. </html>