<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<ali:Get ID="StockOut" Object="StockOut" InnerID="Request.QueryString['ID']" Validate="True" />
<section data-page="stock_out_view" data-title="查看出库单">
	<div class="path1"><span>您的位置：</span><a href="list.aspx" target="ali-navtab">出库单列表</a> → <b class="<%=ContentLang%>Font"><%=StockOut[No]%></b></div>
	<form action="" class="post">
		<div class="post-body">
			<table class="post-table">
				<tr>
					<th width="140">出库单号：</th>
					<td><%=StockOut[No]%></td>
				</tr>
				<tr>
					<th>目标类型：</th>
					<td><%=StockOut[ToType]%></td>
				</tr>
				<tr>
					<th>目标<span>店铺</span>：</th>
					<td><%=StockOut[ToName]%></td>
				</tr>
				<tr>
					<th>收货人名称：</th>
					<td><%=StockOut[ReceiverName]%></td>
				</tr>
				<tr>
					<th>收货人地址：</th>
					<td><%=StockOut[ReceiverAddress]%></td>
				</tr>
				<tr>
					<th>收货人电话：</th>
					<td><%=StockOut[ReceiverPhone]%></td>
				</tr>
				<tr>
					<th>邮政编码：</th>
					<td><%=StockOut[ReceiverZip]%></td>
				</tr>
			</table>

			<div class="ali-panel margin3" data-height-style="content">
				<div class="ali-panel-header">商品清单</div>
				<div class="ali-panel-body">
					<table data-ali-widget="grid" class="grid1">
						<thead>
							<tr>
								<th data-name="goodsName">商品名称</th>
								<th data-name="goodsNo">商品编号</th>
								<th data-name="goodsBarCode">商品条码</th>
								<th data-name="goodsSpec">商品规格</th>
								<th data-name="price" width="60">平均单价</th>
								<th data-name="amount" width="60">数量</th>
								<th data-name="memo" width="120">备注</th>
							</tr>
						</thead>
						<tbody>
							<ali:List Object="StockOut.Detail" Condition="StockOutID=StockOut[ID]">
								<ali:Record>
									<tr data-id="<%=InnerID%>">
										<td><%=GoodsName%></td>
										<td><%=GoodsNo%></td>
										<td><%=GoodsBarCode%></td>
										<td><%=GoodsSpec%></td>
										<td><%=Price%></td>
										<td><%=Amount%></td>
										<td><%=Memo%></td>
									</tr>
								</ali:Record>
							</ali:List>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</form>
</section>