From d79268ca0ac39ad58e86bd6eb6a7dfc71d441d67 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 25 Sep 2020 19:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A7=9F=E8=B5=81=E7=89=A9?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E6=A0=A1=E9=AA=8C=E5=92=8C=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Comm/LBEquipment_Car/LBEquipmentList.jsp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp index a9cef789c..241897ecd 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp @@ -181,12 +181,12 @@ if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory. /*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/ function newRecord(){ var countNumber = getRowCount(0); - if(Number(countNumber)<2){ +// if(Number(countNumber)<2){ //判断是否承租人租赁车辆数量 - var res0=RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerAction","checkGuaranteeCarByCertid",'certid=<%=certid%>'+',flowunid=<%=sFlowUnid%>'); - if(res0 != "0"){ - alert(res0); - } + //var res0=RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerAction","checkGuaranteeCarByCertid",'certid=<%=certid%>'+',flowunid=<%=sFlowUnid%>'); + //if(res0 != "0"){ + // alert(res0); + //} var sUrl = "/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp"; var sParam = 'FlowUnid='+'<%=sFlowUnid%>'+"&ListTempletNo="+"<%=sTempletNo%>"; var righttype="<%=RightType%>"; @@ -196,9 +196,9 @@ if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory. sParam=sParam+"&ProjectNo=<%=ProjectNo%>&ProjectId=<%=projectId%>&ApplyType=<%=ApplyType%>&FlowName=<%=flowName%>&ContractId=<%=contractid%>&ShowType=<%=showtype%>&operationType=<%=operationType%>&carAttributes=<%=carAttributes%>"; AsControl.OpenView(sUrl,sParam,"_self",""); - } else { + /* } else { alert("租赁物信息最多只能有两个!"); - } + } */ } @@ -224,7 +224,7 @@ if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory. function deleteRecord(){ var carAttribute = getItemValue(0,getRow(),"car_attribute"); if(carAttribute=="head"){ - alert("牵引车不允许删除!"); + alert("头车不允许删除!"); return ; } var ID = getItemValue(0,getRow(),"ID");