From e38fdaaf98a92cfd2b74fc2996242ae4af2413cf Mon Sep 17 00:00:00 2001 From: user Date: Tue, 17 Jul 2018 14:45:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E8=87=AA=E7=84=B6=E4=BA=BA=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=89=8B=E6=9C=BA=E5=8F=B7=E4=B8=8E=E9=85=8D?= =?UTF-8?q?=E5=81=B6=E4=BF=A1=E6=81=AF=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E9=87=8D=E5=A4=8D=EF=BC=8C=E5=8E=BB=E6=8E=89=E7=B4=A7?= =?UTF-8?q?=E6=80=A5=E8=81=94=E7=B3=BB=E4=BA=BA=E6=89=8B=E6=9C=BA=E5=8F=B7?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessApplication/CustomerFamilyTempInfo.jsp | 13 +++++++++++-- .../Project/BusinessApplication/CustomerInfo.jsp | 3 ++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index 65106657d..4b73ffe54 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -73,9 +73,18 @@ } } - function checkRepeat(mobile,emergencyTel,remark){//校验申请人手机号和配偶手机号是否重复 +// function checkRepeat(mobile,emergencyTel,remark){//校验申请人页面三个手机号和配偶手机号是否重复 +// var tel = getItemValue(0,getRow(),"tel"); +// if(mobile!=emergencyTel && mobile!=remark && mobile!=tel && emergencyTel!=remark && emergencyTel!=tel && remark!=tel){ +// return "true"; +// }else{ +// return "false"; +// } +// } + + function checkRepeat(mobile){//校验申请人一个手机号和配偶手机号是否重复 var tel = getItemValue(0,getRow(),"tel"); - if(mobile!=emergencyTel && mobile!=remark && mobile!=tel && emergencyTel!=remark && emergencyTel!=tel && remark!=tel){ + if(mobile!=tel){ return "true"; }else{ return "false"; diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp index a150ac4f0..0cba4bb92 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp @@ -364,7 +364,8 @@ //校验申请人手机号和配偶手机号是否重复 var RepeatReault = ""; - RepeatReault = frame_list.window.checkRepeat(mobile,emergencyTel,remark); + //RepeatReault = frame_list.window.checkRepeat(mobile,emergencyTel,remark);//传参基本信息校验三个手机号 + RepeatReault = frame_list.window.checkRepeat(mobile);//传参校验基本信息手机号和配偶是否重复 if(RepeatReault=="false"){ alert("手机号有重复!"); return;