<?php 
require_once 'class/sub_pages.class.php';
if (isset($_GET["p"])) {
    $pageCurrent = $_GET["p"];
} else {
    $pageCurrent = 1;
}
//每页显示的条数
$page_size = 10;
//总条目数
//每次显示的页数
$sub_pages = 10;
$url = sprintf("index.php?mod=order&action=detail&did=%d&p=", $id);
$array_order_goods = $order_service->getGoodsByOrderIdSubPage($pageCurrent, $page_size, $id);
$nums = $order_service->getGoodsByOrderIdCount($id);
?>
<ul class="nav nav-tabs">
  <li class="active">
    <a href="#">采购单商品信息</a>
   
  </li>
  <a href="#addGoods" role="button" class='btn btn-primary' data-toggle="modal" style="float: right;">添加采购单产品</a>
</ul>
  <table class="table table-bordered table-striped  table-hover table-condensed" >
  <thead >
    <tr><th  >商品名称</th>
   		<th  >商品编号</th>
		<th  >商品数量</th>
		<th  >是否缺货</th>
	</tr>