优化导出

master
chenzhi 5 years ago
parent eb311348a8
commit b7409ab069

@ -274,8 +274,13 @@ class CompanyStatementPoolController extends ThinkController
}
if($is_export){
$count["platform_amount"] = "=".trim($count["platform_amount_exp"],"+");
$count["sum_money"] = "=".trim($count["sum_money_exp"],"+");
$platform_amount_exp = trim($count["platform_amount_exp"],"+");
$sum_money_exp = trim($count["sum_money_exp"],"+");
if(empty($platform_amount_exp)){ $platform_amount_exp = 0;}
if(empty($sum_money_exp)){ $sum_money_exp = 0;}
$count["platform_amount"] = "=".$platform_amount_exp;
$count["sum_money"] = "=".$sum_money_exp;
}
$this->assign("data",$infolist);
$this->assign("count",$count);

@ -272,7 +272,7 @@
title: "海南万盟天下科技有限公司",
shadeClose: true,
shade: 0.8,
area: ['70%', '80%'],
area: ['100%', '100%'],
content: url
});
});

@ -116,9 +116,8 @@
<th>开户支行</th>
<th>帐户类型</th>
<th>备注</th>
<if condition="$is_export">
<th>是否结算</th>
<else />
<th>是否结算</th>
<if condition="!$is_export">
<th>操作</th>
</if>
@ -126,7 +125,7 @@
</thead>
<tbody id="statementShow">
<foreach name="data" item="com">
<tr <if condition="$com['st'] eq 0">style='color:red;'</if>>
<tr>
<td rowspan="{$com.statement_count}">{$key-0+1}</td>
<td rowspan="{$com.statement_count}">{$com.company_name}</td>
@ -156,9 +155,8 @@
<td rowspan="{$com.statement_count}">{$com.company_info.opening_bank}</td>
<td rowspan="{$com.statement_count}"></td>
<td rowspan="{$com.statement_count}">{$com.remark}</td>
<if condition="$is_export">
<td rowspan="{$com.statement_count}"><if condition="$com['st'] eq 0"><else /></if></td>
<else />
<td rowspan="{$com.statement_count}"><if condition="$com['st'] eq 0"><else /></if></td>
<if condition="!$is_export">
<td rowspan="{$com.statement_count}">
<if condition="($com['st'] eq 1 ) AND ($pool_status lt 1)">
<a data-id="{$com['id']}" class='butn no_statement' style="cursor:pointer">不结算</a>
@ -172,7 +170,7 @@
<foreach name="com.statement_info" item="it" key="k">
<if condition="$k neq 0">
<tr <if condition="$com['st'] eq 0">style='color:red;'</if>>
<tr>
<td>{$it['game_name']}</td>
<td>{$it['game_type_name']}</td>
<td>{$it['statement_begin_time']} ~ {$it['statement_end_time']}</td>
@ -209,6 +207,9 @@
<td></td>
<td></td>
<td></td>
<if condition="!$is_export">
<td></td>
</if>
</tr>
</tbody>
</table>

Loading…
Cancel
Save