From 89e2d38075de0a90d8e1ed58db1c301d2c3ba807 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Mon, 13 Aug 2018 21:35:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=95=E4=BA=BA=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E5=90=88=E5=90=8C=E5=88=B6=E4=BD=9C=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Flow/Comm/LBContractTemplate/contract_template.jsp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp index 2e08809b7..3c3e4eb25 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp @@ -240,8 +240,11 @@ var message = RunJavaMethodTrans("com.tenwa.app.baseFileTemplate.handle.FileTemplateUtil","CheckCar","contractId="+"<%=sContractId%>"+",templateIds="+tempids+",flowunid="+"<%=flowunid%>"); if(""!=message){ if("01"=="<%=customertype%>"){ - alert("合同已生成,无法再次生成!"); - return; + if(message.indexOf("请先删除后再生成")>0){ + alert("合同已生成,无法再次生成!"); + location.reload(); + return; + } } alert(message); location.reload();