diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp index 578dc3dc4..8336cad86 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp @@ -437,12 +437,14 @@ attribute1=""; } var selectOpin = getItemValue(0,getRow(),selectOpinion); - AsControl.RunJsp('/Tenwa/Lease/Flow/Project/BusinessApplication/GetApplyNameSelect.jsp','codeno=disagreeOP&attribute1='+attribute1+'&selectOpinion='+selectOpin,function(sReturn){ + AsControl.RunJsp('/Tenwa/Lease/Flow/Project/BusinessApplication/GetApplyNameSelect.jsp','codeno=disagreeOP&attribute1='+attribute1+'&selectOpinion='+selectOpin,function(sReturn){ if("FALSE"!=allTrim(sReturn)){ var sReturn = lTrim(sReturn); sReturn = rTrim(sReturn); + var selectedVal = $('#'+selectOpinion).val(); $('#'+selectOpinion).children().remove(); $('#'+selectOpinion).append(sReturn); + $('#'+selectOpinion).val(selectedVal); } }); if("<%=CurUser.getUserID()%>".indexOf("8006")>=0){ diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index 88e60b9f3..e82d73a25 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -77,7 +77,7 @@ $(function(){ $("#A_div_0150").attr("style","display:none;"); var beforeId = "<%=CurPage.getParameter("beforeId")%>"; - if(typeof(beforeId) !="undefined" && beforeId.length > 0 ){ + if(typeof(beforeId) !="undefined" && beforeId!="null" && beforeId.length > 0){ var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.BeforeAppLicationCheck","getBusinessapplyData","id="+beforeId); if("error"!= sReturnInfo){ var data = sReturnInfo.split("@"); @@ -189,7 +189,6 @@ alert("请输入证件号码"); return; } - var messages = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","selectTitleName","SubjectId="+SubjectId); message = messages.split("@"); if("error"==message[0]){ diff --git a/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp index 71955d483..7a970753a 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp @@ -141,7 +141,7 @@ sReturn = sReturn.split("@"); setItemValue(0,0,"MODELID",sReturn[0]); setItemValue(0,0,"MODEL",sReturn[1]); - setItemValue(0,0,"PRICE",sReturn[2]*10000); + setItemValue(0,0,"PRICE",Math.ceil(sReturn[2]*10000)); setItemValue(0,0,"LITER",sReturn[3]); setItemValue(0,0,"GEARTYPE",sReturn[4]); },"请选择车型",''); diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java index 5afa64e01..ec6d5841d 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java @@ -64,7 +64,7 @@ public class BeforeAppLicationCheck { String isMile = lbac.getAttribute("is_mile").getString(); if("Y".equals(isAgeLimit) && new Double(age_limit) >new Double(lbac.getAttribute("age_limit").getString())){ lba.setAttributeValue("result", "N"); - lba.setAttributeValue("reason", "车辆年限大于等于"+lbac.getAttribute("age_limit").getString()+"年!"); + lba.setAttributeValue("reason", "车辆年限大于"+lbac.getAttribute("age_limit").getString()+"年!"); lbam.saveObject(lba); return "车辆年限大于"+lbac.getAttribute("age_limit").getString()+"年!"; }else if("Y".equals(isMile) && new Double(mile) >= new Double(lbac.getAttribute("mile").getString())){ diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java index 5415ef8bc..1758c2bc8 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java @@ -57,7 +57,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { String certId = this.getAttribute("certid").toString(); String ProjectId = this.getAttribute("ProjectId").toString(); String custname = this.getAttribute("custname").toString(); - String newtype = this.getAttribute("newtype").toString(); + String newtype = this.getAttribute("newtype")==null?"":this.getAttribute("newtype").toString(); BizObjectManager lbam = JBOFactory.getBizObjectManager(LB_BEFORE_APPLICATION.CLASS_NAME); BizObject lbat = lbam.createQuery("select * from O where O.fullcertid=:fullcertid and O.inputtime=(SELECT MAX(lba.inputtime) FROM jbo.com.tenwa.entity.comm.serialutil.LB_BEFORE_APPLICATION lba WHERE lba.fullcertid=O.fullcertid)").setParameter("fullcertid", certId).getSingleResult(false); if(lbat!=null){