Merge branch 'develop' of http://git2.tenwa.com.cn/ApzlDev/apzl_leasing.git into tangfutang

This commit is contained in:
tangfutang 2018-06-24 18:05:00 +08:00
commit d0278a8586
3 changed files with 16 additions and 1 deletions

View File

@ -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("请先选择车系");

View File

@ -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);

View File

@ -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;
}