<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="" method="post" name="searchForm">
	<table class="table list-table">
		<colgroup>
			<col width="35px" />
			<col />
		</colgroup>

		<caption>
            <a class="btn btn-default" href='{url:/order/ship_info_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({'form':'searchForm',link:'{url:/order/recycle_restore}',msg:'确定要还原所选中的信息吗？'});">
                <i class="fa fa-recycle"></i>还原
            </a>
            <a class="btn btn-default" onclick="delModel({'form':'searchForm',link:'{url:/order/recycle_del}',msg:'确定要彻底删除所选中的信息吗？'});">
                <i class="fa fa-close"></i>彻底删除
            </a>
		</caption>
		<thead>
			<tr>
				<th></th>
				<th>发货点名称</th>
				<th>地址</th>
				<th>邮编</th>
				<th>电话</th>
				<th>发货人</th>
				<th>操作</th>
			</tr>
		</thead>

		<tbody>
			{set:$queryObj=Api::run('getShipInfoList',array('is_del'=>'1'));$resultData=$queryObj->find()}
            {foreach:items=$resultData}
			<tr>
				<td><input name="id[]" type="checkbox" value="{$item['id']}" /></td>
				<td>{$item['ship_name']}</td>
				<td>{$item['address']}</td>
				<td>{$item['postcode']}</td>
				<td>{if:$item['mobile']}{$item['mobile']}{else:}{$item['telphone']}{/if}</td>
				<td>{$item['ship_user_name']}</td>
				<td>
					<a href="{url:/order/recycle_restore/id/$item['id']}"><i class='operator fa fa-reply'></i></a>
					<a onclick="delModel({link:'{url:/order/recycle_del/id/$item['id']}'})"><i class='operator fa fa-close'></i></a>
				</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
	</form>
</div>
{$queryObj->getPageBar()}