diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp index 1ba1a9b92..a16e23e7b 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp @@ -377,7 +377,7 @@ falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwoOwn","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,tempid="+tempids); }else if("ZC"==operationType){ falg="success"; - }else if("KJLHZL"==operationType){//凯捷联合租赁 + }else if("KJLHZL"==operationType||"KJLHZLCYC"==operationType||"KJLHZLSYC"==operationType){//凯捷联合租赁 // alert("凯捷联合租赁,合同模板id=" + tempids); falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionNewUtils","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,operationType="+operationType); } else{ diff --git a/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java b/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java index cb44bd613..6d3bf6b84 100644 --- a/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java +++ b/src/com/tenwa/app/baseFileTemplate/handle/FileTemplateUtil.java @@ -173,9 +173,13 @@ public class FileTemplateUtil { return "[{'fileTemplate':\""+"[{'text':'联合租赁','value':'7ae245ef8b644b62a4658069adab6c32'}]"+"\"}]"; }else if("SQSYC".equals(operationType)){ return "[{'fileTemplate':\""+"[{'text':'狮桥商用车合同模板','value':'93e4194efb604c71b394d902b2060da8'}]"+"\"}]"; - }else if("KJLHZL".equals(operationType)){ + }else if("KJLHZL".equals(operationType)){//KJLHZL 调整成 KJLHZLCYC 凯捷联合融资租赁乘用车 return "[{'fileTemplate':\""+"[{'text':'凯捷联合融资租赁合同模板','value':'5e1b90d31c4749e2af83891b48ccbe19'}]"+"\"}]"; - }else if("CYSHDZ".equals(operationType)){ + }else if("KJLHZLCYC".equals(operationType)){//新增 KJLHZLCYC 凯捷联合融资租赁乘用车 '' + return "[{'fileTemplate':\""+"[{'text':'凯捷联合融资租赁乘用车合同模板','value':'5fd761a9cb0e4530ae029ec4d713b708'}]"+"\"}]"; + }else if("KJLHZLSYC".equals(operationType)){//新增凯捷联合融资租赁商用车 + return "[{'fileTemplate':\""+"[{'text':'凯捷联合融资租赁商用车合同模板','value':'4f724ee9a25048b5b0100fb6e5967fde'}]"+"\"}]"; + }else if("CYSHDZ".equals(operationType)){ return "[{'fileTemplate':\""+"[{'text':'乘用车售后回租电子签约','value':'e6972f1da71f11ebbfe100163e0e11e6'}]"+"\"}]"; }else if("SYCSHHZDZQ".equals(operationType)){ return "[{'fileTemplate':\""+"[{'text':'商用车一车一挂电子签约合同模板','value':'59f0423f984a46128292fbd8768fcd1e'}]"+"\"}]"; diff --git a/src/com/tenwa/channelportal/action/ContractSignActionNewUtils.java b/src/com/tenwa/channelportal/action/ContractSignActionNewUtils.java index 5fd46608e..50ca65159 100644 --- a/src/com/tenwa/channelportal/action/ContractSignActionNewUtils.java +++ b/src/com/tenwa/channelportal/action/ContractSignActionNewUtils.java @@ -63,7 +63,7 @@ public class ContractSignActionNewUtils { qysParams.setFileName(fileName); qysParams.setFilePath(makefullPath); qysParams.setSubjectId(SubjectId); - if("KJLHZL".equals(operationType)) {//凯捷联合租赁 + if("KJLHZL".equals(operationType)||"KJLHZLCYC".equals(operationType)||"KJLHZLSYC".equals(operationType)) {//凯捷联合租赁 qysParams.setTempId("5e1b90d31c4749e2af83891b48ccbe19");//合同模板id qysParams.setContractSignTypeEnum(ContractSignEnums.ContractSignTypeEnum.SIGNATURE_JOINT);//联合租赁-手签 qysParams.setChildSubject(ContractSignVtwoUtils.KJ_CHILD_SUBJECT_TYPE);//子公司:凯捷 diff --git a/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java b/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java index edf6da901..1c6da89d1 100644 --- a/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java +++ b/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java @@ -337,6 +337,14 @@ public class MakeOneCodeAndContractModel { img.setAbsolutePosition(400, 800); under9.addImage(img); } + + //凯捷挂靠协议水印 + if(pages>8&&"02".equals(leasform)&&("凯捷联合融资租赁乘用车合同".equals(docName)||"凯捷联合融资租赁商用车合同".equals(docName))){ + PdfContentByte under10 = stamp.getUnderContent(9); + img.scaleAbsolute(180, 32); + img.setAbsolutePosition(400, 800); + under10.addImage(img); + } stamp.close();// 关闭