 <!-- 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 'menu' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<ul>
						<!-- include 'receipt_menu' -->
					</ul>
				</div>
			</div>
			<div class="adminContent autoHeight" style="height: 821px;">
				<legend><div class="fR"></div>编辑对公汇款</legend>
	  		<div class="saeaList">
	  			<div class="entry public-list">
	  				<div class="seTable">
	  				<input type="hidden" id="agencyR" value="{{cSum.agencySum}}" />
	  				<input type="hidden" id="travelR" value="{{cSum.travelSum}}" />
	  				<input type="hidden" id="trainR" value="{{cSum.trainSum}}" />
	  				<input type="hidden" id="otherR" value="{{cSum.otherSum}}" />
	  				<form action="/remitEdiDo" method="post">
	  					<input type="hidden" name="rid" value="{{rid}}"/>
	  					<table class="table table-bordered table-condensed table-hover">
	  					<tbody>
	  					   
	  						<tr><th colspan="2" class="taC">办事处相关费用</th></tr>
	  						
	  						<!-- loop acItem -->
		  						<!-- if {{acItem' value.category}} =="日常相关费用" -->
			  						<!-- if {{acItem' value.name}}=="办公费用" || {{acItem' value.name}}=="其他费用" || {{acItem' value.name}}=="公积金" || {{acItem' value.name}}=="社保" -->
			  						<tr>
			  						<th>{{acItem' value.name}}</th>
			  						<td  width="200" class="taR">￥<input type="number" id="agency_{{acItem' value.aid}}" name="agency[]" <!-- if !empty({{acItem' value.price}}) --> value="{{acItem' value.price}}" <!-- else --> value="0" <!-- endif --> placeholder="输入{{acItem' value.name}}" pattern="[0-9]" step="0.01" min="0" class="span2">
			  						</td></tr>
			  						<!-- endif -->
		  						<!-- endif -->
	  						<!-- endloop -->
	  						
	  						<tr><th class="taR">合计</th><td class="colGreen taR" id="agencyResult">￥{{cSum.agencySum}}</td></tr>
	  						
	  						<tr class="warning"><td class="taR"><b>本次报销费用合计</b></td><td class="colGreed taR"><b style="font-size:24px" id="RS">￥{{sum}}</b></td></tr>
	  						<!-- if {{receiptDetail.status}}!=4 -->
	  						<tr><th colspan="2" class="taC">对公汇款审批</th></tr>
	  						<tr>
								<th>选择审批组</th>
								<td class="taR">
								<select name="verify">
								<!-- loop veList -->
								<option <!-- if {{veList' value.vid}}=={{verify}} --> 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 {{category' value.cid}}=={{receiptDetail.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="8" style="width:99%;resize: vertical" placeholder="市内交通费、邮寄费、公关费、办公费等费用说明，请详细填写在这。">{{receiptDetail.explanation}}</textarea>
	  						</th></tr>
	  						
	  						
	  						</tbody>
	  					</table>
	  					<table class="table">
	  						<tr><td><input type="submit" value="生成对公汇款单 >>" class="button" /></td></tr>
	  					</table>
	  				</form>	
	  				</div>
	  				<div class="seCensor  public-censor">
	  					<div class="title">
	  					报销单填写说明
	  					</div>
	  				</div>
	  			</div>
			</div>
		</div>
	</div>
	<!--弹出-->
<div class="modal hide fade" id="addCallout">
    <div class="modal-header">
    <h3>添加批注</h3>
    </div>
    <div class="modal-body">
    <form class="">
	    	<div class="control-group">
				<div class="controls clearfix">
					<label>
	                	批注内容
	              	</label>
	              	<textarea rows="8" class="span6"></textarea>
				</div>
	    	</div>
    </form>
    </div>
	<div class="modal-footer">
	    <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">取消</a>
	   	<a href="#" class="button">确定</a>
	</div>
</div>
    <!--弹出内容-->
<script type="text/javascript">autoFlashHeight();</script>	
</body>