| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <!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">
- <style>
- .col-sm-2 {
- width: 14.666667%
- }
- .width-180 {
- width: 180px;
- }
- .width-80 {
- width: 100%
- }
- .width-25 {
- width: 25px
- }
- label.error{
- position: initial!important;
- display: block;!important;
- }
- .line{display: block;
- text-align: left;
- 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>
- <article class="page-container">
- <form class="form form-horizontal" id="form-contract-end">
- <input type="hidden" th:id="id" th:name="id" th:value="${contract.id}"/>
- <input type="hidden" id="contract_no" th:name="contract_no" th:value="${contract.contract_no}"/>
- <input type="hidden" id="company_name" th:name="company_name" th:value="${contract.company_name}"/>
- <input type="hidden" id="company_id" th:name="company_id" th:value="${contract.company_id}"/>
- <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-4">
- [[${contract.contract_no}]]
- </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">
- [[${contract.company_name}]]
- </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">
- [[${contract.deposit_fee}]]<span></span>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>退还押金(元):</label>
- <div class="formControls col-xs-8 col-sm-4">
- <input type="text" class="input-text" required maxlength="20" number="true" min="0" th:name="returned_deposit_fee"/>
- </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">
- <input type="text" class="input-text" maxlength="20" number="true" th:name="final_fee"/>
- </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">
- <textarea name="" cols="" rows="" th:name="final_remark" class="textarea" placeholder="说点什么..."
- dragonfly="true" onKeyUp="$.Huitextarealength(this,200)" ></textarea>
- </div>
- </div>
-
- <div id="fee">
- <div id="waterfee" th:if="${waters}">
-
- <div class="line">水费信息</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>抄表日:</label>
- <div class="formControls col-xs-8 col-sm-4">
- <input type="text" class="input-text width-180 " id="meter_write_water" required name="meter_write_water" onChange="setMeterWriteWater(this)"/>
- </div>
- </div>
- <div class="row cl">
- <div class="formControls col-xs-8 col-sm-12">
- <div class="btn">抄表信息</div>
- <table id="waterReadTb" 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>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
- </div>
- <div class="row cl">
- <div class="formControls col-xs-8 col-sm-12">
- <div class="btn ">费用明细</div>
- <table id="waterFeeTb" 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>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div id="electricfee" th:if="${electrics}">
- <div class="line">电费信息</div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>抄表日:</label>
- <div class="formControls col-xs-8 col-sm-4">
- <input type="text" class="input-text width-180 " required id="meter_write_electric" name="meter_write_electric" />
- </div>
- </div>
- <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>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
- </div>
- <div class="row cl">
- <div class="formControls col-xs-8 col-sm-12">
- <div class="btn ">费用明细</div>
- <table id="electricFeeTb" class="table table-border table-bordered table-bg table-hover">
- <thead>
- <tr class="text-c">
- <th width="50">电表名称</th>
- <th width="50">通用度数</th>
- <th width="90">通用单价(元)</th>
- <th>峰值度数</th>
- <th>峰值单价(元)</th>
- <th>谷值度数</th>
- <th>谷值单价(元)</th>
- <!-- <th>备注</th> -->
- <th>小计金额(元)</th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
- <button class="btn btn-primary radius" type="submit"><i class="Hui-iconfont"></i>提交
- </button>
- <button onClick="removeIframe();" class="btn btn-default radius" type="button"> 取消 </button>
- </div>
- </div>
- </form>
- <div id="map" style="display: none"></div>
- </article>
- <script type="text/javascript" th:src="@{/js/build/contract/contract_stop.js}"></script>
- <script type="text/javascript" th:src="@{/js/build/electricWater/electricWater_add.js}"></script>
- <script th:inline="javascript">
- $(function(){
-
- laydate.render({
- elem: '#meter_write_water',
- done: function(value, date){
- setMeterWriteWater(this,value);
- },
- max:0
- });
-
- laydate.render({
- elem: '#meter_write_electric',
- done: function(value, date){
- setMeterWriteElectric(this,value);
- },
- max:0
- });
-
- addWaterLine([[${waters}]]);
- addElectricLine([[${electrics}]]);
- });
- /**
- * 取消
- */
- function removeIframe() {
- var index = parent.layer.getFrameIndex(window.name);
- parent.layer.close(index);
- }
- </script>
- </body>
- </html>
|