2024-09-29 15:43:18 +08:00

60 lines
2.5 KiB
HTML

{extend name="../../admin/view/main"}
{block name="content"}
<div class="layui-tab layui-tab-card think-bg-white table-block">
<div class="layui-tab-content think-box-shadow table-block table-block">
{include file='account/index_search'}
{include file='account/statement'}
<table class="layui-table margin-top-10" lay-skin="line">
{notempty name='list'}
<thead>
<tr>
<th class='text-left nowrap' width="">商户</th>
<th class='text-left nowrap' width="">账户</th>
<th class='text-left nowrap' width="">操作</th>
<th class='text-left nowrap' width="">变动金额</th>
<th class='text-left nowrap' width="">变动前余额</th>
<th class='text-left nowrap' width="">变动后余额</th>
<th class='text-left nowrap' width="">说明</th>
<th class='text-left nowrap' width="">订单/消费</th>
<th class='text-left nowrap' width="">时间</th>
</tr>
</thead>
{/notempty}
<tbody>
{foreach $list as $key=>$vo}
<tr>
<td class='text-left nowrap'><span>{$vo.merchant.name|default=''|raw}</span></td>
<td class='text-left nowrap'>{$vo.account_name|default=''|raw}</td>
<td class='text-left nowrap'>{$vo.oper_name|default=''|raw}</td>
<td class='text-left nowrap'><span>{$vo.snum|default=''|raw}</span></td>
<td class='text-left nowrap'><span>{$vo.qian_yue|default=''|raw}</span></td>
<td class='text-left nowrap'><span>{$vo.yue|default=''|raw}</span></td>
<td class='text-left nowrap'><span>{$vo.desc|default=''|raw}</span></td>
<td class='text-left nowrap'>{if $vo.order_id}<span>{$vo.order_id|default=''|raw}</span><br />渠道折扣:<span>{$vo.product_cash|default=''|raw}</span>&nbsp;&nbsp;本单利润:<span>
{if $vo.oper == 2}
{$vo.profit|default=''|raw}
{else}
-{$vo.profit|default=''|raw}
{/if}
<br />
<span>下单时间:{$vo.order_date|default=''|raw}</span>
</span>{else}无{/if}</td>
<td class='text-left nowrap'><span>{$vo.create_at|default=''|raw}</span></td>
</tr>
{/foreach}
</tbody>
</table>
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
</div>
{/block}