北汽业务申请号校验
This commit is contained in:
parent
2eeef65a4e
commit
0bee00149a
@ -37,6 +37,7 @@
|
||||
String flowName = CurPage.getParameter("FlowName");//Á÷³ÌÃû³Æ
|
||||
String contractid = CurPage.getParameter("ContractId");
|
||||
String showtype = CurPage.getParameter("ShowType");
|
||||
String operationType = CurPage.getParameter("operationType");
|
||||
|
||||
BizObject boLPI= JBOFactory.createBizObjectQuery(LB_PROJECT_INFO.CLASS_NAME,"ID='"+projectId+"'").getSingleResult(false);
|
||||
//String carType=boLPI.getAttribute("CAR_TYPE").toString();
|
||||
@ -99,6 +100,10 @@
|
||||
doTemp.setReadOnly("FRAME_NUMBER",false);
|
||||
doTemp.setReadOnly("CAR_COLOUR",false);
|
||||
doTemp.setReadOnly("ENGINE_NUMBER",false);
|
||||
//第一车贷产品可以修改其他配置说明
|
||||
if("DYCD".equals(operationType)){
|
||||
doTemp.setReadOnly("MEMO",false);
|
||||
}
|
||||
|
||||
doTemp.setColInnerBtEvent("BRAND", "");
|
||||
doTemp.setColInnerBtEvent("CAR_SERIES", "");
|
||||
@ -163,6 +168,10 @@
|
||||
setItemRequired(0,"FRAME_NUMBER",true);
|
||||
setItemRequired(0,"CAR_COLOUR",true);
|
||||
setItemRequired(0,"ENGINE_NUMBER",true);
|
||||
//第一车贷产品其他配置说明为必填
|
||||
if("DYCD"=="<%=operationType%>"){
|
||||
setItemRequired(0,"MEMO",true);
|
||||
}
|
||||
/* var falg = checkCarNumber();
|
||||
if(falg){
|
||||
$("#FRAME_NUMBER").css("color","red");
|
||||
|
||||
@ -5,7 +5,8 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectContractCar","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
var userid="<%=CurUser.getUserID()%>";
|
||||
AsDialog.OpenSelector("SelectContractCar","userid,"+userid,"dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
doTemp.setReadOnly("INPUTTEL", true);
|
||||
}
|
||||
//如果是北汽的产品,业务申请号可编辑
|
||||
if(!"ReadOnly".equals(rightType)&&sPhaseNo.equals("0010")&&"BAIC_MOTOR".equals(operationType)){
|
||||
if(!"ReadOnly".equals(rightType)&&sPhaseNo.equals("0010")&&"BAIC_MOTOR".equals(operationType)&&"BusinessApplyFlow".equals(FlowNo)){
|
||||
doTemp.setReadOnly("PROJECT_NO", false);
|
||||
}else{
|
||||
doTemp.setReadOnly("PROJECT_NO", true);
|
||||
@ -82,10 +82,10 @@
|
||||
return;
|
||||
}
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkProjectNo","projectNo="+projectNo+",id="+getItemValue(0,getRow(),"ID"));
|
||||
/* if("error"==sReturnInfo){
|
||||
if("error"==sReturnInfo&&"BusinessApplyFlow"=="<%=FlowNo%>"){
|
||||
alert("业务申请编号已被占用,请重新填写!!!");
|
||||
return;
|
||||
} */
|
||||
}
|
||||
var operationType="<%=operationType%>";
|
||||
|
||||
if(customerType=="01"||customerT=="01"){//法人
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user