1.合同变更商务条件页面和资金计划页面改为只读

This commit is contained in:
zhangbb 2020-02-19 17:00:09 +08:00
parent c4662a2d6d
commit ab6eeaf65a

View File

@ -27,6 +27,7 @@
String calType = CurPage.getParameter("calType");
String carAttributes = CurPage.getParameter("carAttributes");
String projectId=CurPage.getParameter("ProjectId");
String flowNo = CurPage.getParameter("FlowNo");
//判断是否为汽车业务
boolean isCarProduct = "004".equals(productId) ? false : true;
/*获取参数*/
@ -164,9 +165,10 @@
dwTemp.Style = "2";//freeform
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))||"ContractOnhireCarChangeFlow".equals(flowNo)){
dwTemp.ReadOnly = "1";//只读模式
isShowButton=false;
RightType="ReadOnly";
}else{
isShowButton=true;
}