修改测试问题
This commit is contained in:
parent
d01112bec8
commit
aefa8104b6
@ -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){
|
||||
|
||||
@ -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]){
|
||||
|
||||
@ -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]);
|
||||
},"ÇëÑ¡Ôñ³µÐÍ",'');
|
||||
|
||||
@ -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())){
|
||||
|
||||
@ -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){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user