shiftcheck.jsp 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. request.setCharacterEncoding("utf-8");
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  14. <style>
  15. .custom-button {
  16. cursor: pointer;
  17. border-top: 1px solid #96d1f8;
  18. background: #65a9d7;
  19. background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7) );
  20. background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
  21. background: -moz-linear-gradient(top, #3e779d, #65a9d7);
  22. background: -ms-linear-gradient(top, #3e779d, #65a9d7);
  23. background: -o-linear-gradient(top, #3e779d, #65a9d7);
  24. padding: 1px 5px;
  25. -webkit-border-radius: 8px;
  26. -moz-border-radius: 8px;
  27. border-radius: 8px;
  28. -webkit-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
  29. -moz-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
  30. box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
  31. text-shadow: rgba(0, 0, 0, .4) 0 1px 0;
  32. color: white;
  33. font-size: 13px;
  34. font-family: Georgia, serif;
  35. text-decoration: none;
  36. vertical-align: middle;
  37. height: 24;
  38. }
  39. .custom-label {
  40. color: red;
  41. font-size: 15px;
  42. font-weight: bold;
  43. }
  44. .loading {
  45. background-image: url("<%=basePath %>resource/images/loading.gif") !important;
  46. background-position: center;
  47. background-repeat: no-repeat;
  48. }
  49. .custom-field {
  50. margin-left: 10px;
  51. color: #666;
  52. font-weight: normal;
  53. }
  54. .checked {
  55. margin-left: 30% !important;
  56. background-image: url("<%=basePath %>resource/images/renderer/finishrecord.png") !important;
  57. background-repeat: no-repeat;
  58. background-position: center;
  59. color: blue;
  60. }
  61. .error {
  62. background-image: url("<%=basePath %>resource/images/renderer/important.png") !important;
  63. background-repeat: no-repeat;
  64. background-position: center;
  65. color: red;
  66. font-weight: normal;
  67. }
  68. .detail {
  69. cursor: pointer;
  70. color: blue;
  71. text-decoration: underline;
  72. }
  73. .custom .x-grid-row, .custom .x-grid-row .x-grid-cell,.custom .x-grid-cell-inner {
  74. height: auto !important;
  75. }
  76. </style>
  77. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  78. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  79. <script type="text/javascript">
  80. /**
  81. * 校验转单数据
  82. */
  83. Ext.Loader.setConfig({
  84. enabled: true
  85. });//开启动态加载
  86. Ext.application({
  87. name: 'erp',//为应用程序起一个名字,相当于命名空间
  88. appFolder: basePath+'app',//app文件夹所在路径
  89. controllers: [//声明所用到的控制层
  90. 'ma.ShiftCheck'
  91. ],
  92. launch: function() {
  93. Ext.create('erp.view.ma.ShiftCheck');//创建视图
  94. }
  95. });
  96. </script>
  97. </head>
  98. <body >
  99. </body>
  100. </html>