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