<!-- include '../header' -->
<link rel=stylesheet href="<?= WEB_SITE_GLOBAL ?>css/jquery.validator.css"> 
<script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/jquery.validator.min.js"></script>
<script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/zh-CN.js"></script>
<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 '../admin/menuReceipt' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<!-- include '../admin/receipt_menu' -->
				</div>
			</div>
			<div class="adminContent autoHeight" style="height: 821px;">
			<form action="/receiptTrainAddDo" name="receiptTrainAdd" method="post">
			
				<legend><div class="fR"></div>创建培训班结算</legend>
				<div class="borad-news">
			  		<div class="saeaList">
			  			<table class="table table-bordered table-condensed">
							<tbody>
								<tr>
									<th colspan="4" class="taC">培训班信息</th>
								</tr>
								<tr>
									<th class="taC" width="150"><span class="colRed" title="必填">*</span>培训班名称</th>
									<td><input placeholder="XX办事处X年X月XX培训班" name="trainName" id='trainName' value='' type="text"></td>
									<th class="taC" width="150">所在办事处</th><td>{{staff.0.category}}</td>
								</tr>
								<tr>
									<th class="taC"><span class="colRed" title="必填">*</span>开班时间</th>
									<td><input placeholder="必填" name="trainStartDate" id="trainStartDate" type="date"></td>
									<th class="taC"><span class="colRed" title="必填">*</span>结束时间</th>
									<td><input placeholder="必填" name="trainEndDate" id="trainEndDate" type="date"></td>
								</tr>
								<tr>
									<th class="taC"><span class="colRed" title="必填">*</span>缴费参加人数</th>
									<td><input name="participants" id="participants" value="1" placeholder="输入数量" pattern="[0-9]" type="number" min="1" step="1" aria-required="true" class="n-valid">
									</td>
									<th class="taC"><span class="colRed" title="必填">*</span>免费参加人数</th>
									<td><input placeholder="必填" name="freeParticipants" id="freeParticipants"  value="0" placeholder="输入数量" pattern="[0-9]" type="number" min="1" step="1" aria-required="true" class="n-valid"></td>
								</tr>
								<tr>
									<th class="taC"><span class="colRed" title="必填">*</span>培训班地址</th>
									<td colspan="3"><input placeholder="必填" name="trainAddress" id="trainAddress" type="text"></td>
								</tr>
								<tr>
									<th class="taC">备注</th><td colspan="3"><textarea placeholder="选填项" name="trainRemarks" id="trainRemarks" style="width:600px"></textarea></td>
								</tr>
								<tr>
									<th colspan="4" class="taC">审批信息</th>
								</tr>
								<tr>
									<th class="taC"><span class="colRed" title="必填">*</span>审批组
									</th>
									
									
									<td>
									<select name="verify" id="verify">
								<option  value="" >请选择审批组</option>
								<!-- loop veList -->
								<option value="{{veList' value.vid}}" >{{veList' value.description}}（
								{{veList' value.staff}}
								
								）</option>
								<!-- endloop -->
								</select>
									</td>
									
									
									<th class="taC"><span class="colRed" title="必填">*</span>所在办事处</th>
									<td>
									
									<select name="cid" class="span2">
								<!-- loop category -->
								<option <!-- if {{category' value.cid}} == {{staff.0.cid}}  --> selected <!-- endif -->  value="{{category' value.cidKey}}" >{{category' value.title}}</option>
								<!-- endloop -->
								</select>
									
									</td>
								</tr>
								<tr>
									<th colspan="4" class="taC">汇款信息</th>
								</tr>
								
								
							<tr>
									<th class="taC"><span class="colRed" title="必填">*</span>汇款人户名
									</th><td><input type="text" name="remittanceName" id="remittanceName" placeholder="请输入汇款人户名" value="{{staff.0.remittanceName}}"></td>
									<th class="taC"><span class="colRed" title="必填">*</span>汇款银行</th>
									<td>
									<select node-rbt name="remittanceBankType">
							<option value="0">广发银行</option>
							<option value="1">其他</option>
							</select>
									</td>
								</tr>
								<tr>
									<th class="taC"><span class="colRed" title="必填">*</span>汇款开户银行名称
									</th><td><input type="text" placeholder="请输入汇款开户银行名称" name="bankName" id="bankName" value="{{staff.0.bankName}}"></td>
									<th class="taC"><span class="colRed" title="必填">*</span>汇款帐号</th>
									<td><input type="text" placeholder="请输入汇款帐号" id="bankNumber" name="bankNumber" value="{{staff.0.bankNumber}}"></td>
								</tr>
								<tr  node-cn style="display:none">
									<th class="taC"><span class="colRed" title="必填">*</span>联行号
									<div class="tipContent"><span class="tipGray">?</span><div class="tipConactive"><p>1.如果不是公司广发，务必填上银行联行号</p><p>2.如不清楚银行联行号请咨询报销查款专用 QQ：2870766094</p></div></div></th>
									<td><input type="text" placeholder="请输入联行号" id="coupletNumber" name="coupletNumber" value="{{staff.0.coupletNumber}}"></td>
									<th class="taC"></th><td></td>
								</tr>
								
								
							</tbody>
						</table>
						<p class="taR"><input type="submit" value="创建培训班" class="button" /></p>
					</div>
				</div>
				
			</form>
		</div>
	</div>

<script type="text/javascript">autoFlashHeight();</script>
</body>
