<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<ali:Get ID="SupplierPayment" Object="Supplier.Payment" InnerID="Request.QueryString['ID']" Validate="True" />
<ali:Get ID="Supplier" Object="Supplier" Guid="SupplierPayment[SupplierID]" />
<section data-page="supplier_payment_edit" data-title="编辑供应商收款账号" data-id="<%=Supplier[InnerID]%>">
	<div class="path1"><span>您的位置：</span><a href="../list.aspx" target="ali-navtab">供应商列表</a> → <a href="list.aspx?SupplierID=<%=Supplier[ID]%>" target="ali-navtab"><%=Supplier[Name]%>的收款账号列表</a> → <b class="<%=ContentLang%>Font"><%=SupplierPayment[Name]%></b></div>
	<form action="" class="post">
		<div class="post-body">
			<table class="post-table">
				<tr>
					<th width="140">名称：</th>
					<td><input type="text" name="Name" value="<%=SupplierPayment[Name]%>" size="30" maxlength="50" class="ali-input ali-input-required <%=ContentLang%>Font"></td>
				</tr>
				<tr>
					<th>银行：</th>
					<td>
						<select name="Type">
							<option value="FaceToFace">面对面</option>
							<option value="Alipay">支付宝</option>
							<option value="Tenpay">财付通</option>
							<option value="ChinaBank">网银在线</option>
							<option value="ICBC">工商银行</option>
							<option value="ABC">农业银行</option>
							<option value="CCB">建设银行</option>
							<option value="CMB">招商银行</option>
							<option value="BCM">交通银行</option>
							<option value="BOC">中国银行</option>
							<option value="CMBC">民生银行</option>
							<option value="CIB">兴业银行</option>
						</select>
					</td>
				</tr>
				<tr>
					<th>账户名：</th>
					<td><input type="text" name="AccountName" value="<%=SupplierPayment[AccountName]%>" size="30" maxlength="50" class="ali-input"></td>
				</tr>
				<tr>
					<th>账号：</th>
					<td><input type="text" name="Account" value="<%=SupplierPayment[Account]%>" size="30" maxlength="50" class="ali-input"></td>
				</tr>
				<tr>
					<th>是否默认：</th>
					<td>
						<%If Convert.ToBoolean(SupplierPayment[IsDefault])%>
							<label><input type="radio" name="IsDefault" value="true" checked>是</label> <label><input type="radio" name="IsDefault" value="false">否</label>
						<%Else%>
							<label><input type="radio" name="IsDefault" value="true">是</label> <label><input type="radio" name="IsDefault" value="false" checked>否</label>
						<%EndIf%>
					</td>
				</tr>
			</table>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">保 存</button></div>
	</form>
</section>