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.
simple-yewu/frontend/views/statistics/fix-info.php

69 lines
3.5 KiB

5 years ago
<?php
use \common\libs\MyLib;
?>
<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/ajax.js"></script>
<script type="text/javascript" language="javascript" src="/js/func.js"></script>
<script type="text/javascript" language="javascript">
$(function(){
$("#back-btn").click(function(){
window.location.href = "/statistics/work?date_begin=<?=$date_begin?>&date_end=<?=$date_end?>&date2_begin=<?=$date2_begin?>&date2_end=<?=$date2_end?>&username=<?=$username?>";
});
});
</script>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
<form id="searchForm">
<tr>
<td class="td_bg">
<input type="button" class="act_btn" id="back-btn" name="back-btn" value="返回">
提单日期: <?=$date_begin?><?=$date_end?>
正本日期: <?=$date2_begin?><?=$date2_end?>
</td>
</tr>
</form>
</table>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table">
<tr>
<td width="50" align="center" class="bg_tr" nowrap>车主</td>
<td width="60" align="center" class="bg_tr" nowrap>车牌号</td>
<td align="center" class="bg_tr" nowrap>发动机号</td>
<td align="center" class="bg_tr" nowrap>车架号</td>
<td align="center" class="bg_tr" nowrap>进厂时间</td>
<td align="center" class="bg_tr" nowrap>出厂时间</td>
<td align="center" class="bg_tr" nowrap>维修金额</td>
<td align="center" class="bg_tr" nowrap>状态</td>
<td align="center" class="bg_tr" nowrap>详情</td>
</tr>
<?php
foreach($items as $item) {
?>
<tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
<td align="left" class="td_bg" nowrap><?=$item->car_man?></td>
<td align="left" class="td_bg" nowrap><?=$item->car_no?></td>
<td align="left" class="td_bg" nowrap><?=$item->engine_no?></td>
<td align="left" class="td_bg" nowrap><?=$item->car_frame_no?></td>
<td align="center" class="td_bg" nowrap><?='¥'.$item->total1_clear?></td>
<td align="center" class="td_bg" nowrap><?='¥'.$item->total1_real?></td>
<td align="center" class="td_bg" nowrap><?='¥'.$item->total1_dis?></td>
<td align="center" class="td_bg" nowrap><?=$item->total1_percent?></td>
<td align="center" class="td_bg" nowrap><?=$item->status->name?></td>
<td align="center" class="td_bg" nowrap>
[<a href="/insurer/info?id=<?=$item->id?>" target="_blank">详情</a>]
</td>
</tr>
<?php
}
?>
<tr>
<td width="50" align="center" class="bg_tr" nowrap>汇总</td>
<td width="60" align="center" class="bg_tr" nowrap></td>
<td align="center" class="bg_tr" nowrap><?=$total[2]?'¥'.number_format($total[2],2):''?></td>
<td align="center" class="bg_tr" nowrap><?=$total[8]?'¥'.number_format($total[8],2):''?></td>
<td align="center" class="bg_tr" nowrap><?=$total[9]?'¥'.number_format($total[9],2):''?></td>
<td align="center" class="bg_tr" nowrap></td>
<td align="center" class="bg_tr" nowrap></td>
<td align="center" class="bg_tr" nowrap></td>
</tr>
</table>