修改业务申请编号可编辑方法

This commit is contained in:
tangft 2018-11-30 10:16:27 +08:00
parent 8ce9fcf785
commit 2aca8d2019
2 changed files with 7 additions and 2 deletions

View File

@ -79,7 +79,7 @@
alert("请填写业务申请编号!!!");
return;
}
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkProjectNo","projectNo="+projectNo);
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkProjectNo","projectNo="+projectNo+",id="+getItemValue(0,getRow(),"ID"));
if("error"==sReturnInfo){
alert("业务申请编号已被占用,请重新填写!!!");
return;

View File

@ -396,7 +396,12 @@ public class CustomerInfoCheck {
}else if(lpi!=null&&(lpi.getAttribute("PROJECT_STATUS").getString().equals("101"))) {
return "success";
}else if(lpi==null&&lpit!=null){
return "error";
if(id.equals(lpit.getAttribute("ID").getString())){
return "success";
}else{
return "error";
}
}
return "success";
}