prodCreateBarcode.jsp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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/zebraBrowserPrint/BrowserPrint-1.0.4.min.js"></script>
  14. <script type="text/javascript" src="<%=basePath %>resource/zebraBrowserPrint/zebraPrint.js"></script>
  15. <style type="text/css">
  16. .x-html-editor-wrap textarea {
  17. background-color: #EEE8CD;
  18. }
  19. body{
  20. background: #f1f1f1;
  21. }
  22. .x-panel-body-default {
  23. background: #f9f9f9;
  24. border-color: #d0d0d0;
  25. color: black;
  26. border-width: 1px;
  27. border-style: solid
  28. }
  29. </style>
  30. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  31. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  32. <script type="text/javascript">
  33. //通用界面
  34. Ext.Loader.setConfig({
  35. enabled: true
  36. });//开启动态加载
  37. Ext.application({
  38. name: 'erp',//为应用程序起一个名字,相当于命名空间
  39. appFolder: basePath+'app',//app文件夹所在路径
  40. controllers: [//声明所用到的控制层
  41. 'scm.reserve.ProdCreateBarcode'
  42. ],
  43. launch: function() {
  44. Ext.create('erp.view.scm.reserve.ProdCreateBarcode');//创建视图
  45. }
  46. });
  47. var caller = getUrlParam('whoami');//caller决定了该页面的一切信息和逻辑
  48. var formCondition = '';
  49. var gridCondition = '';
  50. </script>
  51. </head>
  52. <body >
  53. </body>
  54. </html>