diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp index 7d03c4871..a07921796 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp @@ -8,7 +8,7 @@ String id = CurPage.getParameter("id");//账号id String sflowunid = CurPage.getParameter("flowunid"); String flowunid=CurPage.getParameter("ObjectNo"); - // String righttrpe=CurPage.getParameter("righttrpe"); + String righttrpe=CurPage.getParameter("RightType"); if(id == null) id=""; String sTempletNo = "LDistributorAccountInfo"; //模板号 // if(sTempletNo == null) sTempletNo = "LDistributorAccountInfo"; @@ -21,21 +21,30 @@ doTemp.setDefaultValue("DISTRIBUTOR_ID", DISTRIBUTOR_NO); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="2"; //--设置为Grid风格-- - /* if(righttrpe=="ReadOnly"){ - dwTemp.ReadOnly = "1"; //只读模式 - } - */ + /* if("ReadOnly".equals(righttrpe)){ + //dwTemp.ReadOnly = "1"; //只读模式 + } */ + dwTemp.genHTMLObjectWindow(id); //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { - {"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"}, + /* {"ReadOnly".equals(righttrpe)?"false":"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"}, */ {"true","","Button","返回","返回","returnList()","","","","btn_icon_return"} }; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>