diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBCarContractTemplateList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBCarContractTemplateList.jsp index 787141bd8..25d9b723b 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBCarContractTemplateList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/LBCarContractTemplateList.jsp @@ -8,6 +8,7 @@ */ String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号 + String flowName = CurPage.getParameter("FlowName");//流程名称 if(sFlowUnid == null)sFlowUnid = ""; String sTempletNo = CurPage.getParameter("TempletNo");//模板号 if(sTempletNo == null) sTempletNo = "LBCarContractTemplateList"; @@ -27,6 +28,10 @@ sProjId=bocl.getAttribute("proj_id").getString(); } ASObjectModel doTemp = new ASObjectModel(sTempletNo); + if("付款申请(汽车)".equals(flowName)){ + doTemp.setVisible("S_filename", false); + doTemp.setVisible("operation", false); + } ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.MultiSelect = true; @@ -36,7 +41,7 @@ //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] =null; - if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ + if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))||("付款申请(汽车)".equals(flowName))){ RightType="ReadOnly"; sButtons=new String[][] { {"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}