diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index b9dbec38a..0e5b79069 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -73,7 +73,7 @@ } } - 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"; diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index be24db8c4..b5c3a8203 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -288,27 +288,33 @@ <%/*~[Describe=选择产品;]~*/%> function selectBusinessType() - { + { debugger; var carAttr = false; - var lease = false; var carAttributes = getItemValue(0,getRow(),"carAttributes"); - if(!carAttributes){ - carAttr = false; - }else{ + if(carAttributes){ carAttr = true; - } - var leasehold = getItemValue(0,getRow(),"leasehold"); - if(!leasehold){ - lease = false; }else{ - lease = true; + carAttr = false; + } + var lease = false; + var leasehold = getItemValue(0,getRow(),"leasehold"); + if(leasehold){ + lease = true; + }else{ + lease = false; + } + var modelid = false; + var model = getItemValue(0,getRow(),"modelid"); + if(model){ + modelid = true; + }else{ + modelid = false; } - var modelid=""; var CurOrgID=<%=CurOrg.getOrgID()%>; var YesNo="Y"; - if(MyOjbect.modelid&&carAttr==true&&lease==true){ - modelid=MyOjbect.modelid; - AsDialog.OpenSelector("selectProductVersionInfo","carAttributes,"+carAttributes+",leasehold,"+leasehold+",modelid,"+MyOjbect.modelid+",CurOrgID,"+CurOrgID+",YesNo,"+YesNo,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px", + if(modelid==true&&carAttr==true&&lease==true){ + modelid=getItemValue(0,getRow(),"modelid"); + AsDialog.OpenSelector("selectProductVersionInfo","carAttributes,"+carAttributes+",leasehold,"+leasehold+",modelid,"+modelid+",CurOrgID,"+CurOrgID+",YesNo,"+YesNo,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px", function(sReturn){ if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_") {