36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
<%@ 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()
|
|
{
|
|
AsDialog.OpenSelector("SelectStandardInsterest","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
|
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
|
//alert(getHtmlMessage('1'));//请选择一条信息!
|
|
return;
|
|
}
|
|
sReturn = sReturn.split("@");
|
|
var id=sReturn[0];
|
|
var start_date=sReturn[1];
|
|
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
|
|
sParams =sParams+",StartDate="+start_date+",adjustid="+id+",ProjectName=央行利率开始执行时间:"+start_date+",FlowKey="+id+",ApplyType=<%=sApplyType%>,ContractId=contractid";
|
|
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams);
|
|
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"%>
|