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.
64 lines
3.3 KiB
64 lines
3.3 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(){
|
||
|
$("#search-btn").click(function(){
|
||
|
$('#page').val(0);
|
||
|
var params = $('#searchForm').serialize();
|
||
|
window.location.href = "/finance/caiwu-total-list?" + params;
|
||
|
});
|
||
|
$('#searchForm').submit(function(){
|
||
|
$('#search-btn').click();
|
||
|
return false;
|
||
|
});
|
||
|
$("#add-btn").click(function(){
|
||
|
edit(0);
|
||
|
});
|
||
|
});
|
||
|
|
||
|
|
||
|
</script>
|
||
|
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
|
||
|
<form id="searchForm">
|
||
|
<tr>
|
||
|
<td class="td_bg">
|
||
|
统计日期:<input name="record_s_date" id="record_s_date" class="Wdate" type="text" value="<?=$record_s_date?>" onClick="WdatePicker()">
|
||
|
-
|
||
|
<input name="record_e_date" id="record_e_date" class="Wdate" type="text" value="<?=$record_e_date?>" onClick="WdatePicker()">
|
||
|
<input type="submit" class="act_btn" id="search-btn" name="search-btn" value="统计">
|
||
|
</td>
|
||
|
</tr>
|
||
|
</form>
|
||
|
</table>
|
||
|
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
|
||
|
<tr>
|
||
|
<td width="100" align="center" align="center" class="bg_tr" nowrap><a href="/finance/caiwu-total-order?record_s_date=<?=$record_s_date?>&record_e_date=<?=$record_e_date?>" target="_blank">保单手续费</a></td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_in_1,2)?></td>
|
||
|
<td width="100" align="center" class="bg_tr" nowrap>补点手续费</td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_in_2,2)?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="100" align="center" align="center" class="bg_tr" nowrap>营销费用</td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_out_1,2)?></td>
|
||
|
<td width="100" align="center" class="bg_tr" nowrap><a href="/finance/caiwu-total-zc?record_s_date=<?=$record_s_date?>&record_e_date=<?=$record_e_date?>" target="_blank">待摊费用</a></td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_out_2,2)?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="100" align="center" align="center" class="bg_tr" nowrap>总收入</td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_in,2)?></td>
|
||
|
<td width="100" align="center" class="bg_tr" nowrap>总支出</td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_out,2)?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="100" align="center" align="center" class="bg_tr" nowrap>利润</td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_in - $total_out,2)?></td>
|
||
|
<td width="100" align="center" class="bg_tr" nowrap>流动资金</td>
|
||
|
<td align="left" class="td_bg" nowrap><?=number_format($total_finish_in - $total_finish_out,2) ?></td>
|
||
|
</tr>
|
||
|
</table>
|