annual_comp_sumtable_view.jsp 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  4. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  5. <%
  6. String path = request.getContextPath();
  7. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  8. %>
  9. <!DOCTYPE html>
  10. <html lang="en">
  11. <head>
  12. <title>养护计划汇总</title>
  13. <base href="<%=basePath%>">
  14. <!-- jsp文件头和头部 -->
  15. <%@ include file="../../../system/index/top.jsp"%>
  16. <link rel="stylesheet" href="static/ace/css/annualDailyComp.css" />
  17. </head>
  18. <body class="no-skin" style="overflow-y: hidden;">
  19. <!-- /section:basics/navbar.layout -->
  20. <div class="main-container" id="main-container">
  21. <!-- /section:basics/sidebar -->
  22. <div class="main-content">
  23. <div class="main-content-inner">
  24. <div class="page-content">
  25. <div class="row">
  26. <div class="col-xs-12" style="overflow-x: hidden;">
  27. <form action="annualPlanKG/showSumTable.do" name="form" id="serarchForm" method="post">
  28. <input name="type" value="${pd.type}" type="hidden">
  29. <input name="YEAR" value="${pd.YEAR}" type="hidden">
  30. <input name="name" value="${pd.name}" type="hidden">
  31. </form>
  32. <div id="zhongxin" style="padding-top: 13px;">
  33. <div class='tableTitle'>${pd.YEAR}年${pd.name}</div>
  34. <p>单位:万元</p>
  35. <form name="Form" id="Form" method="post">
  36. <table id="simple-table" class="table table-striped table-bordered table-hover" style="margin-top:5px;">
  37. <thead>
  38. <tr>
  39. <th class='center' rowspan="2" style="width:50px;">序号</th>
  40. <th class='center' rowspan="2" colspan="2" style="min-width:150px;">道路名称</th>
  41. <th class='center' rowspan="2">设计里程(km)</th>
  42. <th class='center' rowspan="2">管养里程(km)</th>
  43. <th class='center' colspan="2">日常养护</th>
  44. <th class='center' colspan="4">预防养护</th>
  45. <th class='center' colspan="4">修复养护</th>
  46. <th class='center' rowspan="2">专项养护</th>
  47. <th class='center' rowspan="2">试验检测项目</th>
  48. <th class='center' rowspan="2">科研项目</th>
  49. <th class='center' rowspan="2">设备大修</th>
  50. <th class='center' colspan="2">预备费</th>
  51. <th class='center' colspan="2" >总费用</th>
  52. </tr>
  53. <tr>
  54. <th class='center'>费用</th>
  55. <th class='center'>完成/公里</th>
  56. <th class='center'>小修</th>
  57. <th class='center'>中修</th>
  58. <th class='center'>大修</th>
  59. <th class='center'>小计</th>
  60. <th class='center'>小修</th>
  61. <th class='center'>中修</th>
  62. <th class='center'>大修</th>
  63. <th class='center'>小计</th>
  64. <th class='center'>计划费用</th>
  65. <th class='center'>审核费用</th>
  66. <th class='center'>合计</th>
  67. <th class='center'>总费用/公里</th>
  68. </tr>
  69. </thead>
  70. <tbody id="simple-tbody">
  71. <!-- 开始循环 -->
  72. <c:choose>
  73. <c:when test="${not empty varList}">
  74. <c:forEach items="${varList}" var="var" varStatus="vs">
  75. <tr class='edittr ${var.COMPANY_ID} date'>
  76. <c:choose>
  77. <c:when test="${var.COMPANY_ID!=006 && var.COMPANY_ID!=013}">
  78. <c:choose>
  79. <c:when test="${var.num==1}">
  80. <c:forEach items="${varList}" var="i" varStatus="s">
  81. <c:choose>
  82. <c:when test="${var.COMPANY_ID==i.COMPANY_ID && i.flag==1}">
  83. <td class='center' rowspan='${i.num+1}'>${var.no}</td>
  84. <td class='center' rowspan='${i.num+1}'>${var.COMPANY}</td>
  85. </c:when>
  86. </c:choose>
  87. </c:forEach>
  88. </c:when>
  89. </c:choose>
  90. <td class='center'>${var.ROAD}</td>
  91. </c:when>
  92. <c:otherwise>
  93. <td class='center'>${var.no}</td>
  94. <td class='center' colspan='2'>${var.COMPANY}</td>
  95. </c:otherwise>
  96. </c:choose>
  97. <!-- ----------数据---------- -->
  98. <td class='center kmnum DESIGN_KM' totalType='kmsum'>${var.DESIGN_KM}</td>
  99. <td class='center kmnum CARE_KM' totalType='kmsum'>${var.CARE_KM}</td>
  100. <td class='center num DAILY_DESIGN' totalType='sum'>${var.DAILY_DESIGN}</td>
  101. <td class='center divisionCell DAILY_KM' num1="DAILY_DESIGN" num2="CARE_KM"/>
  102. <td class='center num MINOR_PREVENTION_DESIGN' totalType='sum'>${var.MINOR_PREVENTION_DESIGN}</td>
  103. <td class='center num MIDDLE_PREVENTION_DESIGN' totalType='sum'>${var.MIDDLE_PREVENTION_DESIGN}</td>
  104. <td class='center num OVERHAUL_PREVENTION_DESIGN' totalType='sum'>${var.OVERHAUL_PREVENTION_DESIGN}</td>
  105. <td class='center num PREVENTION_DESIGN' totalType='sum'>${var.PREVENTION_DESIGN}</td>
  106. <td class='center num MINOR_REPAIR_DESIGN' totalType='sum'>${var.MINOR_REPAIR_DESIGN}</td>
  107. <td class='center num MIDDLE_REPAIR_DESIGN' totalType='sum'>${var.MIDDLE_REPAIR_DESIGN}</td>
  108. <td class='center num OVERHAUL_REPAIR_DESIGN' totalType='sum'>${var.OVERHAUL_DESIGN}</td>
  109. <td class='center num REPAIR_DESIGN' totalType='sum'>${var.REPAIR_DESIGN}</td>
  110. <td class='center num SPECIAL_DESIGN' totalType='sum'>${var.SPECIAL_DESIGN}</td>
  111. <td class='center num TEST_DESIGN'totalType='sum'>${var.TEST_DESIGN}</td>
  112. <td class='center num SCIENTIFIC_DESIGN' totalType='sum'>${var.SCIENTIFIC_DESIGN}</td>
  113. <td class='center num DEVICE_DESIGN' totalType='sum'>${var.DEVICE_DESIGN}</td>
  114. <td class='center num RESERVE_DESIGN' totalType='sum'>${var.RESERVE_TOTAL_COST}</td>
  115. <td class='center num AUDIT_FEE' totalType='sum'>
  116. <input value='${var.RESERVE_DESIGN}' maxlength="10"
  117. <c:if test="${not empty var.RESERVE_AUDIT_FEE}"> noEmpty=""</c:if>
  118. onblur='editAuditFeeValue(this)' name='AUDIT_FEE' class='editInput'
  119. type='text' readonly='readonly' style="width: 70px !important" />
  120. <input name="COMPANY_ID" type="hidden" value="${var.COMPANY_ID }">
  121. <input name="COMPANY" type="hidden" value="${var.COMPANY }">
  122. <input name="ROAD" type="hidden" value="${var.ROAD }">
  123. <input name="ROAD_ID" type="hidden" value="${var.ROAD_ID}">
  124. <input name="YEAR" type="hidden" value="${pd.YEAR }">
  125. </td>
  126. <!-- <td class='center eightNumJHHZ TOTAL_ZFY' totalType='sum'
  127. num10="DAILY_DESIGN"
  128. num11="PREVENTION_DESIGN" num12="REPAIR_DESIGN" num13="SPECIAL_DESIGN"
  129. num14="TEST_DESIGN" num15="SCIENTIFIC_DESIGN" num16="DEVICE_DESIGN"
  130. num17="AUDIT_FEE" num18="RESERVE_DESIGN"
  131. /> -->
  132. <td class='center num TOTAL_ZFY' totalType='sum'>${var.TOTAL_ZFY}</td>
  133. <td class='center divisionCell EMERGENCY_COMPLETE' num1="TOTAL_ZFY" num2="CARE_KM">
  134. ${var.EMERGENCY_COMPLETE}
  135. </td>
  136. </tr>
  137. <c:choose>
  138. <c:when test="${var.flag==1 && var.COMPANY_ID!=006 && var.COMPANY_ID!=013}">
  139. <tr class='subtotal' id='${var.COMPANY_ID}'>
  140. <td class='center'>小计</td>
  141. <td class='center DESIGN_KM' totalType='km_subtotal'></td>
  142. <td class='center CARE_KM' totalType='km_subtotal'></td>
  143. <td class='center DAILY_DESIGN' totalType='subtotal'></td>
  144. <td class='center divisionCell DAILY_KM' num1="DAILY_DESIGN" num2="DESIGN_KM"></td>
  145. <td class='center MINOR_PREVENTION_DESIGN' totalType='subtotal'></td>
  146. <td class='center MIDDLE_PREVENTION_DESIGN' totalType='subtotal'></td>
  147. <td class='center OVERHAUL_PREVENTION_DESIGN' totalType='subtotal'></td>
  148. <td class='center PREVENTION_DESIGN' totalType='subtotal'></td>
  149. <td class='center MINOR_REPAIR_DESIGN' totalType='subtotal'></td>
  150. <td class='center MIDDLE_REPAIR_DESIGN' totalType='subtotal'></td>
  151. <td class='center OVERHAUL_REPAIR_DESIGN' totalType='subtotal'></td>
  152. <td class='center REPAIR_DESIGN' totalType='subtotal'></td>
  153. <td class='center SPECIAL_DESIGN' totalType='subtotal'></td>
  154. <td class='center TEST_DESIGN' totalType='subtotal'></td>
  155. <td class='center SCIENTIFIC_DESIGN' totalType='subtotal'></td>
  156. <td class='center DEVICE_DESIGN' totalType='subtotal'></td>
  157. <td class='center RESERVE_DESIGN' totalType='subtotal'></td>
  158. <td class='center AUDIT_FEE' totalType='subtotal'></td>
  159. <td class='center TOTAL_ZFY' totalType='subtotal'></td>
  160. <td class='center divisionCell TOTAL_PROPORTION' num1="ZFY" num2="CARE_KM">
  161. </td>
  162. </tr>
  163. </c:when>
  164. </c:choose>
  165. </c:forEach>
  166. <tr class='totaltr'>
  167. <td class='center' colspan="3">累计</td>
  168. <td class='center sumkmCell'></td>
  169. <td class='center sumkmCell LJ_CARE_KM'></td>
  170. <td class='center sumCell LJ_DAILY_DESIGN'></td>
  171. <td class='center divisionCell' num1="LJ_DAILY_DESIGN" num2="LJ_CARE_KM"></td>
  172. <td class='center sumCell'></td>
  173. <td class='center sumCell'></td>
  174. <td class='center sumCell'></td>
  175. <td class='center sumCell'></td>
  176. <td class='center sumCell'></td>
  177. <td class='center sumCell'></td>
  178. <td class='center sumCell'></td>
  179. <td class='center sumCell'></td>
  180. <td class='center sumCell'></td>
  181. <td class='center sumCell'></td>
  182. <td class='center sumCell'></td>
  183. <td class='center sumCell'></td>
  184. <td class='center sumCell'></td>
  185. <td class='center sumCell'></td>
  186. <td class='center sumCell LJ_ZFY'></td>
  187. <td class='center divisionCell' num1="LJ_ZFY" num2="LJ_CARE_KM"></td>
  188. </tr>
  189. </c:when>
  190. <c:otherwise>
  191. <tr class="main_info">
  192. <td colspan="100" class="center" >没有相关数据</td>
  193. </tr>
  194. </c:otherwise>
  195. </c:choose>
  196. </tbody>
  197. </table>
  198. </div>
  199. <div id="zhongxin2" class="center" style="display:none"><br/><br/><br/><br/><br/><img src="static/images/jiazai.gif" /><br/><h4 class="lighter block green">提交中...</h4></div>
  200. </form>
  201. </div>
  202. </div>
  203. </div>
  204. </div>
  205. </div>
  206. </div>
  207. <footer>
  208. <div style="width: 100%; padding-bottom: 2px; margin-left: 1%;">
  209. <a id='editbutton' class="btn btn-mini btn-primary"
  210. onclick="editData();">修改</a>
  211. <a class="btn btn-mini btn-primary" id="save"
  212. disabled="disabled">保存</a>
  213. </div>
  214. </footer>
  215. <!-- 页面底部js¨ -->
  216. <%@ include file="../../../system/index/foot.jsp"%>
  217. <!-- ace scripts -->
  218. <script type="text/javascript" src="static/ace/js/ace/ace.js"></script>
  219. <!--提示框-->
  220. <script type="text/javascript" src="static/js/jquery.tips.js"></script>
  221. <script type="text/javascript" src="static/ace/js/bootbox.js"></script>
  222. <script type="text/javascript" src="static/js/annualPlan/fixTable2.js"></script>
  223. <script type="text/javascript" src="static/js/annualPlan/annual_comp_sumtable_view_sum.js"></script>
  224. <script type="text/javascript" src="static/js/annualPlan/annual_comp_sumtable_view.js"></script>
  225. <script type="text/javascript">
  226. $(function() {
  227. var piframe = parent.document.getElementById("page_plan_hz");
  228. var iframew = piframe.offsetWidth-15;
  229. var iframeh = piframe.offsetHeight-120;
  230. FixTable("simple-table", 1, iframew, iframeh);
  231. });
  232. </script>
  233. </body>
  234. </html>