业务申请添加北汽财务意见页签
This commit is contained in:
parent
b1e6fca2bc
commit
b1947b37a8
@ -0,0 +1,37 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2018-11-22
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String projectid = CurPage.getParameter("ProjectId");
|
||||
String flowunid = CurPage.getParameter("FlowUnid");
|
||||
if(sPrevUrl == null) sPrevUrl = "";
|
||||
|
||||
String sTempletNo = "LBOPINIONSINFO";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setDefaultValue("projectid", projectid);
|
||||
doTemp.setDefaultValue("flowunid", flowunid);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(projectid+","+flowunid);
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","保存","保存所有修改","save()","","","",""},
|
||||
{"false","All","Button","返回","返回列表","returnList()","","","",""}
|
||||
};
|
||||
//sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function save(){
|
||||
as_save("0");
|
||||
}
|
||||
|
||||
function returnList(){
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -79,22 +79,26 @@
|
||||
}
|
||||
function checkCertId(){//校验共同申请人证件号格式
|
||||
var certId = getItemValue(0,getRow(0),"certid");
|
||||
var certtype = getItemValue(0,getRow(0),"CERTTYPE");
|
||||
if(certId==""){
|
||||
setErrorTips("certId","证件号不能为空!");
|
||||
return true;
|
||||
}
|
||||
if(certId.length!=18){
|
||||
setErrorTips("certid","身份证必须是18位!");
|
||||
return false;
|
||||
}
|
||||
if(CheckLicense(certId)){
|
||||
setErrorTips("certid","");
|
||||
return true;
|
||||
if("Ind01"==certtype){
|
||||
if(certId.length!=18){
|
||||
setErrorTips("certid","身份证必须是18位!");
|
||||
return false;
|
||||
}
|
||||
if(CheckLicense(certId)){
|
||||
setErrorTips("certid","");
|
||||
return true;
|
||||
}else{
|
||||
setErrorTips("certId","身份证格式不正确!");
|
||||
return false;
|
||||
}
|
||||
}else{
|
||||
setErrorTips("certId","身份证格式不正确!");
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function checkTel(){//校验共同申请人手机号格式
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
|
||||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=Info06;Describe=定义按钮事件-;]~*/%>
|
||||
<script type="text/javascript">
|
||||
|
||||
var operationType='';
|
||||
function changeProductName(){//清空产品名称
|
||||
setItemValue(0,getRow(0),"productName","");
|
||||
}
|
||||
@ -155,7 +155,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+",CustomerId="+CustomerId+",productModel="+productModel+",carSeries="+carSeries+",versionid="+versionid+",modelid="+modelid+",businessType="+businessType+",price="+price+",liter="+liter+",geartype="+geartype+",sourcetype=web";
|
||||
sParams =sParams+",ProductId="+productId+",ProductName="+productname+",CustomerType="+customerType+",carAttributes="+carAttributes+",leasehold="+leasehold+",carSystem="+carSystem+",custname="+custname+",certtype="+certtype+",certid="+certid+",CustomerId="+CustomerId+",productModel="+productModel+",carSeries="+carSeries+",versionid="+versionid+",modelid="+modelid+",businessType="+businessType+",price="+price+",liter="+liter+",geartype="+geartype+",sourcetype=web,operationType="+operationType;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction","initFLow",sParams);//定义流程中需要的参数
|
||||
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_" )
|
||||
{
|
||||
@ -333,6 +333,7 @@
|
||||
MyOjbect.distributor_name = sReturn[6];//经销商名称
|
||||
MyOjbect.modelid = sReturn[7];//车型ID
|
||||
MyOjbect.modelname = sReturn[8];//车型名称
|
||||
operationType = sReturn[11];
|
||||
|
||||
setItemValue(0,0,"productName",sReturn[2]);
|
||||
setItemValue(0,0,"productId",sReturn[3]);
|
||||
|
||||
@ -4768,33 +4768,28 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="VI_BUSINESS_SUMMARY" label="合同审批汇总表" keyAttributes="ID">
|
||||
<attributes>
|
||||
<attribute name="ID" label="ID" type="STRING"/>
|
||||
<attribute name="CONTRACT_STATUS" label="合同状态" type="STRING"/>
|
||||
<attribute name="PROJECT_NO" label="申请号" type="STRING"/>
|
||||
<attribute name="CONTRACT_NO" label="合同编号" type="STRING"/>
|
||||
<attribute name="CONTRACT_NUMBER" label="合同号" type="STRING"/>
|
||||
<attribute name="CUSTOMER_NAME" label="承租人" type="STRING"/>
|
||||
<attribute name="mobile" label="手机号" type="STRING"/>
|
||||
<attribute name="name" label="共同承租人" type="STRING"/>
|
||||
<attribute name="VNDR_NAME" label="经销商/SP" type="STRING"/>
|
||||
<attribute name="APPLYPAY_DATE" label="放款申请时间" type="STRING"/>
|
||||
<attribute name="START_DATE" label="起租日" type="STRING"/>
|
||||
<attribute name="OBJECTTYPE" label="对象类型" type="STRING"/>
|
||||
<attribute name="OBJECTNO" label="对象编号" type="STRING"/>
|
||||
<attribute name="PHASETYPE" label="阶段类型" type="STRING"/>
|
||||
<attribute name="APPLYTYPE" label="申请类型" type="STRING"/>
|
||||
<attribute name="FLOWNO" label="当前流程号" type="STRING"/>
|
||||
<attribute name="FLOWNAME" label="当前流程名称" type="STRING"/>
|
||||
<attribute name="PHASENO" label="当前阶段号" type="STRING"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="vi_business_summary" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
<class name="LB_OPINIONS_INFO" label="北汽财务业务申请表" keyAttributes="id">
|
||||
<attributes>
|
||||
<attribute name="id" label="主键" type="STRING" length="32"/>
|
||||
<attribute name="RESULT" label="审批结果" type="STRING" length="32"/>
|
||||
<attribute name="PROPOSAL" label="审批意见" type="STRING" length="500"/>
|
||||
<attribute name="REMARKS" label="备注" type="STRING" length="500"/>
|
||||
<attribute name="INPUTUSERID" label="录入人" type="STRING" length="32"/>
|
||||
<attribute name="INPUTORGID" label="录入人部门" type="STRING" length="32"/>
|
||||
<attribute name="INPUTTIME" label="录入时间" type="STRING" length="32"/>
|
||||
<attribute name="UPDATEUSERID" label="修改人" type="STRING" length="32"/>
|
||||
<attribute name="UPDATEORGID" label="修改部门" type="STRING" length="32"/>
|
||||
<attribute name="UPDATETIME" label="修改时间" type="STRING" length="32"/>
|
||||
<attribute name="PROJECTID" label="项目编号" type="STRING" length="32"/>
|
||||
<attribute name="CONTRACTID" label="合同编号" type="STRING" length="32"/>
|
||||
<attribute name="FLOWUNID" label="流程编号" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="lb_opinions_info" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
</package>
|
||||
<package name="jbo.com.tenwa.lease.carbrand" >
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user