优化结算单界面信息

master
chenzhi 5 years ago
parent 0a136fbbde
commit d63edee6b3

@ -1918,10 +1918,10 @@ function excelUpStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_
}
} else {//游戏
$product_name = $value['game_name'];
$objPHPExcel->getActiveSheet()->getStyle('F'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00);
$objPHPExcel->getActiveSheet()->getStyle('G'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00);
$objPHPExcel->getActiveSheet()->getStyle('H'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00);
$objPHPExcel->getActiveSheet()->getStyle('I'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_000);
$objPHPExcel->getActiveSheet()->getStyle('F'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE);
$objPHPExcel->getActiveSheet()->getStyle('G'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE);
$objPHPExcel->getActiveSheet()->getStyle('H'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE);
$objPHPExcel->getActiveSheet()->getStyle('I'.$line)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE);
if($value['first_ratio'] == 0){
$value['first_ratio'] = 0;
}else{

@ -210,7 +210,7 @@
<tbody id="statementShow">
<foreach name="data.statement_info" item="it" >
<tr>
<td>{$it.statement_begin_time}~{$it.statement_end_time}</td>
<td>{$it.statement_begin_time}-{$it.statement_end_time}</td>
<td>{$it.game_name}</td>
<if condition="$it['statement_type'] eq 1">
<td>-{$it.pay_amount}</td>
@ -218,10 +218,10 @@
<td>{$it.pay_amount}</td>
</if>
<if condition="$it['statement_type'] eq 0">
<td>{$it.first_ratio}%</td>
<td>{$it.second_ratio}%</td>
<td>{$it.promote_ratio}%</td>
<td>{$it.fax_ratio}%</td>
<td>{$it.first_ratio|showNumPercent}</td>
<td>{$it.second_ratio|showNumPercent}</td>
<td>{$it.promote_ratio|showNumPercent}</td>
<td>{$it.fax_ratio|showNumPercent}</td>
<else />
<td></td>
<td></td>
@ -240,12 +240,12 @@
<tr>
<td>合计</td>
<td></td>
<td>{$data.statement_count.pay_amount}</td>
<td>{$data['statement_count']['pay_amount']-0}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>{$data.statement_count.statement_money}</td>
<td>{$data['statement_count']['statement_money']-0}</td>
</tr>
<tr>
<td colspan=7>本月分成总金额(人民币大写):</td>

@ -206,7 +206,7 @@
<tbody id="statementShow">
<foreach name="data.statement_info" item="it" >
<tr>
<td>{$it.statement_begin_time}~{$it.statement_end_time}</td>
<td>{$it.statement_begin_time}-{$it.statement_end_time}</td>
<td>{$it.game_name}</td>
<if condition="$it['statement_type'] eq 1">
<td>-{$it.pay_amount}</td>
@ -215,11 +215,11 @@
</if>
<if condition="$it['statement_type'] eq 0">
<if condition="$data['withdraw_type'] eq 2">
<td>{$it.increment_ratio}%</td>
<td>{$it.increment_ratio|showNumPercent}</td>
<else />
<td>{$it.ratio}%</td>
<td>{$it.ratio|showNumPercent}</td>
</if>
<td>{$it.fax_ratio}%</td>
<td>{$it.fax_ratio|showNumPercent}</td>
<else />
<td></td>
<td></td>
@ -236,10 +236,10 @@
<tr>
<td>合计</td>
<td></td>
<td>{$data.statement_count.pay_amount}</td>
<td>{$data['statement_count']['pay_amount']-0}</td>
<td></td>
<td></td>
<td>{$data.statement_count.statement_money}</td>
<td>{$data['statement_count']['statement_money']-0}</td>
</tr>
<tr>
<td colspan=5>本月分成总金额(人民币大写):</td>

Loading…
Cancel
Save