detailgrid.jsp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  15. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  16. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  17. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  18. <style>
  19. tr.x-grid-record-gray .x-grid-cell {
  20. background: #CDC9C9 !important;
  21. font-style: italic !important;
  22. }
  23. </style>
  24. <script type="text/javascript">
  25. Ext.Loader.setConfig({
  26. enabled: true
  27. });//开启动态加载
  28. Ext.application({
  29. name: 'erp',//为应用程序起一个名字,相当于命名空间
  30. appFolder: basePath+'app',//app文件夹所在路径
  31. controllers: [//声明所用到的控制层
  32. 'ma.DetailGrid'
  33. ],
  34. launch: function() {
  35. Ext.create('erp.view.ma.DetailGrid');//创建视图
  36. }
  37. });
  38. var caller = "DetailGrid";
  39. var dbfinds = [];
  40. var formCondition = '';
  41. var gridCondition = '';
  42. var em_type="<%=session.getAttribute("em_type")%>";
  43. </script>
  44. </head>
  45. <body >
  46. </body>
  47. </html>