salepayment.jsp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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">
  16. var _noc = getUrlParam('_noc');
  17. var caller = '${param.whoami}';
  18. caller = caller.replace(/'/g, "");
  19. var formCondition = "";
  20. var gridCondition ="";
  21. Ext.Loader.setConfig({
  22. enabled: true
  23. });//开启动态加载
  24. Ext.application({
  25. name: 'erp',//为应用程序起一个名字,相当于命名空间
  26. appFolder: basePath+'app',//app文件夹所在路径
  27. controllers: [//声明所用到的控制层
  28. 'scm.sale.SalePayment'
  29. ],
  30. launch: function() {
  31. Ext.create('erp.view.scm.sale.SalePayment');//创建视图
  32. }
  33. });
  34. </script>
  35. </head>
  36. <body >
  37. </body>
  38. </html>