业务申请

This commit is contained in:
user 2018-06-14 13:47:43 +08:00
parent 99b0fd3716
commit c464cc4fba
3 changed files with 15 additions and 3 deletions

View File

@ -88,6 +88,7 @@
var certtype =getItemValue(0,getRow(),"certtype");
var certid =getItemValue(0,getRow(),"certid");
if(certtype==""){
alert("ÇëÑ¡ÔñÖ¤¼þÀàÐÍ");
@ -124,7 +125,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;
sParams =sParams+",ProductId="+productid+",ProductName="+productname+",CustomerType="+customerType+",carAttributes="+carAttributes+",leasehold="+leasehold+",carSystem="+carSystem+",custname="+custname+",certtype="+certtype+",certid="+certid;
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_" )
{
@ -132,7 +133,7 @@
}
else
{
parent.AsDialog.ClosePage(sReturnInfo+"@"+customerType+"@"+carAttributes+"@"+leasehold+"@"+carSystem+"@"+custname+"@"+certtype);
parent.AsDialog.ClosePage(sReturnInfo+"@"+customerType+"@"+carAttributes+"@"+leasehold+"@"+carSystem+"@"+custname+"@"+certtype+"@"+certid);
}
}

View File

@ -38,6 +38,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
boCRT.setAttributeValue("InputTime", StringFunction.getToday());
boCRT.setAttributeValue("FULLNAME", this.getAttribute("custname"));
boCRT.setAttributeValue("CERTTYPE", this.getAttribute("certtype"));
boCRT.setAttributeValue("CERTID", this.getAttribute("certid"));

View File

@ -38,6 +38,7 @@ public class BusinessApprovalStartAction extends BaseFlowStartAction{
private String carSystem;
private String custname;
private String certtype;
private String certid;
@Override
public void customOperation(JBOTransaction tx,BizObject flowBussiness) throws Exception {
@ -52,9 +53,18 @@ public class BusinessApprovalStartAction extends BaseFlowStartAction{
this.FlowParam.put("leasehold", this.getLeasehold());
this.FlowParam.put("carSystem", this.getCarSystem());
this.FlowParam.put("custname", this.getCustname());
//this.FlowParam.put(certtype, this.getCerttype());
this.FlowParam.put(certtype, this.getCerttype());
this.FlowParam.put(certid, this.getCertid());
}
public String getCertid() {
return certid;
}
public void setCertid(String certid) {
this.certid = certid;
}
public String getProductID() {
return productID;
}