<div class="breadcrumbs" id="breadcrumbs">
	<ul class="breadcrumb">
		<li>
			<i class="home-icon fa fa-home"></i>
			<a href="#">会员</a>
		</li>
		<li>
			<a href="#">提现管理</a>
		</li>
		<li class="active">提现申请列表</li>
	</ul>
</div>
<div class="content">
	<form action="{url:/member/withdraw_update/type/del}" method="post">
		<table class="table list-table">
			<colgroup>
				<col width="35px" />
				<col  />
				<col width="120px" />
				<col width="120px" />
				<col width="180px" />
				<col width="120px" />
				<col width="90px" />
				<col width="90px" />
			</colgroup>
			<caption>
                <a class="btn btn-default" onclick="selectAll('id[]')">
                    <i class="fa fa-check"></i>全选
                </a>
                <a class="btn btn-default" onclick="delModel({msg:'确定把信息放到回收站内么？'});">
                    <i class="fa fa-close"></i>批量删除
                </a>
                <a class="btn btn-default" href='{url:/member/withdraw_recycle/type/del}'>
                    <i class="fa fa-trash"></i>回收站
                </a>
			</caption>
			<thead>
				<tr>
					<th></th>
					<th>用户名</th>
					<th>当前预存款</th>
					<th>申请提现金额</th>
					<th>申请时间</th>
					<th>收款人姓名</th>
					<th>状态</th>
					<th>操作</th>
				</tr>
			</thead>

			<tbody>
                {set:$queryObj=Api::run('getListByWithdraw',array('is_del'=>'0'));$resultData=$queryObj->find()}
                {foreach:items=$resultData}
				<tr>
					<td><input type="checkbox" name="id[]" value="{$item['id']}" /></td>
					<td>{$item['username']}</td>
					<td>{$item['balance']}</td>
					<td>{$item['amount']} 元</td>
					<td>{$item['time']}</td>
					<td>{$item['name']}</td>
					<td>{echo:AccountLog::getWithdrawStatus($item['status'])}</td>
					<td>
						<a href='{url:/member/withdraw_detail/id/$item['id']}'><i class='operator fa fa-eye'></i></a>
						<a href='javascript:void(0)' onclick="delModel({link:'{url:/member/withdraw_update/type/del/id/$item['id']}',msg:'确定要把此信息放入到回收站么？'});"><i class='operator fa fa-close'></i></a>
					</td>
				</tr>
				{/foreach}
			</tbody>
		</table>
	</form>
</div>
{$queryObj->getPageBar()}
