更新法人客户合同制作提示信息

This commit is contained in:
tangfutang 2018-08-13 21:35:39 +08:00
parent 173807f2f4
commit 89e2d38075

View File

@ -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();