getKind.jsp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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>
  14. .breadcrumb{
  15. font: 11px Arial, Helvetica, sans-serif;
  16. background-image:url('<%=basePath %>resource/images/screens/bc_bg.png');
  17. background-repeat:repeat-x;
  18. height:100%;
  19. line-height:30px;
  20. color:#9b9b9b;
  21. border:solid 1px #cacaca;
  22. width:100%;
  23. overflow:hidden;
  24. margin:0px;
  25. padding:0px;
  26. }
  27. .breadcrumb li {
  28. list-style-type:none;
  29. float:left;
  30. padding-left:10px;
  31. }
  32. .breadcrumb a{
  33. height:30px;
  34. display:block;
  35. background-image:url('<%=basePath %>resource/images/screens/bc_separator.png');
  36. background-repeat:no-repeat;
  37. background-position:right;
  38. padding-right: 15px;
  39. text-decoration: none;
  40. color:#454545;
  41. }
  42. .home{
  43. border:none;
  44. margin: 6px 0px;
  45. }
  46. .breadcrumb a:hover{
  47. color:#35acc5;
  48. }
  49. </style>
  50. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  51. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  52. <style>
  53. .x-custom .x-panel-default,.x-custom .x-panel-body-default {
  54. border-color: rgb(240, 240, 241);
  55. }
  56. .x-custom .x-panel-header {
  57. padding: 3px 10px;
  58. border-top: 1px solid #d0d0d0;
  59. }
  60. .x-custom .x-panel-header-default {
  61. background-color: #c8c8c8;
  62. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f0f0f0),
  63. color-stop(100%, #c8c8c8));
  64. background-image: -webkit-linear-gradient(top, #f0f0f0, #c8c8c8);
  65. background-image: -moz-linear-gradient(top, #f0f0f0, #c8c8c8);
  66. background-image: -o-linear-gradient(top, #f0f0f0, #c8c8c8);
  67. background-image: -ms-linear-gradient(top, #f0f0f0, #c8c8c8);
  68. background-image: linear-gradient(top, #f0f0f0, #c8c8c8);
  69. }
  70. .x-custom .x-panel-header-text {
  71. color: #000
  72. }
  73. .x-custom .x-form-item-medium .x-form-text{
  74. height: 32px;
  75. line-height: 32px;
  76. padding: 1px 5px;
  77. }
  78. .x-custom .x-grid-row .x-grid-cell, .x-custom .x-grid-cell-inner {
  79. /* height: 64px;
  80. line-height: 64px */
  81. }
  82. #uuIdGrid .x-grid-row .x-grid-cell,#uuIdGrid .x-grid-cell-inner{
  83. height: 64px;
  84. line-height: 64px
  85. }
  86. .x-custom .x-text-link {
  87. color: #3498db;
  88. text-decoration: underline;
  89. }
  90. .x-custom .x-text-muted {
  91. color: #999
  92. }
  93. </style>
  94. <script type="text/javascript">
  95. Ext.Loader.setConfig({
  96. enabled: true
  97. });//开启动态加载
  98. Ext.application({
  99. name: 'erp',//为应用程序起一个名字,相当于命名空间
  100. appFolder: basePath+'app',//app文件夹所在路径
  101. controllers: [//声明所用到的控制层
  102. 'scm.product.GetKind'
  103. ],
  104. launch: function() {
  105. Ext.create('erp.view.scm.product.GetKind.Viewport');//创建视图
  106. }
  107. });
  108. var caller = 'GetKind';
  109. var type = getUrlParam('type');
  110. var status=getUrlParam('status');
  111. var formCondition = '';
  112. var gridCondition = '';
  113. var msg = '';
  114. var page = 1;
  115. var value = 0;
  116. var total = 0;
  117. var dataCount = 0;//结果总数
  118. var height = window.innerHeight;
  119. if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
  120. height = screen.height*0.73;
  121. }
  122. //var pageSize = parseInt(height*0.7/23);
  123. var pageSize=5;
  124. </script>
  125. </head>
  126. <body >
  127. </body>
  128. </html>