| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <!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>
- <style>
- .text-c thead tr th{
- white-space: nowrap;
- }
- .line{display: block;
- text-align: left;
- background-color: #fff;
- color: #333;
- border-bottom: 1px solid #0a6999;
- border-color: #fff;
- border-bottom: 1px solid #0a6999;
- margin-top: 10px;
- vertical-align: middle;
- padding: 4px 12px;
- height: 31px;
- line-height: 31px;
- font-size: 14px;
- font-weight: bold;
- }
- </style>
- </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="${contract.company_name}"></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-4">
- <span th:text="${contract.contract_no}"></span>
- </div>
- <label class="form-label col-xs-4 col-sm-2">收款周期:</label>
- <div class="formControls col-xs-8 col-sm-4">
- <span th:text="${contract.tenancy_payment_cycle}"></span><span> 个月</span>
- <input type="hidden" id="tenancy_payment_cycle" th:value="${contract.tenancy_payment_cycle}"/>
- </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-4">
- <span th:text="${contract.contract_start_date}"></span>
- </div>
- <label class="form-label col-xs-4 col-sm-2">合同到期日:</label>
- <div class="formControls col-xs-8 col-sm-4">
- <span th:text="${contract.contract_end_date}"></span>
- </div>
- </div>
- <div class="row cl">
- <div class="formControls col-xs-8 col-sm-12">
- <table class="table table-border table-bordered table-bg table-hover">
- <thead>
- <tr class="text-c">
- <th>楼栋</th>
- <th>层数</th>
- <th>面积(平方米)</th>
- <th>单价(元/月/平方米)</th>
- </tr>
- </thead>
- <tbody >
- <tr class="text-c " th:each="buildLive,iterStat : ${buildLives}" th:object="${buildLive}">
- <td th:text="*{build_number}"></td>
- <td th:text="*{floor}"></td>
- <td th:text="*{use_area}"></td>
- <td th:text="*{pay}"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="row cl">
- <div class="formControls col-xs-8 col-sm-12">
- <div class="line">缴费信息</div>
- <div style="min-width: 1000px">
- <table id="tenancyTb" 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 class="pre_tenancy_line" id="pre_tenancy_line">
- <tr th:object="${tenancy}">
- <td>
- <span th:if="*{period}=='-1'">末 期</span>
- <span th:unless="*{period}=='-1'">第 <span th:text="*{period}"></span> 期</span>
- <input type="hidden"/>
- </td>
- <td th:text="*{period_start_date}"></td>
- <td th:text="*{period_end_date}"></td>
- <td th:text="*{house_fee}"></td>
- <td th:text="*{paid_house_fee}"></td>
- <td class="pay_time" th:text="*{pay_time}"></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>
- <span class="label radius" th:if="*{status}==1">部分缴款</span>
- </td>
- <td th:text="*{remark}"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="row cl">
- <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>
|