From 13694a5add1cdec38590422d9838b9a65902fc94 Mon Sep 17 00:00:00 2001 From: tangft <32189@DESKTOP-M6TAG3K> Date: Tue, 18 Dec 2018 12:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A3=E6=AC=BE=E5=8D=A1=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=90=8E=EF=BC=8C=E7=AD=BE=E7=BA=A6=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E6=97=A0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Flow/Comm/LBDebitCard/DebitCardInfo.jsp | 42 ++++++++++--------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp index 767db6b49..e04b5096e 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp @@ -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");