billrecord.jsp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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"
  12. href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"
  13. type="text/css"></link>
  14. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css"
  15. type="text/css"></link>
  16. <style type="text/css">
  17. .search-item {
  18. font: normal 11px tahoma, arial, helvetica, sans-serif;
  19. padding: 3px 10px 3px 10px;
  20. border: 1px solid #fff;
  21. border-bottom: 1px solid #eeeeee;
  22. white-space: normal;
  23. color: #555;
  24. }
  25. .search-item h3 {
  26. display: block;
  27. font: inherit;
  28. font-weight: bold;
  29. color: #222;
  30. }
  31. .search-item h3 span {
  32. float: right;
  33. font-weight: normal;
  34. margin: 0 0 5px 5px;
  35. width: 150px;
  36. display: block;
  37. clear: none;
  38. }
  39. </style>
  40. <script type="text/javascript"
  41. src="<%=basePath %>resource/ext/ext-all.js"></script>
  42. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  43. <script type="text/javascript">
  44. var _i = getUrlParam('ra_id'), _c = getUrlParam('ra_type');
  45. if(_i != null) {
  46. if(_c != 'billtask') {
  47. window.location.href = basePath + 'jsps/plm/record/workrecord.jsp?_noc=1&formCondition=ra_idIS' + _i + '&gridCondition=wr_raidIS' + _i;
  48. } else {
  49. window.location.href = basePath + 'jsps/plm/record/billrecord.jsp?_noc=1&formCondition=ra_idIS' + _i;
  50. }
  51. } else {
  52. Ext.Loader.setConfig({
  53. enabled: true
  54. });//开启动态加载
  55. Ext.application({
  56. name: 'erp',//为应用程序起一个名字,相当于命名空间
  57. appFolder: '<%=basePath %>'+'app',//app文件夹所在路径
  58. controllers: [//声明所用到的控制层
  59. 'plm.record.BillRecord'
  60. ],
  61. launch: function() {
  62. Ext.create('erp.view.plm.record.BillRecord');//创建视图
  63. }
  64. });
  65. var caller = 'ResourceAssignment!Bill';
  66. var recorder = '<%=session.getAttribute("em_name")%>';
  67. var emid = '<%=session.getAttribute("em_uu")%>';
  68. var formCondition = "";
  69. }
  70. </script>
  71. </head>
  72. <body>
  73. </body>
  74. </html>