Merge branch 'develop' of http://git2.tenwa.com.cn/ApzlDev/apzl_leasing.git into xiezhiwen
This commit is contained in:
commit
100d590058
@ -1020,9 +1020,10 @@ function saveRecord(sPostEvents){
|
||||
alert('还租次数需大于0 !!!');
|
||||
return ;
|
||||
}
|
||||
var termMin = "<%=termMin%>";
|
||||
var termMax = "<%=termMax%>";
|
||||
var incomeNumber = getItemValue(0,0,"INCOME_NUMBER");
|
||||
|
||||
var termMin = parseInt("<%=termMin%>");
|
||||
var termMax = parseInt("<%=termMax%>");
|
||||
var incomeNumber = parseInt(getItemValue(0,0,"INCOME_NUMBER"));
|
||||
if("02"=="<%=termType%>"){
|
||||
if(incomeNumber<termMin){
|
||||
alert("期数不能小于"+termMin);
|
||||
|
||||
@ -0,0 +1,25 @@
|
||||
<%@page import="com.tenwa.util.SerialNumberUtil"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListStart.jspf"%>
|
||||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=自定义函数;]~*/%>
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply(){
|
||||
debugger;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow","");
|
||||
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
|
||||
var sReturnInfos=sReturnInfo.split("@");
|
||||
if(sReturnInfos[0]=="success")
|
||||
{
|
||||
var objectNo=sReturnInfos[1];
|
||||
FlowFunction.openStartFlowPage(objectNo);
|
||||
}
|
||||
else
|
||||
{
|
||||
var mes=sReturnInfos[1];
|
||||
alert(mes);
|
||||
}
|
||||
reloadSelf();
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user