<!-- include 'header' -->

 <script src="<?= WEB_SITE_GLOBAL ?>js/receipt.js"></script>

<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
					<!-- include 'menuReceipt' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<!-- include 'receipt_menu' -->
				</div>
			</div>
			<div class="adminContent autoHeight" style="height: 821px;">
				<legend><div class="fR"></div>申请借款</legend>
	  		<div class="saeaList">
	  		<form action="/saeaLoanEdiDo" method="post">
	  			<input type="hidden" name="rid" value="{{receiptInfo.rid}}">
	  			<div class="entry loan-list">
	  				<div class="seTable">
	  					<table class="table table-bordered table-condensed table-hover">
	  					<tbody>
	  						<tr><th colspan="2" class="taC">借款费用</th></tr>
	  						
	  						<!-- loop receiptInfo.loanItem.借款费用 -->
	  						<tr><th>申请金额</th><td  width="200" class="taR">￥
	  						<input type="number" id="agency_1" name="agency" value="{{loanItem' value.price}}" placeholder="输入借款费用" pattern="[0-9]" step="0.01" min="0" class="span2"></td>
	  						</tr>
	  						<!-- endloop -->
	  						
							<tr class="warning"><td class="taR"><b>本次借款费用合计</b></td><td class="colGreed taR"><b id="agencyResult" style="font-size:24px">￥0.00</b></td></tr>
							<!-- if {{receiptInfo.status}}!=4 -->
							<tr><th colspan="2" class="taC">借款审批</th></tr>
							<tr>
								<th>选择审批组</th>
								<td class="taR">
								<select name="verify">
								<!-- loop veList -->
								<option <!-- if {{receiptInfo.verify}}=={{veList' value.vid}} --> selected <!-- endif --> value="{{veList' value.vid}}" >{{veList' value.description}}（
								{{veList' value.staff}}
								
								
								）</option>
								<!-- endloop -->
								</select>
								</td>
							</tr>
							<!-- endif -->
							<tr><th colspan="2" class="taC">产生费用所在办事处</th></tr>
							<tr>
								<th>选择办事处</th>
								<td class="taR">
								<select name="cid" class="span2">
								<!-- loop category -->
								<option <!-- if {{receiptInfo.cid}}=={{category' value.cid}} --> selected <!-- endif --> value="{{category' value.cid}}" >{{category' value.title}}</option>
								<!-- endloop -->
								</select>
								</td>
							</tr>
	  						<tr><th colspan="2" class="taC">借款说明</th></tr>
	  						<tr><th colspan="2">
	  									<textarea name='explanation' id="explanation" required rows="2" style="width:99%" placeholder="借款说明天填写在此。">{{receiptInfo.explanation}}</textarea>
	  						</th></tr>
	  						</tbody>
	  					</table>
	  					<table class="table">
	  						<tr><td>
	  						<input type="submit" value="提交申请" class="button" />
	  						</td></tr>
	  					</table>
	  				</div>
	  				<div class="seCensor loan-censor">
	  					<div class="title">
	  					借款说明
	  					</div>
		  				<div class="detail">
		  					<p>1 内容内容内容内容</p>
		  					<p>2 内容内容内容内容</p>
		  					<p>3 内容内容内容内容</p>
		  					<p>4 <b>内容内容内容内容</b> 内容内容内容内容</p>
	  					</div>
	  				</div>
	  			</div>
	  			</form>
			</div>
		</div>
	</div>
<script type="text/javascript">autoFlashHeight();</script>	
</body>