<!--{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="200">
						<col width="80">
						<col class="hidden-xs" width="80">
						<col width="80">
						<col width="80">
						<col width="80">
						<col class="hidden-xs" width="50">
						<col class="hidden-xs" width="200">
						<col width="150">

					</colgroup>
					<thead>
						<tr>
							<th>采购单号</th>
							<th>商品名</th>
							<th>供应商名称</th>
							<th>采购数量</th>
							<th>下单时间</th>
							<th>到货时间</th>
							<th class="hidden-xs">采购人</th>
							<th class="hidden-xs">审核</th>
							<th class="hidden-xs">备注</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<!--{if empty($notPurchase)}-->
						<tr>
							<td colspan="9" style="text-align: center;">没有符合条件的信息！</td>
						</tr>
						<!--{else}-->

						<!--{foreach $notPurchase as $key=>$volist}-->
						<tr>
							<td>
								<!--{$volist.purchase_name}-->
							</td>
							<td>
								<!--{$volist.productname}-->
							</td>
							<td>
								<!--{$volist.supplier_name}-->
							</td>
							<td>
								<!--{$volist.pruchase_number}-->
							</td>
							<td>
								<!--{$volist.add_time|date_format:"%Y-%m-%d %H:%M"}-->
							</td>
							
							<td>
								<!--{$volist.delivery_time}-->
							</td>
							
							<td class="hidden-xs">
								<!--{$volist.create_user_name}-->
							</td>
							<td class="hidden-xs">
								<!--{if $volist.remarks==0}-->
								未审核
								<!--{else}-->
								已审核
								<!--{/if}-->
							</td>
							<td class="hidden-xs">
								<!--{$volist.remarks}-->
							</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=Purchase&a=status&id=<!--{$volist.id}-->" data-text='采购单审核通过'><i class="layui-icon">&#xe642;</i></button>
								</div>
							</td>
						</tr>
						<!--{/foreach}-->

						<!--{/if}-->

					</tbody>
				</table>
				<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>