添加合同变更申请发起时的参数

This commit is contained in:
tangfutang 2018-07-19 20:46:21 +08:00
parent a62f2cecd0
commit 8c581ec5bf

View File

@ -10,7 +10,6 @@
//alert(getHtmlMessage('1'));//ÇëÑ¡ÔñÒ»ÌõÐÅÏ¢£¡
return;
}
debugger;
sReturn = sReturn.split("@");
var contract_id=sReturn[0];
var project_id=sReturn[1];
@ -18,8 +17,10 @@
var contract_number = sReturn[3];
var project_name = sReturn[4];
var project_no = sReturn[4].split("-")[0];
var customertype = sReturn[6];
var leasform = sReturn[7];
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
sParams =sParams+",ProjectId="+project_id+",FlowKey="+contract_number+",ProductId="+product_id+",ProjectNo="+project_no+",ContractId="+contract_id+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>";
sParams =sParams+",leasform="+leasform+",customertype="+customertype+",ProjectId="+project_id+",FlowKey="+contract_number+",ProductId="+product_id+",ProjectNo="+project_no+",ContractId="+contract_id+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
var sReturnInfos=sReturnInfo.split("@");