You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
4.5 KiB
96 lines
4.5 KiB
<?php
|
|
use \common\libs\MyLib;
|
|
?>
|
|
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
|
|
<form id="searchForm">
|
|
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
|
<tr>
|
|
<td class="td_bg">
|
|
保单号:<input name="insurer_no" type="text" value="<?=$insurer_no?>">
|
|
车牌:<input name="car_no" type="text" value="<?=$car_no?>">
|
|
<input type="button" class="act_btn" id="search-btn" name="search-btn" value="搜索">
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
|
|
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
|
|
<tr>
|
|
<td width="24" align="center" class="bg_tr">序号</td>
|
|
<td align="center" class="bg_tr">车牌号</td>
|
|
<td align="center" class="bg_tr">保险公司</td>
|
|
<td align="center" class="bg_tr">保单号</td>
|
|
<td align="center" class="bg_tr">被保险人</td>
|
|
<td align="center" class="bg_tr">实收保费</td>
|
|
<td align="center" class="bg_tr">费用比例</td>
|
|
<td align="center" class="bg_tr">应付手续费</td>
|
|
<td align="center" class="bg_tr">已结收付费</td>
|
|
<td align="center" class="bg_tr">结算时间</td>
|
|
<td align="center" class="bg_tr">操作</td>
|
|
</tr>
|
|
<?php
|
|
foreach($items as $index => $item) {
|
|
$start_index = ($page-1)*20+$index;
|
|
?>
|
|
<tr style="height:24px;" onMouseOver="overColor(this)" onMouseOut="outColor(this)">
|
|
<td align="center" class="td_bg" nowrap><?=$start_index+1?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->car_no?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->company?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->insurer_no?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->policy_man?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->total_real?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->total_rate?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->pay_total?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->finish_total?></td>
|
|
<td align="center" class="td_bg" nowrap><?=$item->pay_date?></td>
|
|
<td align="center" class="td_bg" nowrap>[<a href="javascript:void(0);" onclick="del(<?=$item->id?>)">删除</a>]</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
<tr>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
<td align="center" class="td_bg" nowrap></td>
|
|
</tr>
|
|
<tr >
|
|
<td height="25" colspan="11" align="center" class="td_bg"><?=$page_info?></td>
|
|
</tr>
|
|
</table>
|
|
<script type="text/javascript" language="javascript" src="/js/jquery-1.8.3.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/datepicker/WdatePicker.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/fileupload/js/vendor/jquery.ui.widget.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/fileupload/js/jquery.iframe-transport.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/fileupload/js/jquery.fileupload.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/ajax.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/func.js"></script>
|
|
<script type="text/javascript" language="javascript">
|
|
//删除
|
|
function del(id) {
|
|
if(confirm('是否确认删除?')) {
|
|
$.post('/finance/receipt-error-del',{id:id},function(obj){
|
|
alert(obj.msg);
|
|
if(obj.success) {
|
|
window.location.reload();
|
|
}
|
|
},'json');
|
|
}
|
|
}
|
|
|
|
$(function () {
|
|
//搜索
|
|
$("#search-btn").click(function(){
|
|
$('#page').val(0);
|
|
var params = $('#searchForm').serialize();
|
|
window.location.href = "/finance/receipt-error?" + params;
|
|
});
|
|
})
|
|
</script>
|
|
|