<{include file="index/header.html"}> 
<div class="nav"><span>自营快递</span></div>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>申请的快递为接收，确认收货之后，快递显示为结束。</p>
		<p>快递主要用于商家自营发货的快捷选项，其他更多功能，根据需求后期逐一添加。</p>
	</div> 
</div> 
<div class="filter">
	 <a href="?m=express&a=edit" class="add">添加快递单</a>
	<input type="button" name="del_checked" class="del_ck button" value="删除选项"/>  
	<form action="#" method="get">
		<input type="hidden" name="m" value="express"/>	
		<input type="hidden" name="a" value="index"/>
		<div class="sch">
			<input type="text" name="key" class="text" value="" placeholder="请输入快递编号"/>
			<input type="submit" class="submit" value="确定"/>
		</div>
	</form> 
</div> 
<div class="main"> 
	<table class="ltable">
	  	<thead>
		  	<tr>
				<th width="30"><input type="checkbox" class="checked_all"/></th>
				<th width="100">编号</th> 
				<th width="100">发货人</td> 
				<th width="100">收货人</th>
				<th width="120">收货电话</th>
				<th width="60">状态</th>
				<th width="100">操作</th>
				<th width="120">时间</th>
				<th></th>
		  	</tr>
	  	</thead>
		<tbody>
		<{if $data.list}>
			<{foreach item=i from=$data.list}>
				<tr>
					<td><input name="key_id[]" type="checkbox" value="<{$i.id}>" class="checked_list"/></td>
					<td><{$i.id}></td>
					<td><{$i.sender_name}></td> 
					<td><{$i.receiver_name}></td> 
					<td><{$i.receiver_mobile}></td>  
					<td><{if $i.order_status == '1'}>派送中<{else}>结束<{/if}></td>  
					<td><a href="javascript:;" data-id="<{$i.id}>" class="del">删除</a></td>
					<td><{$i.addtime}> </td>
					<td></td>
				</tr>
			<{/foreach}>
		<{else}>
			<tr><td colspan="13">还没有数据，赶快添加吧！</td></tr>
		<{/if}>
		</tbody> 
	</table>
	<{if $data.page}><div class="page"><{$data.page}></div><{/if}>
</div>
<{include file="index/footer.html"}> 
<script type="text/javascript">
_delete("?m=express&a=del", '.del_ck'); 
</script>