优化汇总时间显示

master
chenzhi 4 years ago
parent b9567f6faf
commit 0fd5bc7fe8

@ -292,8 +292,8 @@ class CompanyStatementPoolController extends ThinkController
unset($pl); unset($pl);
foreach($infolist as $k=>&$v){ foreach($infolist as $k=>&$v){
$v['statement_info'] = json_decode($v['statement_info'],true); $v['statement_info'] = json_decode($v['statement_info'],true);
$v['statement_begin_time'] = date('Y-m-d',$v['statement_begin_time']); $v['statement_begin_time'] = date('Y.m.d',$v['statement_begin_time']);
$v['statement_end_time'] = date('Y-m-d',$v['statement_end_time']); $v['statement_end_time'] = date('Y.m.d',$v['statement_end_time']);
$cline = $line+1; $cline = $line+1;
if($is_export){ if($is_export){
$v['statement_money_exp'] = "="; $v['statement_money_exp'] = "=";
@ -372,8 +372,8 @@ class CompanyStatementPoolController extends ThinkController
// //
foreach($infolist as $k=>&$v){ foreach($infolist as $k=>&$v){
$v['statement_info'] = json_decode($v['statement_info'],true); $v['statement_info'] = json_decode($v['statement_info'],true);
$v['statement_begin_time'] = date('Y-m-d',$v['statement_begin_time']); $v['statement_begin_time'] = date('Y.m.d',$v['statement_begin_time']);
$v['statement_end_time'] = date('Y-m-d',$v['statement_end_time']); $v['statement_end_time'] = date('Y.m.d',$v['statement_end_time']);
$cline = $line+1; $cline = $line+1;
if($is_export){ if($is_export){
$v['statement_money_exp'] = "="; $v['statement_money_exp'] = "=";

@ -126,7 +126,7 @@
<td rowspan="{$com.statement_count}">{$com.company_name}</td> <td rowspan="{$com.statement_count}">{$com.company_name}</td>
<td rowspan="{$com.statement_count}">{$com.matche_platform}</td> <td rowspan="{$com.statement_count}">{$com.matche_platform}</td>
<!-- <td rowspan="{$com.statement_count}">{$com.statement_begin_time} ~ {$com.statement_end_time}</td> --> <!-- <td rowspan="{$com.statement_count}">{$com.statement_begin_time} ~ {$com.statement_end_time}</td> -->
<td>{$com['statement_info'][0]['statement_begin_time']} ~ {$com['statement_info'][0]['statement_end_time']}</td> <td>{$com['statement_info'][0]['statement_begin_time']} - {$com['statement_info'][0]['statement_end_time']}</td>
<td>{$com['statement_info'][0]['game_name']}</td> <td>{$com['statement_info'][0]['game_name']}</td>
<td>{$com['statement_info'][0]['pay_amount']}</td> <td>{$com['statement_info'][0]['pay_amount']}</td>
@ -145,7 +145,7 @@
<foreach name="com.statement_info" item="it" key="k"> <foreach name="com.statement_info" item="it" key="k">
<if condition="$k neq 0"> <if condition="$k neq 0">
<tr> <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> <td>{$it['game_name']}</td>
<td>{$it['pay_amount']}</td> <td>{$it['pay_amount']}</td>
<td>{$it['pay_amount']}</td> <td>{$it['pay_amount']}</td>

@ -127,7 +127,7 @@
<td rowspan="{$com.statement_count}">{$com.reward}</td> <td rowspan="{$com.statement_count}">{$com.reward}</td>
<td rowspan="{$com.statement_count}">{$com.statement_money}</td> <td rowspan="{$com.statement_count}">{$com.statement_money}</td>
<td rowspan="{$com.statement_count}">{$com.settlement_contact}</td> <td rowspan="{$com.statement_count}">{$com.settlement_contact}</td>
<td>{$com['statement_info'][0]['statement_begin_time']} ~ {$com['statement_info'][0]['statement_end_time']}</td> <td>{$com['statement_info'][0]['statement_begin_time']} - {$com['statement_info'][0]['statement_end_time']}</td>
<td rowspan="{$com.statement_count}">{$com.renark}</td> <td rowspan="{$com.statement_count}">{$com.renark}</td>
</tr> </tr>
@ -140,7 +140,7 @@
<td>{$it['increment_ratio']}%</td> <td>{$it['increment_ratio']}%</td>
<td>{$it['fax_ratio']}%</td> <td>{$it['fax_ratio']}%</td>
<td>{$it['d_statement_money']}</td> <td>{$it['d_statement_money']}</td>
<td>{$it['statement_begin_time']} ~ {$it['statement_end_time']}</td> <td>{$it['statement_begin_time']} - {$it['statement_end_time']}</td>
</tr> </tr>
</if> </if>
</foreach> </foreach>

Loading…
Cancel
Save