| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <!DOCTYPE HTML>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorate="~{admin/common/common}">
- <head>
- <title>电费查看</title>
- </head>
- <body layout:fragment="content">
- <article class="page-container">
- <form class="form form-horizontal" id="form-electricWater-edit">
- <div class="line">基本信息</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">客户名称:</label>
- <div class="formControls col-xs-8 col-sm-9">
- <span th:text="${companyName}"></span>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">合同编号:</label>
- <div class="formControls col-xs-8 col-sm-9">
- <span th:each="contractNo,iterStat:${contractNoes}">
- [[*{contractNo}]] <span th:if="${iterStat.last}"></span><span th:unless="${iterStat.last}">,</span>
- </span>
- </div>
- </div>
- <div id="electricFee" >
- <div class="line">电费信息</div>
- <input type="hidden" class="fee_type" value="2">
- <input type="hidden" th:value="${electricFee.id}" th:name="id">
- <div class="row cl">
- <div class="formControls col-xs-8 col-sm-12">
- <div class="btn ">抄表信息</div>
- <table id="electricReadTb" class="table table-border table-bordered table-bg table-hover">
- <thead class="text-c">
- <tr class="text-c">
- <th>电表名称</th>
- <th>上期抄表日</th>
- <th>本期抄表日</th>
- <th>倍率</th>
- <th>本期通用(度)</th>
- <th>本期峰值(度)</th>
- <th>本期平值(度)</th>
- <th>本期谷值(度)</th>
- <th>本期通用(元/度)</th>
- <th>本期峰值(元/度)</th>
- <th>本期平值(元/度)</th>
- <th>本期谷值(元/度)</th>
- <th>小计金额(元)</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c electric_read_company" th:each="electric,iterStat:${electricReadCompanies}"
- th:object="${electric}">
- <td th:text="*{electric_name}"></td>
- <td th:text="*{meter_write_before}"></td>
- <td th:text="*{meter_write}"></td>
- <td class="ratio" th:attr="is_peak=*{is_peak}" th:text="*{ratio}"></td>
- <td><span class="electric_count" th:unless="*{is_peak}" th:text="*{electric_count}"></span></td>
- <td><span class="electric_peak_count" th:if="*{is_peak}" th:text="*{electric_peak_count}"></span></td>
- <td><span class="electric_flat_count" th:if="*{is_peak}" th:text="*{electric_flat_count}"></span></td>
- <td><span class="electric_valley_count" th:if="*{is_peak}" th:text="*{electric_valley_count}"></span></td>
- <td>
- <span th:unless="*{is_peak}" th:text="*{electric_price}"></span></td>
- <td>
- <span th:if="*{is_peak}" th:text="*{electric_peak_price}"></span>
- </td>
- <td>
- <span th:if="*{is_peak}" th:text="*{electric_flat_price}"></span>
- </td>
- <td>
- <span th:if="*{is_peak}" th:text="*{electric_valley_price}"></span>
- </td>
- <td th:text="*{total_fee}" ></td>
- </tr>
- <tr class="text-c">
- <td scope="col" colspan="9">线损费用(元)</td>
- <td colspan="3">
- 线损率: [[${electricFee.wire_loss}]]%
- </td>
- <td th:text="${electricFee.total_wire_loss}"></td>
- </tr>
- <tr class="text-c">
- <td scope="col" colspan="12">基本电费(元)</td>
- <td th:text="${electricFee.base_electric}"></td>
- </tr>
- <tr class="text-c">
- <td scope="col" colspan="12">电力设备租金(元)</td>
- <td th:text="${electricFee.electric_rent}">
- </td>
- </tr>
- <tr class="text-c">
- <td scope="col" colspan="12">其他费用(元)</td>
- <td th:text="${electricFee.other_fee}">
- </td>
- </tr>
- <tr class="text-c">
- <td scope="col" colspan="9">合计</td>
- <td colspan="3">用电量 <span th:text="${electricFee.use_electric}"></span></td>
- <td th:text="${electricFee.electric_fee}" >
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="row cl" id="manageRow">
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
- <button onClick="removeIframe();" class="btn btn-default radius" type="button"> 取消 </button>
- </div>
- </div>
- </form>
- </article>
- <script th:inline="javascript">
- /**
- * 取消
- */
- function removeIframe() {
- var index = parent.layer.getFrameIndex(window.name);
- parent.layer.close(index);
- }
- </script>
- </body>
- </html>
|