From 3e724f8e1133ab53afe0e750cefb69546bab8ed6 Mon Sep 17 00:00:00 2001 From: user Date: Wed, 11 Jul 2018 11:10:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=A6=E8=BE=86=E7=A7=9F=E8=B5=81=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=A1=B5=E9=9D=A2=E8=BD=A6=E7=89=8C=E5=8F=B7=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Comm/LBEquipment_Car/LBEquipmentInfo.jsp | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp index 9a6f07655..1914fac3b 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp @@ -33,6 +33,7 @@ <% String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号 String projectId = CurPage.getParameter("ProjectId"); + String ApplyType = CurPage.getParameter("ApplyType"); BizObject boLPI= JBOFactory.createBizObjectQuery(LB_PROJECT_INFO.CLASS_NAME,"ID='"+projectId+"'").getSingleResult(false); //String carType=boLPI.getAttribute("CAR_TYPE").toString(); String carType="new_car"; @@ -124,18 +125,27 @@ if(framNum != "0" && checkFrameNumber()==false){ return; } + debugger; + var ApplyType = "<%=ApplyType%>"; + if(plate_number!=null&&plate_number!=""){ - var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.BusinessApproveManager","saveAreaCode","flowunid="+sFlowUnid+",plate_number="+plate_number); - if(sResult=="SUCCESS"){ + if(ApplyType=="BContractApproveApply"){ as_save("myiframe0",""); - //as_save(0,"goBack()"); + return; }else{ - alert("请填写正确的车牌号码!"); + var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.BusinessApproveManager","saveAreaCode","flowunid="+sFlowUnid+",plate_number="+plate_number); + if(sResult=="SUCCESS"){ + as_save("myiframe0",""); + //as_save(0,"goBack()"); + }else{ + alert("请填写正确的车牌号码!"); + } } }else{ - as_save("myiframe0",""); - //as_save(0,"goBack()"); + as_save("myiframe0",""); + //as_save(0,"goBack()"); } + }