| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <!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/waterFeeList}" 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="${searchWaterFee.status}=='0'"></option>
- <option th:value="2" th:text="已缴费" th:selected="${searchWaterFee.status}=='2'"></option>
- </select>
- </span>
- <input type="text" class="input-text" style="width:250px" 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_water}"></td>
- <td><span th:if="*{is_water}">[[*{water_fee}]]</span></td>
- <td><span th:if="*{status==2}">[[*{actural_paid_date}]]</span></td>
- <td><span th:if="*{is_water}">是</span><span th:unless="*{is_water}">否</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_water}" th:onclick="'javascript:electricWater_pay(\'/build/electricWater/feeRemind/2/'+*{id}+'\');'" class="ml-5" style="text-decoration:none">催缴</a>
- <a th:onclick="'javascript:electricWater_add(\'编辑\',\'/build/electricWater/waterFeeEdit/'+*{id}+'\',\'800\',\'500\');'" class="ml-5" style="text-decoration:none">编辑</a>
- <a th:if="*{is_water}" th:onclick="'javascript:electricWater_add(\'打印\',\'/build/electricWater/waterFeePrint/'+*{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>
|