From a390671e7980c6a16ed72c6e301bcc08756c784e Mon Sep 17 00:00:00 2001 From: tangfutang Date: Mon, 23 Jul 2018 20:29:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E8=B5=81=E7=89=A9=E8=BD=A6=E8=BE=86?= =?UTF-8?q?=E5=8F=AA=E5=85=81=E8=AE=B8=E4=BF=AE=E6=94=B9=E8=BD=A6=E6=9E=B6?= =?UTF-8?q?=E5=8F=B7=E3=80=81=E8=BD=A6=E8=BE=86=E9=A2=9C=E8=89=B2=E3=80=81?= =?UTF-8?q?=E5=8F=91=E5=8A=A8=E6=9C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp index f48b49e23..730c0d55b 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp @@ -34,6 +34,7 @@ String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号 String projectId = CurPage.getParameter("ProjectId"); String ApplyType = CurPage.getParameter("ApplyType"); + String flowName = CurPage.getParameter("FlowName");//流程名称 BizObject boLPI= JBOFactory.createBizObjectQuery(LB_PROJECT_INFO.CLASS_NAME,"ID='"+projectId+"'").getSingleResult(false); //String carType=boLPI.getAttribute("CAR_TYPE").toString(); String carType="new_car"; @@ -80,6 +81,12 @@ doTemp.setRequired("ENGINE_NUMBER",true); doTemp.setRequired("CAR_COLOUR",true); } + if("合同制作流程".equals(flowName)){ + doTemp.setReadOnly("",true);//设置所有字段都只读。 + doTemp.setReadOnly("FRAME_NUMBER",false); + doTemp.setReadOnly("CAR_COLOUR",false); + doTemp.setReadOnly("ENGINE_NUMBER",false); + } ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ @@ -162,7 +169,6 @@ if(framNum != "0" && checkFrameNumber()==false){ return; } - debugger; var ApplyType = "<%=ApplyType%>"; if(plate_number!=null&&plate_number!=""){