业务申请,扣款卡信息页面除了第一阶段都设置只读

This commit is contained in:
user 2018-07-14 14:19:31 +08:00
parent a4102a9e07
commit 018c725047

View File

@ -20,7 +20,7 @@
doTemp.setHtmlEvent("acc_number", "onchange", "getNameOfBank");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
if(ApplyType.equals("BusinessApplyApply")&&PhaseNo.equals("0020")){
if(PhaseNo.equals("0020")||PhaseNo.equals("0030")||PhaseNo.equals("0040")||PhaseNo.equals("0050")){
dwTemp.ReadOnly = "-2";//只读模式
}
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
@ -45,18 +45,18 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function checkTel(){
function checkTel(){//校验预留手机号格式
var mobile = getItemValue(0,getRow(0),"MOBILE");
if(mobile==""){
//setErrorTips("mobile","手机号不能为空!");
alert("手机号不能为空!");
alert("预留手机号不能为空!");
return false;
}
if(CheckPhoneCode(mobile)){
return true;
}else{
//setErrorTips("mobile","手机号格式不正确!");
alert("手机号格式不正确!");
alert("预留手机号格式不正确!");
return false;
}
}