fix:合同模板问题修复

附件三盖章问题
This commit is contained in:
maliang 2021-10-29 11:33:59 +08:00
parent 095237c5c2
commit 6863d39251

View File

@ -349,12 +349,16 @@
if("KHSQ"==operationType2){
param["templateIds"]='f57aa80567853aa37fd6dd902021a';//选择的模板ID
tempids='f57aa80567853aa37fd6dd902021a';
}else if("CYSHDZ"==operationType2){
param["templateIds"]='f57aa80567853aa37fd6dd902021b';//选择的模板ID
tempids='f57aa80567853aa37fd6dd902021b';
}else if("ZYC"==operationType2||"SYCSHHZ"==operationType2){
param["templateIds"]='f57aa80567853aa37fd6dd902021c';//选择的模板ID
tempids='f57aa80567853aa37fd6dd902021c';
}else if("SYCSHHZDZQ"==operationType2){
param["templateIds"]='f57aa80567853aa37fd6dd902021d';//选择的模板ID
tempids='f57aa80567853aa37fd6dd902021d';
}
param["templateParam"]=JSON.stringify(tempParam).replace(/,/g,"@");//生成模板的参数据
@ -371,6 +375,7 @@
var pdfPath=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","wordToPdf","FlowUnid=<%=flowunid%>,flagType=word");
<%-- if("01"=="<%=customertype%>"||"1"=="<%=CurPage.getParameter("isNetCar")%>"||"BAIC_MOTOR"=="<%=CurPage.getParameter("operationType")%>"||"ZYC"=="<%=CurPage.getParameter("operationType")%>"||"KHSQ"=="<%=CurPage.getParameter("operationType")%>"||"KJZL"=="<%=CurPage.getParameter("operationType")%>"){ --%>
var operationType = "<%=CurPage.getParameter("operationType")%>";
if("ZC"!=operationType){
var OwmMessage = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","SystemMakeOneDimensionalCode","ProjectId=<%=projectId%>,contract_id=<%=sContractId%>,contractNo=<%=contractNo%>,leasform=<%=leasform%>");
if("error"==OwmMessage){
@ -391,7 +396,7 @@
falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwo","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,operationType="+operationType);
//商用车一车一挂、专用车产品、网约车、大通、C端直租、客户手签、商用车手签、乘用车手签
}else if ("SYCSHHZ"==operationType||"ZYC"==operationType||"WYC"==operationType||"DT"==operationType||"CDZZ"==operationType
||"CYCSQ"==operationType||"SYCSQ"==operationType||"5c494617683548a49cfc050f60067ea2"==tempids){
||"CYCSQ"==operationType ||"KHSQ"==operationType ||"SYCSQ"==operationType||"5c494617683548a49cfc050f60067ea2"==tempids){
falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwoOwn","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,tempid="+tempids);
}else if("ZC"==operationType){
falg="success";