Merge branch 'release20200305' of http://git2.tenwa.com.cn/ApzlDev/apzl_leasing.git into release20200305

This commit is contained in:
tangfutang 2020-02-19 18:20:28 +08:00
commit 448931cd2f

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;
}