提交 dac30da6 authored 作者: chengye's avatar chengye

缴费列表添加缴费金额,以及账单链接

上级 4ac14777
...@@ -59,9 +59,10 @@ ...@@ -59,9 +59,10 @@
<table class="layui-table" lay-data="{ url:'/payment', page:true, id:'idTest',where:{search_type:document.getElementById('search_type').value,search_text:document.getElementById('search_text').value,area_id:document.getElementById('area_id').value,date_start:document.getElementById('date_start').value,date_end:document.getElementById('date_end').value,cp_date:document.getElementById('cp_date').value} }"> <thead> <table class="layui-table" lay-data="{ url:'/payment', page:true, id:'idTest',where:{search_type:document.getElementById('search_type').value,search_text:document.getElementById('search_text').value,area_id:document.getElementById('area_id').value,date_start:document.getElementById('date_start').value,date_end:document.getElementById('date_end').value,cp_date:document.getElementById('cp_date').value} }"> <thead>
<tr> <tr>
<th lay-data="{templet: '#payment_id',sort: true} ">缴费单号</th> <th lay-data="{templet: '#payment_id',sort: true} ">缴费单号</th>
<th lay-data="{field:'invoice_id',sort: true}">账单号</th> <th lay-data="{templet: '#invoice_id',sort: true}">账单号</th>
<th lay-data="{field:'em_numb'} ">电表识别号</th> <th lay-data="{field:'em_numb'} ">电表识别号</th>
<th lay-data="{field:'region_name'}">区域</th> <th lay-data="{field:'region_name'}">区域</th>
<th lay-data="{field:'amount',sort: true}">缴费金额</th>
<th lay-data="{field: 'status',sort: true}">缴费状态</th> <th lay-data="{field: 'status',sort: true}">缴费状态</th>
<th lay-data="{field: 'create_time',sort: true}">创建日期</th> <th lay-data="{field: 'create_time',sort: true}">创建日期</th>
<!--<th lay-data="{fixed: 'right', align:'center', toolbar: '#barDemo'}">操作</th>--> <!--<th lay-data="{fixed: 'right', align:'center', toolbar: '#barDemo'}">操作</th>-->
...@@ -77,7 +78,10 @@ ...@@ -77,7 +78,10 @@
</div> </div>
</body> </body>
<script type="text/html" id="payment_id"> <script type="text/html" id="payment_id">
<a class="layui-link" title="查看" href="/payment/{{d.payment_id}}">{{d.payment_id}}</a> <a class="layui-link" title="查看详情" href="/payment/{{d.payment_id}}">{{d.payment_id}}</a>
</script>
<script type="text/html" id="invoice_id">
<a class="layui-link" title="查看账单" href="/invoice/{{d.invoice_id_id}}">{{d.invoice_id_id}}</a>
</script> </script>
<script type="text/html" id="barDemo"> <script type="text/html" id="barDemo">
{{# if(d.status== '未缴费'){ }} {{# if(d.status== '未缴费'){ }}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论