81,092
社区成员
发帖
与我相关
我的任务
分享
<li><a class="info" href="getAddContractCfg.fw?dataStore.depaMno=${dataStore.depaMno}" target="navTab" title="添加协议参数" rel="dlg_page2" max="false" width="650" height="250"><span>添加协议参数</span></a></li>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page contentType="text/html;charset=GBK" pageEncoding="GBK"%>
<%@ taglib prefix="s2" uri="/struts-tags"%>
<%@ taglib uri="../../../WEB-INF/fwTag.tld" prefix="fw"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<input type="hidden" id="selectedDepaId" name="selectedDepa" value="${dataStore.depaMno}"/>
<script type="text/javascript">
//加载部门数据
$(function(){
$("#depaNo").val(${dataStore.depaMno});
});
$(function(){
depaMno_20160108 = '3007'; // 顶级部门编号
var selectedDepa = $("#selectedDepaId").val();
createMenu1(selectedDepa,null);
});
var check = function(){
var visiCycle = document.getElementById('visiCycleId').value;
var trcNumStandard = document.getElementById('trcNumStandardId').value;
var effTrcStandard = document.getElementById('effTrcStandardId').value;
var avgDayDepositStandard = document.getElementById('avgDayDepositStandardId').value;
if(!/^\d+$/.test(visiCycle)) {
alertMsg.warn('回访周期设置有误!');
}else if (!/^\d+$/.test(trcNumStandard)){
alertMsg.warn('交易笔数标准设置有误!');
}else if (!/^\d+$/.test(effTrcStandard)){
alertMsg.warn('有效交易标准设置有误!');
}else if (!/^\d+$/.test(avgDayDepositStandard)){
alertMsg.warn('有效日均存款标准设置有误!');
}else{
$("#addContractCfgForm").submit();
}
};
</script>
<div class="pageContent">
<form id ="addContractCfgForm" method="post" action="addContractCfg.fw" onsubmit="return navTabSearch(this)">
<input type="hidden" id="depaNo" name="selectedDepa" value="${dataStore.depaMno}">
<div class="pageFormContent nowrap" layoutH="50">
<table class="searchContent" border="0" style="width: 600px;" >
<tr style="height: 35px;">
<td style="width:20%;min-width: 80px;"><span style="float: right;">机构名称:</span></td>
<td style="width:30%;">
<div class="menuCascade" >
<!-- 部门编号 -->
<input type="hidden" name="dataStore.depaMno" value='${menuCascade}' />
</div>
</td>
<td style="width:20%;min-width: 120px;"><span style="float: right;">有效交易标准:</span></td>
<td ><input id = "effTrcStandardId" type="text" name="dataStore.effTrcStandard" value="单位:元" onfocus="if(value=='单位:元') {value=''}" onblur="if (value=='') {value='单位:元'}">元</td>
</tr>
<tr>
<td style="width:20%;min-width: 80px;"><span style="float: right;">活机交易金额:</span></td>
<td><input id="liveTerTrcAmountId" type="text" name="dataStore.liveTerTrcAmount" value="单位:元" onfocus="if(value=='单位:元'){value=''}" onblur="if(value==''){value='单位:元'}">元</td>
<td style="width:20%;min-width: 80px;"><span style="float: right;">考核开始月份:</span></td>
<td><input id="checkStartMonId" type="text" name="dataStore.checkStartMon" ></td>
</tr>
<tr style="height: 35px;">
<td><span style="float: right;">回访周期:</span></td>
<td><input id = "visiCycleId" type="text" name="dataStore.visiCycle" ></td>
<td><span style="float: right;">回访周期单位:</span></td>
<td><!-- <input type="text" name="dataStore.visiCycleUnit" > -->
<select class="combox" name="dataStore.visiCycleUnit">
<s2:if test="dataStore.visiCycleUnit == 月">
<option value="月" selected="selected" >月</option>
<option value="季度">季度</option>
</s2:if>
<s2:else>
<option value="月">月</option>
<option value="季度" selected="selected">季度</option>
</s2:else>
</select>
</td>
</tr>
<tr style="height: 35px;">
<td><span style="float: right;">交易笔数标准:</span></td>
<td><input id = "trcNumStandardId" type="text" name="dataStore.trcNumStandard" ></td>
<td><span style="float: right;">有效日均存款标准:</span></td>
<td><input id = "avgDayDepositStandardId" type="text" name="dataStore.avgDayDepositStandard" value="请输入日均存款标准" onfocus="if(value=='请输入日均存款标准') {value=''}" onblur="if (value=='') {value='请输入日均存款标准'}">元</td>
</tr>
</table>
<div style="width: 565px;">
<div class="buttonActive" style="float: right;"><div class="buttonContent">
<button type="submit" >确定添加</button>
</div></div>
</div>
</div>
<!-- <div class="formBar" align="center">
<ul>
<li><div class="buttonActive" ><div class="buttonContent"><button type="button" onClick="check();">提交</button></div></div></li>
<li><div class="button" ><div class="buttonContent"><button type="button" class="close">退出</button></div></div></li>
</ul>
</div> -->
</form>
</div>