From f08e32c9add86887f04ec2c5bf8a0fe723d18ab8 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 25 Sep 2020 11:36:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A7=9F=E8=B5=81=E5=9C=A8?= =?UTF-8?q?=E5=90=88=E5=90=8C=E5=88=B6=E4=BD=9C=E5=8F=AA=E8=83=BD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp | 7 ++++++- .../Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp | 11 ++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp index a81508b61..96405bf59 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp @@ -184,6 +184,11 @@ setItemRequired(0,"CAR_COLOUR",true); setItemRequired(0,"ENGINE_NUMBER",true); setItemReadOnly(0,0,"MEMO",false); + + document.getElementById('BRAND').nextSibling.remove(); + document.getElementById('CAR_SERIES').nextSibling.remove(); + document.getElementById('MODEL').nextSibling.remove(); + //第一车贷产品其他配置说明为必填 <%-- if("DYCD"=="<%=operationType%>"){ setItemRequired(0,"MEMO",true); @@ -322,7 +327,7 @@ var sParam = "FlowUnid="+"<%=sFlowUnid%>"+"&TempletNo="+"<%=sListTempletNo%>"; var righttype="<%=RightType%>"; if(righttype=="ReadOnly"){sParam=sParam+"&RightType=<%=RightType%>";} - sParam=sParam+"&IsHistory=<%=ishistory%>&NodeNo=<%=nodeNo%>&TaskNo=<%=taskno%>&InfoTempletNo=<%=sInfoTempletNo%>&EquipType=<%=sEquipType%>&carAttributes=<%=carAttributes%>"; + sParam=sParam+"&IsHistory=<%=ishistory%>&NodeNo=<%=nodeNo%>&TaskNo=<%=taskno%>&InfoTempletNo=<%=sInfoTempletNo%>&EquipType=<%=sEquipType%>&carAttributes=<%=carAttributes%>&FlowName=<%=flowName%>"; AsControl.OpenView(sUrl,sParam,"_self",""); } diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp index aeb2a70fb..a9cef789c 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp @@ -87,22 +87,27 @@ <%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> <% + String flowNo = CurPage.getParameter("FlowNo"); + String falg = "true"; + if("BContractApproveFlow".equals(flowNo)||"BContractChangeFlow".equals(flowNo)){ + falg = "false"; + } String sButtons[][] =null; if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ RightType="ReadOnly"; sButtons=new String[][] { {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""} }; -}else if("ContractOnhireFlow".equals(CurPage.getParameter("FlowNo"))){ +}else if("ContractOnhireFlow".equals(flowNo)){ sButtons=new String[][] { {"true","","Button","修改","修改租赁物信息","viewAndEdit()","","","","btn_icon_edit"}, }; }else{ sButtons=new String[][]{ //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 - {"true","","Button","新增","新增租赁物信息","newRecord()","","","","btn_icon_add",""}, + {falg,"","Button","新增","新增租赁物信息","newRecord()","","","","btn_icon_add",""}, {"true","","Button","修改","修改租赁物信息","viewAndEdit()","","","","btn_icon_edit"}, - {"true","","Button","删除","删除租赁物信息","deleteRecord()","","","","btn_icon_delete",""}, + {falg,"","Button","删除","删除租赁物信息","deleteRecord()","","","","btn_icon_delete",""}, //{"true","","Button","导入Excel","导入租赁物信息Excel","inExcel()","","","","",""}, //{"true","","Button","导出Excel","导出租赁物信息Excel","exportPage('"+sWebRootPath+"',0,'excel','"+dwTemp.getArgsValue()+"')","","","","",""}, //{"true","","Button","下载模板","下载租赁物信息模板","downLoad()","","","","",""}