<!--{include file="<!--{$salepath}-->public/header.tpl"}-->
	<body>
		<div class="wrap-container clearfix">
			<div class="column-content-detail">
				
				<div class="layui-form" id="table-list">
					<table class="layui-table" lay-even lay-skin="nob">
						<colgroup>
							<col width="50">
							<col width="100">
							<col width="100">
							<col width="100">
							<col width="100">
							<col class="hidden-xs" width="80">
							<col width="80">
							<col width="150">
						</colgroup>
						<thead>
							<tr>
								<th><input type="checkbox" lay-skin="primary" lay-filter="allChoose" data-id=""></th>
								<th>会员名称</th>
								<th>订单编号</th>
								<th>商品名称</th>
								<th>商品数量</th>
								<th>订单价格</th>
								<th>状态</th>
								<th class="hidden-xs">下单时间</th>
								<th>订单状态</th>
								<th>商品价格</th>
								<th>商品价格</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
                        <!--{if empty($product)}-->
                            <tr>
                            	<td colspan="5" style="text-align: center;">没有符合条件的信息！</td>
                            </tr>
                        <!--{else}-->
                                                          
                            <!--{foreach $product as $key=>$volist}-->
                            <tr>
                                <td><input type="checkbox"  lay-skin="primary" data-id="<!--{$volist.productid}-->"></td>
								<td><!--{$volist.username}--></td>
								<td><!--{$volist.ordernum}--></td>
								<td><!--{$volist.goodsname}--></td>
								<td><!--{$volist.goodsnum}--></td>
								<td><!--{$volist.orderprice}--></td>
								<td><!--{$volist.status}--></td>
								<td class="hidden-xs">    <!--{$volist.time|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
								<td><!--{$volist.status}--></td>

                                <!--{if $volist.stock < '10'}-->
                                <td style="color: red;"><!--{$volist.stock}--></td>
                                <!--{else}-->
                                <td><!--{$volist.stock}--></td>
                                <!--{/if}-->
								<td><!--{$volist.status}--></td>
								
								<td>
									<div class="layui-inline">
										<button class="layui-btn layui-btn-small layui-btn-normal addBtn" data-id="<!--{$volist.id}-->" data-url="sale.php?c=Salesorder&a=out&id=<!--{$volist.ordernum}-->" data-text='出库库确认'><i class="layui-icon">&#xe642;</i></button>
										<button class="layui-btn layui-btn-small layui-btn-danger del-btn" data-id="<!--{$volist.productid}-->" data-url="sale.php?c=Product&a=del"><i class="layui-icon">&#xe640;</i></button>
									</div>
								</td>
							</tr>
                            <!--{/foreach}--> 
							<!--{/if}-->
							
						
						</tbody>
					</table>


					<div class="layui-input-block">
						<a href="sale.php?c=Report&a=chuku" class="layui-btn">导出报表</a>
					</div>

					<div class="page-wrap">
						<ul class="pagination">
                            <!--{$showpage}-->
							<!--<li class="disabled"><span>«</span></li>
							<li class="active"><span>1</span></li>
							<li>
								<a href="#">2</a>
							</li>
							<li>
								<a href="#">»</a>
							</li>-->
						</ul>
					</div>
				</div>
			</div>
		</div>
	
		
		<script src="<!--{$salepath}-->static/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src="<!--{$salepath}-->static/js/common.js" type="text/javascript" charset="utf-8"></script>
        <script src="<!--{$salepath}-->static/js/jquery-3.2.1.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
            $(document).ready(function () { 
            	$("#search").click(function(){
                	document.getElementById("forms").submit();          
                }); 
        	}); 

		</script>

	</body>
</html>
