123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
- <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
- %>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>养护计划汇总</title>
- <base href="<%=basePath%>">
- <!-- jsp文件头和头部 -->
- <%@ include file="../../../system/index/top.jsp"%>
- <link rel="stylesheet" href="static/ace/css/annualDailyComp.css" />
- </head>
- <body class="no-skin" style="overflow-y: hidden;">
- <!-- /section:basics/navbar.layout -->
- <div class="main-container" id="main-container">
- <!-- /section:basics/sidebar -->
- <div class="main-content">
- <div class="main-content-inner">
- <div class="page-content">
- <div class="row">
- <div class="col-xs-12" style="overflow-x: hidden;">
- <form action="annualPlanKG/showSumTable.do" name="form" id="serarchForm" method="post">
- <input name="type" value="${pd.type}" type="hidden">
- <input name="YEAR" value="${pd.YEAR}" type="hidden">
- <input name="name" value="${pd.name}" type="hidden">
- </form>
- <div id="zhongxin" style="padding-top: 13px;">
- <div class='tableTitle'>${pd.YEAR}年${pd.name}</div>
- <p>单位:万元</p>
- <form name="Form" id="Form" method="post">
- <table id="simple-table" class="table table-striped table-bordered table-hover" style="margin-top:5px;">
- <thead>
- <tr>
- <th class='center' rowspan="2" style="width:50px;">序号</th>
- <th class='center' rowspan="2" colspan="2" style="min-width:150px;">道路名称</th>
- <th class='center' rowspan="2">设计里程(km)</th>
- <th class='center' rowspan="2">管养里程(km)</th>
- <th class='center' colspan="2">日常养护</th>
- <th class='center' colspan="4">预防养护</th>
- <th class='center' colspan="4">修复养护</th>
- <th class='center' rowspan="2">专项养护</th>
- <th class='center' rowspan="2">试验检测项目</th>
- <th class='center' rowspan="2">科研项目</th>
- <th class='center' rowspan="2">设备大修</th>
- <th class='center' colspan="2">预备费</th>
- <th class='center' colspan="2" >总费用</th>
- </tr>
- <tr>
- <th class='center'>费用</th>
- <th class='center'>完成/公里</th>
- <th class='center'>小修</th>
- <th class='center'>中修</th>
- <th class='center'>大修</th>
- <th class='center'>小计</th>
- <th class='center'>小修</th>
- <th class='center'>中修</th>
- <th class='center'>大修</th>
- <th class='center'>小计</th>
- <th class='center'>计划费用</th>
- <th class='center'>审核费用</th>
- <th class='center'>合计</th>
- <th class='center'>总费用/公里</th>
- </tr>
- </thead>
-
- <tbody id="simple-tbody">
- <!-- 开始循环 -->
- <c:choose>
- <c:when test="${not empty varList}">
- <c:forEach items="${varList}" var="var" varStatus="vs">
- <tr class='edittr ${var.COMPANY_ID} date'>
- <c:choose>
- <c:when test="${var.COMPANY_ID!=006 && var.COMPANY_ID!=013}">
- <c:choose>
- <c:when test="${var.num==1}">
- <c:forEach items="${varList}" var="i" varStatus="s">
- <c:choose>
- <c:when test="${var.COMPANY_ID==i.COMPANY_ID && i.flag==1}">
- <td class='center' rowspan='${i.num+1}'>${var.no}</td>
- <td class='center' rowspan='${i.num+1}'>${var.COMPANY}</td>
- </c:when>
- </c:choose>
- </c:forEach>
- </c:when>
- </c:choose>
- <td class='center'>${var.ROAD}</td>
- </c:when>
- <c:otherwise>
- <td class='center'>${var.no}</td>
- <td class='center' colspan='2'>${var.COMPANY}</td>
- </c:otherwise>
- </c:choose>
- <!-- ----------数据---------- -->
- <td class='center kmnum DESIGN_KM' totalType='kmsum'>${var.DESIGN_KM}</td>
- <td class='center kmnum CARE_KM' totalType='kmsum'>${var.CARE_KM}</td>
- <td class='center num DAILY_DESIGN' totalType='sum'>${var.DAILY_DESIGN}</td>
- <td class='center divisionCell DAILY_KM' num1="DAILY_DESIGN" num2="CARE_KM"/>
- <td class='center num MINOR_PREVENTION_DESIGN' totalType='sum'>${var.MINOR_PREVENTION_DESIGN}</td>
- <td class='center num MIDDLE_PREVENTION_DESIGN' totalType='sum'>${var.MIDDLE_PREVENTION_DESIGN}</td>
- <td class='center num OVERHAUL_PREVENTION_DESIGN' totalType='sum'>${var.OVERHAUL_PREVENTION_DESIGN}</td>
- <td class='center num PREVENTION_DESIGN' totalType='sum'>${var.PREVENTION_DESIGN}</td>
- <td class='center num MINOR_REPAIR_DESIGN' totalType='sum'>${var.MINOR_REPAIR_DESIGN}</td>
- <td class='center num MIDDLE_REPAIR_DESIGN' totalType='sum'>${var.MIDDLE_REPAIR_DESIGN}</td>
- <td class='center num OVERHAUL_REPAIR_DESIGN' totalType='sum'>${var.OVERHAUL_DESIGN}</td>
- <td class='center num REPAIR_DESIGN' totalType='sum'>${var.REPAIR_DESIGN}</td>
- <td class='center num SPECIAL_DESIGN' totalType='sum'>${var.SPECIAL_DESIGN}</td>
- <td class='center num TEST_DESIGN'totalType='sum'>${var.TEST_DESIGN}</td>
- <td class='center num SCIENTIFIC_DESIGN' totalType='sum'>${var.SCIENTIFIC_DESIGN}</td>
- <td class='center num DEVICE_DESIGN' totalType='sum'>${var.DEVICE_DESIGN}</td>
- <td class='center num RESERVE_DESIGN' totalType='sum'>${var.RESERVE_TOTAL_COST}</td>
- <td class='center num AUDIT_FEE' totalType='sum'>
- <input value='${var.RESERVE_DESIGN}' maxlength="10"
- <c:if test="${not empty var.RESERVE_AUDIT_FEE}"> noEmpty=""</c:if>
- onblur='editAuditFeeValue(this)' name='AUDIT_FEE' class='editInput'
- type='text' readonly='readonly' style="width: 70px !important" />
-
-
- <input name="COMPANY_ID" type="hidden" value="${var.COMPANY_ID }">
- <input name="COMPANY" type="hidden" value="${var.COMPANY }">
- <input name="ROAD" type="hidden" value="${var.ROAD }">
- <input name="ROAD_ID" type="hidden" value="${var.ROAD_ID}">
- <input name="YEAR" type="hidden" value="${pd.YEAR }">
- </td>
-
- <!-- <td class='center eightNumJHHZ TOTAL_ZFY' totalType='sum'
- num10="DAILY_DESIGN"
- num11="PREVENTION_DESIGN" num12="REPAIR_DESIGN" num13="SPECIAL_DESIGN"
- num14="TEST_DESIGN" num15="SCIENTIFIC_DESIGN" num16="DEVICE_DESIGN"
- num17="AUDIT_FEE" num18="RESERVE_DESIGN"
- /> -->
- <td class='center num TOTAL_ZFY' totalType='sum'>${var.TOTAL_ZFY}</td>
- <td class='center divisionCell EMERGENCY_COMPLETE' num1="TOTAL_ZFY" num2="CARE_KM">
- ${var.EMERGENCY_COMPLETE}
- </td>
- </tr>
- <c:choose>
- <c:when test="${var.flag==1 && var.COMPANY_ID!=006 && var.COMPANY_ID!=013}">
- <tr class='subtotal' id='${var.COMPANY_ID}'>
- <td class='center'>小计</td>
- <td class='center DESIGN_KM' totalType='km_subtotal'></td>
- <td class='center CARE_KM' totalType='km_subtotal'></td>
- <td class='center DAILY_DESIGN' totalType='subtotal'></td>
- <td class='center divisionCell DAILY_KM' num1="DAILY_DESIGN" num2="DESIGN_KM"></td>
- <td class='center MINOR_PREVENTION_DESIGN' totalType='subtotal'></td>
- <td class='center MIDDLE_PREVENTION_DESIGN' totalType='subtotal'></td>
- <td class='center OVERHAUL_PREVENTION_DESIGN' totalType='subtotal'></td>
- <td class='center PREVENTION_DESIGN' totalType='subtotal'></td>
- <td class='center MINOR_REPAIR_DESIGN' totalType='subtotal'></td>
- <td class='center MIDDLE_REPAIR_DESIGN' totalType='subtotal'></td>
- <td class='center OVERHAUL_REPAIR_DESIGN' totalType='subtotal'></td>
- <td class='center REPAIR_DESIGN' totalType='subtotal'></td>
- <td class='center SPECIAL_DESIGN' totalType='subtotal'></td>
- <td class='center TEST_DESIGN' totalType='subtotal'></td>
- <td class='center SCIENTIFIC_DESIGN' totalType='subtotal'></td>
- <td class='center DEVICE_DESIGN' totalType='subtotal'></td>
- <td class='center RESERVE_DESIGN' totalType='subtotal'></td>
- <td class='center AUDIT_FEE' totalType='subtotal'></td>
- <td class='center TOTAL_ZFY' totalType='subtotal'></td>
- <td class='center divisionCell TOTAL_PROPORTION' num1="ZFY" num2="CARE_KM">
- </td>
- </tr>
- </c:when>
- </c:choose>
- </c:forEach>
- <tr class='totaltr'>
- <td class='center' colspan="3">累计</td>
- <td class='center sumkmCell'></td>
- <td class='center sumkmCell LJ_CARE_KM'></td>
- <td class='center sumCell LJ_DAILY_DESIGN'></td>
- <td class='center divisionCell' num1="LJ_DAILY_DESIGN" num2="LJ_CARE_KM"></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell'></td>
- <td class='center sumCell LJ_ZFY'></td>
- <td class='center divisionCell' num1="LJ_ZFY" num2="LJ_CARE_KM"></td>
- </tr>
- </c:when>
- <c:otherwise>
- <tr class="main_info">
- <td colspan="100" class="center" >没有相关数据</td>
- </tr>
- </c:otherwise>
- </c:choose>
- </tbody>
- </table>
- </div>
- <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>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <footer>
- <div style="width: 100%; padding-bottom: 2px; margin-left: 1%;">
- <a id='editbutton' class="btn btn-mini btn-primary"
- onclick="editData();">修改</a>
- <a class="btn btn-mini btn-primary" id="save"
- disabled="disabled">保存</a>
- </div>
- </footer>
- <!-- 页面底部js¨ -->
- <%@ include file="../../../system/index/foot.jsp"%>
- <!-- ace scripts -->
- <script type="text/javascript" src="static/ace/js/ace/ace.js"></script>
- <!--提示框-->
- <script type="text/javascript" src="static/js/jquery.tips.js"></script>
- <script type="text/javascript" src="static/ace/js/bootbox.js"></script>
- <script type="text/javascript" src="static/js/annualPlan/fixTable2.js"></script>
- <script type="text/javascript" src="static/js/annualPlan/annual_comp_sumtable_view_sum.js"></script>
- <script type="text/javascript" src="static/js/annualPlan/annual_comp_sumtable_view.js"></script>
- <script type="text/javascript">
- $(function() {
- var piframe = parent.document.getElementById("page_plan_hz");
- var iframew = piframe.offsetWidth-15;
- var iframeh = piframe.offsetHeight-120;
- FixTable("simple-table", 1, iframew, iframeh);
- });
- </script>
- </body>
- </html>
|