singleGenerateBarcode.jsp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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/resources/css/ext-all-gray.css"/>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  14. <style type="text/css">
  15. .custom-turned .x-grid-cell {
  16. background: #ffdab9 !important;
  17. font-style: italic !important;
  18. border-color: #ededed;
  19. border-style: solid;
  20. border-width: 1px 0;
  21. border-top-color: #fafafa;
  22. height: 26px;
  23. line-height: 26px
  24. }
  25. .myCls{
  26. color: red;
  27. }
  28. .custom-turned .x-grid-cell-inner {
  29. background: #ffdab9 !important;
  30. font-style: italic !important;
  31. }
  32. </style>
  33. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  34. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  35. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  36. <script type="text/javascript" src="<%=basePath %>resource/zebraBrowserPrint/BrowserPrint-1.0.4.min.js"></script>
  37. <script type="text/javascript" src="<%=basePath %>resource/zebraBrowserPrint/zebraPrint.js"></script>
  38. <script type="text/javascript">
  39. Ext.Loader.setConfig({
  40. enabled: true
  41. });//开启动态加载
  42. Ext.application({
  43. name: 'erp',//为应用程序起一个名字,相当于命名空间
  44. appFolder: basePath+'app',//app文件夹所在路径
  45. controllers: [//声明所用到的控制层
  46. 'vendbarcode.SingleGenerateBarcode'
  47. ],
  48. launch: function() {
  49. Ext.create('erp.view.vendbarcode.singleGenerateBarcode.Viewport');
  50. }
  51. });
  52. var caller = getUrlParam('whoami');
  53. var dataCount = 0;//结果总数
  54. caller = caller.replace(/'/g, "");
  55. var urlcondition = getUrlParam('urlcondition');
  56. var height = window.innerHeight;
  57. if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
  58. height = screen.height*0.73;
  59. }
  60. var pageSize = parseInt(height*0.7/23);
  61. var page = 1;
  62. var value = 0;
  63. var total = 0;
  64. var page = 1;
  65. var pageSize = 50;
  66. </script>
  67. </head>
  68. <body>
  69. </body>
  70. </html>