labelPrintSetting.jsp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  14. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  15. <script type="text/javascript" src="<%=basePath %>resource/lodopActivex/LodopsFuncs.js"></script>
  16. <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
  17. <embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed>
  18. </object>
  19. <script type="text/javascript">
  20. Ext.Loader.setConfig({
  21. enabled: true
  22. });//开启动态加载
  23. Ext.application({
  24. name: 'erp',//为应用程序起一个名字,相当于命名空间
  25. appFolder: basePath+'app',//app文件夹所在路径
  26. controllers: [//声明所用到的控制层
  27. 'scm.reserve.LabelPrintSetting'
  28. ],
  29. launch: function() {
  30. Ext.create('erp.view.scm.reserve.labelPrintSetting.Viewport');//创建视图
  31. }
  32. });
  33. var caller = getUrlParam('whoami');
  34. var gridCondition = getUrlParam('gridCondition');
  35. var arr = gridCondition.split("=");
  36. var lps_caller = arr[1].substring(1, (arr[1].length-1));
  37. </script>
  38. </head>
  39. <body >
  40. </body>
  41. </html>