55 lines
2.2 KiB
HTML
55 lines
2.2 KiB
HTML
{extend name="../../admin/view/main"}
|
|
{block name="button"}
|
|
<!--{if auth("add")}-->
|
|
<button data-modal='{:url("add")}' data-title="添加记录" class='layui-btn layui-btn-sm layui-btn-primary'>添加记录</button>
|
|
<!--{/if}-->
|
|
{/block}
|
|
{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='merchant_account/index_search'}
|
|
<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></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'><span>{$vo.day|default=''|raw}</span></td>
|
|
|
|
<td class='text-left nowrap'><span>{$vo.yue|default=''|raw}</span></td>
|
|
|
|
<td class='text-left nowrap'><span>{$vo.add|default=''|raw}</span></td>
|
|
|
|
<td class='text-left nowrap'><span>{$vo.dong|default=''|raw}</span></td>
|
|
|
|
<td class='text-left nowrap'>
|
|
<!--{if auth("edit")}-->
|
|
<a data-dbclick class="layui-btn layui-btn-xs" data-title="编辑" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
|
|
<!--{/if}-->
|
|
|
|
{if auth("remove")}
|
|
<a class="layui-btn layui-btn-xs layui-btn-danger" data-confirm="确定要删除吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}">删 除</a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
|
|
</div>
|
|
</div>
|
|
{/block}
|