| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <!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">
- <nav class="breadcrumb">
- <i class="Hui-iconfont"></i>
- 首页
- <span class="c-gray en">></span>费用管理 <span class="c-gray en">></span>
- 电费
- <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
- <i class="Hui-iconfont"></i>
- </a>
- </nav>
- <form id="myForm" th:action="@{/build/electricWater/electricFeeList}" th:method="get">
- <div class="page-container">
- <div class="text-c">
- <span class="select-box" style="width:250px">
- <select th:id="status" class="select" th:name="status" onchange='$("#myForm").submit();'>
- <option value="">--全部--</option>
- <option th:value="0" th:text="未缴费" th:selected="${searchElectricFee.status}=='0'"></option>
- <option th:value="2" th:text="已缴费" th:selected="${searchElectricFee.status}=='2'"></option>
- </select>
- </span>
- <input type="text" class="input-text" style="width:250px;margin-top:0;" placeholder="请输入客户名称" name="keyword" th:value="${keyword}"/>
- <button type="submit" class="btn btn-primary">
- 搜索
- </button>
- </div>
- <div class="cl pd-5 bg-1 bk-gray mt-20">
- <span class="r">共有数据:<strong th:text="${pageInfo?.total}" id="total">54</strong> 条</span>
- </div>
- <table id="notifyTb" class="table table-border table-bordered table-bg table-hover">
- <thead>
- <tr class="text-c">
- <th>客户名称</th>
- <th>期数</th>
- <th>用电量(度)</th>
- <th>用电费用(元)</th>
- <th>缴费日期</th>
- <th>是否确认电费</th>
- <th>状态</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
- <td th:text="*{company_name}"></td>
- <td>第[[*{current_period}]]期</td>
- <td th:text="*{use_electric}"></td>
- <td><span th:if="*{is_electric}">[[*{electric_fee}]]</span></td>
- <td><span th:if="*{status==2}">[[*{actural_paid_date}]]</span></td>
- <td><span th:if="*{is_electric}">是</span><span th:unless="*{is_electric}">否</span></td>
- <td class="td-status">
- <span class="label radius" th:if="*{status}=='0'">未缴款</span>
- <span class="label radius label-success" th:if="*{status}=='2'">已缴款</span>
- </td>
- <td class="td-manage">
- <a th:if="*{status==0&&is_electric}" th:onclick="'javascript:electricWater_pay(\'/build/electricWater/feeRemind/3/'+*{id}+'\');'" class="ml-5" style="text-decoration:none">催缴</a>
- <a th:onclick="'javascript:electricWater_add(\'编辑\',\'/build/electricWater/electricFeeEdit/'+*{id}+'\',\'800\',\'500\');'" class="ml-5" style="text-decoration:none">编辑</a>
- <a th:if="*{is_electric}" th:onclick="'javascript:electricWater_add(\'打印\',\'/build/electricWater/electricFeePrint/'+*{id}+'\');'" class="ml-5" style="text-decoration:none">打印</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div th:replace="admin/common/page :: page"></div>
- </div>
- </form>
- <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
- <script type="text/javascript" th:src="@{/js/build/electricWater/electric_water_list.js}"></script>
- <script th:inline="javascript">
- </script>
- </body>
- </html>
|