diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp index 80e6fa8b6..03a678e05 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp @@ -179,7 +179,27 @@ } iV_all("0"); setItemValue(0,0,"ACC_NUMBER",allTrim(getItemValue(0,0,"ACC_NUMBER"))); - as_save("0","re"); + var flowName="<%=flowName%>"; + if("业务变更流程"==flowName){ + // 判断是否变更, 如果变更了, 将变更内容插入中间表 + var account = getItemValue(0,0,"account"); // 账户名称 + var acc_number = getItemValue(0,0,"acc_number"); // 银行账号 + var bank_name = getItemValue(0,0,"bank_name"); // 开户银行 + var MOBILE = getItemValue(0,0,"MOBILE"); // 预留手机号 + var project_id = getItemValue(0,0,"project_id"); // 预留手机号 + var contract_id = getItemValue(0,0,"contract_id");// 预留手机号 + var sign_status = getItemValue(0,0,"sign_status");// 签约信息 + var sparams ="account="+account+",acc_number="+acc_number+",bank_name="+bank_name+",mobile="+MOBILE+",projectid="+project_id+",contractid="+contract_id+",sign_status="+sign_status+""; + var result = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "savaCustomerAccountTomiddle", sparams); + if("true"==result){ + as_save("0","re"); + }else{ + alert("保存失败, 请联系管理员 !"); + return; + } + }else{ + as_save("0","re"); + } } function re(){ var param="CompClientID=<%=sCompClientID%>&FlowUnid=<%=FlowUnid%>&RightType=<%=RightType%>&ishistory=<%=ishistory%>";