网银核销流程发起时选择对话框按照部门选择对应的类型(汽车、传统、汽车类传统)
This commit is contained in:
parent
4587b00640
commit
66cb60203f
@ -1,46 +1,51 @@
|
||||
|
||||
<%@ 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(){
|
||||
var orgId="<%=CurUser.getOrgID()%>".substring(0,7);
|
||||
var twoParam = "";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="传统";
|
||||
twoParam = "空白";
|
||||
}else if(orgId=="8009011"){
|
||||
businessType="汽车";
|
||||
twoParam = "汽车类传统";
|
||||
}else{
|
||||
alert("当前用户不能发起申请!");
|
||||
return;
|
||||
}
|
||||
AsDialog.OpenSelector("SelectEbankData","businessType,"+businessType+",twoParam,"+twoParam,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"){
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
var id = sReturn[0];
|
||||
var ebank_sn = sReturn[1];
|
||||
var result = AsControl.RunJsp("/Tenwa/Lease/Flow/Fund/FundCollection/CheckEbankID.jsp","EBANKID="+id);
|
||||
if("FALSE" == result){
|
||||
alert("此笔网银已发起收款流程!");
|
||||
return;
|
||||
}
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.EbankFlowStartAction",
|
||||
"initFLow","ebank_number="+id+",FlowKey="+ebank_sn+",ProjectName=<%=StringFunction.getToday()+CurUser.getUserName()+"发起网银收款"%>,applyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>");
|
||||
var sReturnInfos=sReturnInfo.split("@");
|
||||
if(sReturnInfos[0]=="success"){
|
||||
var objectNo=sReturnInfos[1];
|
||||
FlowFunction.openStartFlowPage(objectNo);
|
||||
}else{
|
||||
var mes=sReturnInfos[1];
|
||||
}
|
||||
reloadSelf();
|
||||
},"请选择收款网银");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%>
|
||||
|
||||
<%@ 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(){
|
||||
var apply = "<%=CurPage.getParameter("ApplyType")%>";
|
||||
var orgId="<%=CurUser.getOrgID()%>".substring(0,7);
|
||||
var twoParam = "";
|
||||
var businessType="";
|
||||
if(orgId=="8009010"){
|
||||
businessType="传统";
|
||||
twoParam = "空白";
|
||||
}else if(orgId=="8009011"){
|
||||
if(apply=="FundCollectionApply"){
|
||||
businessType="汽车";
|
||||
}else if(apply=="TFundCollectionApply"){
|
||||
businessType = "汽车类传统";
|
||||
}
|
||||
twoParam = "空白";
|
||||
}else{
|
||||
alert("当前用户不能发起申请!");
|
||||
return;
|
||||
}
|
||||
AsDialog.OpenSelector("SelectEbankData","businessType,"+businessType+",twoParam,"+twoParam,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"){
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
var id = sReturn[0];
|
||||
var ebank_sn = sReturn[1];
|
||||
var result = AsControl.RunJsp("/Tenwa/Lease/Flow/Fund/FundCollection/CheckEbankID.jsp","EBANKID="+id);
|
||||
if("FALSE" == result){
|
||||
alert("此笔网银已发起收款流程!");
|
||||
return;
|
||||
}
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.EbankFlowStartAction",
|
||||
"initFLow","ebank_number="+id+",FlowKey="+ebank_sn+",ProjectName=<%=StringFunction.getToday()+CurUser.getUserName()+"发起网银收款"%>,applyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>");
|
||||
var sReturnInfos=sReturnInfo.split("@");
|
||||
if(sReturnInfos[0]=="success"){
|
||||
var objectNo=sReturnInfos[1];
|
||||
FlowFunction.openStartFlowPage(objectNo);
|
||||
}else{
|
||||
var mes=sReturnInfos[1];
|
||||
}
|
||||
reloadSelf();
|
||||
},"请选择收款网银");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user