业务申请,带出租赁车辆信息页面排量字段数值
This commit is contained in:
parent
4c17d7b554
commit
e4d7fe91eb
@ -94,6 +94,7 @@
|
||||
var certid = getItemValue(0,getRow(),"certid");
|
||||
var businessType = "汽车业务";
|
||||
var price = getItemValue(0,getRow(),"price");
|
||||
var liter = getItemValue(0,getRow(),"liter");
|
||||
|
||||
if(carAttributes==""){
|
||||
alert("请选择车辆属性");
|
||||
@ -139,7 +140,7 @@
|
||||
}
|
||||
|
||||
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
|
||||
sParams =sParams+",ProductId="+productid+",ProductName="+productname+",CustomerType="+customerType+",carAttributes="+carAttributes+",leasehold="+leasehold+",carSystem="+carSystem+",custname="+custname+",certtype="+certtype+",certid="+certid+",productModel="+productModel+",carSeries="+carSeries+",versionid="+versionid+",modelid="+modelid+",businessType="+businessType+",price="+price;
|
||||
sParams =sParams+",ProductId="+productid+",ProductName="+productname+",CustomerType="+customerType+",carAttributes="+carAttributes+",leasehold="+leasehold+",carSystem="+carSystem+",custname="+custname+",certtype="+certtype+",certid="+certid+",productModel="+productModel+",carSeries="+carSeries+",versionid="+versionid+",modelid="+modelid+",businessType="+businessType+",price="+price+",liter="+liter;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction","initFLow",sParams);
|
||||
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_" )
|
||||
{
|
||||
@ -256,6 +257,7 @@
|
||||
setItemValue(0,getRow(),"modelid",sReturn[0]);
|
||||
setItemValue(0,getRow(),"carSystem",sReturn[1]);
|
||||
setItemValue(0,getRow(),"price",sReturn[2]);
|
||||
setItemValue(0,getRow(),"liter",sReturn[3]);
|
||||
},"请选择车型",'');
|
||||
}else{
|
||||
alert("请先选择车系");
|
||||
|
||||
@ -89,6 +89,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
|
||||
bmLEC.setAttributeValue("modelId", this.getAttribute("modelid"));
|
||||
bmLEC.setAttributeValue("NOW_TOTAL", this.getAttribute("price"));
|
||||
bmLEC.setAttributeValue("VNDR_NAME", asUser.getUserID());
|
||||
bmLEC.setAttributeValue("DISPLACEMENT", this.getAttribute("liter"));
|
||||
|
||||
boLULT.setAttributeValue("project_id", this.getAttribute("ProjectId"));
|
||||
boLULT.setAttributeValue("customer_id", customerId);
|
||||
|
||||
@ -46,6 +46,7 @@ public class BusinessApprovalStartAction extends BaseFlowStartAction{
|
||||
private String modelid;
|
||||
private String businessType;
|
||||
private String price;
|
||||
private String liter;
|
||||
|
||||
@Override
|
||||
public void customOperation(JBOTransaction tx,BizObject flowBussiness) throws Exception {
|
||||
@ -68,9 +69,20 @@ public class BusinessApprovalStartAction extends BaseFlowStartAction{
|
||||
this.FlowParam.put("modelid", getModelid());
|
||||
this.FlowParam.put("businessType", getBusinessType());
|
||||
this.FlowParam.put("price", getPrice());
|
||||
this.FlowParam.put("liter", getLiter());
|
||||
}
|
||||
|
||||
|
||||
public String getLiter() {
|
||||
return liter;
|
||||
}
|
||||
|
||||
|
||||
public void setLiter(String liter) {
|
||||
this.liter = liter;
|
||||
}
|
||||
|
||||
|
||||
public String getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user