<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>
<form name="searchForm" action="" method="post">
<div class="content">
	<table class="table list-table">
		<colgroup>
			<col width="35px" />
			<col width="200px" />
			<col width="105px" />
			<col />
		</colgroup>
		<caption>
            <a class="btn btn-default" href='{url:/order/order_delivery_list}'>
                <i class="fa fa-reply"></i>返回列表
            </a>
            <a class="btn btn-default" onclick="selectAll('id[]')">
                <i class="fa fa-check"></i>全选
            </a>
            <a class="btn btn-default" onclick="delModel({'link':'{url:/order/delivery_recycle_del}','form':'searchForm'});">
                <i class="fa fa-close"></i>彻底删除
            </a>
            <a class="btn btn-default" onclick="delModel({'link':'{url:/order/delivery_recycle_restore}','form':'searchForm','msg':'选择回复？'});">
                <i class="fa fa-recycle"></i>还原
            </a>
		</caption>
		<thead>
			<tr>
				<th></th>
				<th>订单号</th>
				<th>收货人</th>
				<th>物流单号</th>
				<th>物流公司</th>
				<th>运费</th>
				<th>会员名</th>
				<th>完成时间</th>
				<th>操作</th>
			</tr>
		</thead>

		<tbody>
            {set:$queryObj=Api::run('getListByDeliveryDoc',array('if_del'=>'1'));$resultData=$queryObj->find()}
            {foreach:items=$resultData}
			<tr>
				<td><input name="id[]" type="checkbox" value="{$item['id']}" /></td>
				<td>{$item['order_no']}</td>
				<td>{$item['name']}</td>
				<td>{$item['delivery_code']}</td>
				<td>{$item['freight_name']}</td>
				<td>{$item['freight']}</td>
				<td>{echo:$item['username']=='' ? '游客' : $item['username']}</td>
				<td>{$item['time']}</td>
				<td><a href="{url:/order/delivery_show/id/$item['id']}"><i class='operator fa fa-eye'></i></a></td>
			</tr>
			{/foreach}
		</tbody>
	</table>
</div>
{$queryObj->getPageBar()}
</form>