扣款卡信息变更后,签约验证无数据
This commit is contained in:
parent
5b3ed6629e
commit
13694a5add
@ -135,27 +135,29 @@
|
||||
setItemValue(0,0,"flowunid","<%=FlowUnid%>");
|
||||
setItemValue(0,0,"acc_type","Debit");
|
||||
var res=true;
|
||||
if('BusinessApplyApply'=='<%=ApplyType%>'){
|
||||
res = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "getCustIdByFlowunid", "FlowUnid=<%=FlowUnid%>");
|
||||
var strarry=res.split(",");
|
||||
var customerid=strarry[0];
|
||||
var projectid=strarry[1];
|
||||
var contractid=strarry[2];
|
||||
if(res=="false"){
|
||||
alert("请先填写个人基本信息!");
|
||||
return;
|
||||
if("AccountChangeApply"!="<%=ApplyType%>"){//如果是扣款卡信息变更,则不需要重新填写contract_id、customerid、projectid
|
||||
if('BusinessApplyApply'=='<%=ApplyType%>'){
|
||||
res = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "getCustIdByFlowunid", "FlowUnid=<%=FlowUnid%>");
|
||||
var strarry=res.split(",");
|
||||
var customerid=strarry[0];
|
||||
var projectid=strarry[1];
|
||||
var contractid=strarry[2];
|
||||
if(res=="false"){
|
||||
alert("请先填写个人基本信息!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
var contract_id= getItemValue(0,0,"contract_id");
|
||||
if(null!=contract_id&&contract_id!=""){
|
||||
contractid=contract_id;
|
||||
}
|
||||
setItemValue(0,0,"customerid",customerid);
|
||||
setItemValue(0,0,"project_id",projectid);
|
||||
if(contractid==""||contractid=="null"||contractid==null){
|
||||
setItemValue(0,0,"contract_id","");
|
||||
}else{
|
||||
setItemValue(0,0,"contract_id",contractid);
|
||||
}
|
||||
}
|
||||
var contract_id= getItemValue(0,0,"contract_id");
|
||||
if(null!=contract_id&&contract_id!=""){
|
||||
contractid=contract_id;
|
||||
}
|
||||
setItemValue(0,0,"customerid",customerid);
|
||||
setItemValue(0,0,"project_id",projectid);
|
||||
if(contractid==""||contractid=="null"||contractid==null){
|
||||
setItemValue(0,0,"contract_id","");
|
||||
}else{
|
||||
setItemValue(0,0,"contract_id",contractid);
|
||||
}
|
||||
iV_all("0");
|
||||
as_save("0","re");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user