<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<ali:Get ID="Supplier" Object="Supplier" Guid="Request.QueryString['SupplierID']" />
<section data-page="supplier_addresses_add" data-title="添加供应商收货地址" data-supplier-id="<%=Supplier[ID]%>">
	<div class="path1"><span>您的位置：</span><a href="../list.aspx" target="ali-navtab">供应商列表</a> → <b class="<%=ContentLang%>Font"><%=Supplier[Name]%></b></div>
	<form action="" class="post">
		<div class="post-body">
			<div class="ali-tabs margin2" data-event="click">
				<div class="ali-tabs-header">
					<div class="ali-tabs-nav-container">
						<ul>
							<li><a href="../edit.aspx?ID=<%=Supplier[InnerID]%>" target="ali-navtab">编辑</a></li>
							<li class="ali-active"><a>添加收货地址</a></li>
							<li><a href="list.aspx?SupplierID=<%=Supplier[ID]%>" target="ali-navtab">浏览收货地址</a></li>
							<li><a href="../payment/add.aspx?SupplierID=<%=Supplier[ID]%>" target="ali-navtab">添加收款账号</a></li>
							<li><a href="../payment/list.aspx?SupplierID=<%=Supplier[ID]%>" target="ali-navtab">浏览收款账号</a></li>
						</ul>
					</div>
				</div>
				<div class="ali-tabs-body">
					<div class="ali-tabs-panel"></div>
					<div class="ali-tabs-panel">
						<table class="post-table">
							<tr>
								<th width="140">地区：</th>
								<td data-id="region">
									<select class="<%=ContentLang%>Font">
										<option value="" data-inner-id="" data-parent-chain="">-- 未指定 --</option>
										<ali:List Mark="Goods" Object="Region" Condition="ParentID IS NULL">
											<ali:Record>
												<option value="<%=ID%>" data-inner-id="<%=InnerID%>" data-parent-chain="<%=ParentChain%>"><%=Name%></option>
											</ali:Record>
										</ali:List>
									</select>
								</td>
							</tr>
							<tr>
								<th>地址：</th>
								<td><input type="text" name="Address" size="30" maxlength="50" class="ali-input <%=ContentLang%>Font"></td>
							</tr>
							<tr>
								<th>邮政编码：</th>
								<td><input type="text" name="Zip" size="10" maxlength="10" class="ali-input"></td>
							</tr>
							<tr>
								<th>是否默认：</th>
								<td><label><input type="radio" name="IsDefault" value="true">是</label> <label><input type="radio" name="IsDefault" value="false" checked>否</label></td>
							</tr>
						</table>
					</div>
				</div>
				<div class="ali-tabs-bottom"><b></b></div>
			</div>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">添 加</button></div>
	</form>
</section>