<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<ali:Get ID="StockOut" Object="StockOut" InnerID="Request.QueryString['StockOutID']" />
<section data-page="stock_in_from_stock_out" data-title="入库单">
	<div class="content">
		<form action="" class="post" data-stock-in-no="<%=DateTime.Now.ToString("yyyyMMddhhmmss")%>" data-stock-out-id="<%=StockOut[InnerID]%>" data-stock-out-guid="<%=StockOut[ID]%>" data-stock-out-no="<%=StockOut[No]%>" data-shop-id="<%=StockOut[ToID]%>">
			<div class="post-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">进货价格</th>
							<th data-name="amount">进货数量</th>
							<th data-name="expiredTime">过期日期</th>
							<th data-name="memo">备注</th>
						</tr>
					</thead>
					<tbody>
						<ali:List Object="StockOut.Detail" Condition="StockOutID=StockOut[ID]">
							<ali:Record>
								<tr>
									<td><%=GoodsName%></td>
									<td><%=GoodsNo%></td>
									<td><%=GoodsBarCode%></td>
									<td><%=GoodsSpec%></td>
									<td><%=Convert.ToDecimal(Price).ToString("0.00")%></td>
									<td><%=Amount%></td>
									<td><input type="text" size="10" class="ali-input" readonly data-ali-widget="calendar"></td>
									<td><input type="text" size="10" class="ali-input"></td>
								</tr>
							</ali:Record>
						</ali:List>
					</tbody>
				</table>

				<table class="post-table">
					<tr>
						<th>备注：</th>
						<td><textarea rows="5" cols="50" name="Memo"></textarea></td>
					</tr>
				</table>
			</div>
			<div class="post-footer"><button type="submit" class="ali-button">入库</button></div>
		</form>
		</form>
	</div>
</section>