diff --git a/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java b/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java index d8d671933..5353de626 100644 --- a/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java +++ b/src_tenwa/com/tenwa/makeContract/util/MakeOneCodeAndContractModel.java @@ -346,7 +346,8 @@ public class MakeOneCodeAndContractModel { under10.addImage(img); } - if(pages>10&&"02".equals(leasform)&&("乘用车手签".equals(docName)||"商用车手签".equals(docName))){ + if(pages>10&&"02".equals(leasform)&&("乘用车手签".equals(docName)||"商用车手签".equals(docName) + ||"乘用车电子签约".equals(docName)||"商用车电子签约".equals(docName))){ //车辆交接单水印 PdfContentByte under5 = stamp.getUnderContent(5); img.scaleAbsolute(180, 32); @@ -364,23 +365,23 @@ public class MakeOneCodeAndContractModel { under9.addImage(img); } - if(pages>7&&"02".equals(leasform)&&("乘用车电子签约".equals(docName)||"商用车电子签约".equals(docName))){ - //车辆交接单水印 - PdfContentByte under5 = stamp.getUnderContent(5); - img.scaleAbsolute(180, 32); - img.setAbsolutePosition(400, 800); - under5.addImage(img); - - PdfContentByte under7 = stamp.getUnderContent(6); - img.scaleAbsolute(180, 32); - img.setAbsolutePosition(400, 800); - under7.addImage(img); - //租金支付表水印 - PdfContentByte under9 = stamp.getUnderContent(8); - img.scaleAbsolute(180, 32); - img.setAbsolutePosition(400, 800); - under9.addImage(img); - } +// if(pages>7&&"02".equals(leasform)&&("乘用车电子签约".equals(docName)||"商用车电子签约".equals(docName))){ +// //车辆交接单水印 +// PdfContentByte under5 = stamp.getUnderContent(5); +// img.scaleAbsolute(180, 32); +// img.setAbsolutePosition(400, 800); +// under5.addImage(img); +// +// PdfContentByte under7 = stamp.getUnderContent(6); +// img.scaleAbsolute(180, 32); +// img.setAbsolutePosition(400, 800); +// under7.addImage(img); +// //租金支付表水印 +// PdfContentByte under9 = stamp.getUnderContent(8); +// img.scaleAbsolute(180, 32); +// img.setAbsolutePosition(400, 800); +// under9.addImage(img); +// } stamp.close();// 关闭 File tempfile = new File(InPdfFile); //删除原文件