require_once 'class/order_goods.class.php';
require_once 'class/order_service.class.php';
require_once 'class/code_names.class.php';
$supplier_service = new SupplierService();
$order = unserialize($_SESSION['order']);
$id = $order->id;
$order_number = $order->order_number;
$supplier_id = $order->supplier_id;
$supplier = $supplier_service->getSupplierById($supplier_id);
$supplier_name = $supplier->supplier_name;
$status = $order->status;
$note = $order->note;
unset($_SESSION["order"]);
$_SESSION['id'] = $id;
$order_service = new OrderService();
$array_order_goods = $order_service->getGoodsByOrderId($id);
?>
<div class="span12" style="margin-left: auto;margin-right: auto;">
<h3 style="float:left">采购单信息</h3>
<div style="float:right;margin-top:12px">
<a class='btn btn-primary' href='./index.php?mod=order&action=edit_get&eid=<?php 
echo $id;
?>
'>修改</a>
<a class="btn" href="javascript:history.go(-1);">返回</a>
</div>
<table class="table table-bordered table-hover ">
<thead >
<tr><th colspan="4">基本信息</th>

</tr>