From e4d7fe91ebfcd81dc3d532ae9d8dd143c77554dc Mon Sep 17 00:00:00 2001 From: user Date: Sun, 24 Jun 2018 18:02:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E5=B8=A6=E5=87=BA=E7=A7=9F=E8=B5=81=E8=BD=A6=E8=BE=86=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=A1=B5=E9=9D=A2=E6=8E=92=E9=87=8F=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=95=B0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessApproval/ProjectApprovalCreationInfo.jsp | 4 +++- .../LBProjectIntoTempInitCarBusiness.java | 1 + .../projectapproval/BusinessApprovalStartAction.java | 12 ++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index 21e6c82cd..49e55cab5 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -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("请先选择车系"); 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 b055bef73..a37efa5c5 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java @@ -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); diff --git a/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java b/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java index 6efeea8a0..7024fdfff 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java +++ b/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java @@ -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; }