This commit is contained in:
zhangbb 2018-07-16 10:52:40 +08:00
commit b91349900a
46 changed files with 1113 additions and 485 deletions

View File

@ -299,7 +299,12 @@ CalcControl.InitStartDate=function(){
//默认起租日为投放日
if("period_type_1" == periodType){//期初 第一期还款日为投放日
setItemValue(0,0,"FIRST_PLAN_DATE",leaseAmtDate);
setItemValue(0,0,"SECOND_PLAN_DATE",dateAdd('m',incomenumberyear,new Date(startDate)).format('yyyy\/MM\/dd'));
if(Number(rentDay)<10){
leaseAmtDate=leaseAmtDate.substring(0,8)+"0"+rentDay;
}else{
leaseAmtDate=leaseAmtDate.substring(0,8)+rentDay;
}
setItemValue(0,0,"SECOND_PLAN_DATE",dateAdd('m',incomenumberyear,new Date(leaseAmtDate)).format('yyyy\/MM\/dd'));
}else{
var firstPlanDate = dateAdd('m',incomenumberyear,new Date(startDate)).format('yyyy\/MM\/dd');
if(Number(rentDay)<10){

View File

@ -1,64 +1,64 @@
<%@ page contentType="text/html; charset=GBK"%><%@
include file="/Frame/resources/include/include_begin_list.jspf"%><%
String GROUP_CODE = CurPage.getParameter("GROUP_CODE");
if (GROUP_CODE == null)
GROUP_CODE = "";
ASObjectModel doTemp = new ASObjectModel("APP_BUSINESS_TEMPLATE_LIST");
doTemp.setLockCount(2); //锁定两列
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //设置为Grid风格
dwTemp.ReadOnly = "1";//编辑模式
dwTemp.setPageSize(10);
dwTemp.ConvertCode2Title = "1";
dwTemp.genHTMLObjectWindow(GROUP_CODE);
String sButtons[][] = {
{"true","","Button","新增字段","新增字段","newRecord()","","","","btn_icon_add"},
{"true","","Button","删除字段","删除字段","if(confirm('确实要删除吗?'))as_delete(0,'')","","","","btn_icon_delete"},
{"true","","Button","编辑字段","编辑字段","viewAndEdit()","","","","btn_icon_edit"},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord() {
var GROUP_CODE = getItemValue(0, getRow(0), 'GROUP_CODE');
var sUrl = "/AppFresh/AppPage/AppLibraryTemplateInfo.jsp";
AsDialog.PopView(sUrl,"GROUP_CODE="+GROUP_CODE,
"dialogWidth=600px;dialogHeight=450px;", function(message) {
reloadSelf();
}, "新模板分组配置");
}
function viewAndEdit() {
var sUrl = "/AppFresh/AppPage/AppLibraryTemplateInfo.jsp";
var GROUP_CODE = getItemValue(0, getRow(0), 'GROUP_CODE');
var DATA_CODE = getItemValue(0, getRow(0), 'DATA_CODE');
alert(DATA_CODE);
if (DATA_CODE == "" || typeof (DATA_CODE) == "undefined") {
alert("请选择一条分组字段!");
return false;
}
AsDialog.PopView(sUrl,"GROUP_CODE="+GROUP_CODE+"&DATA_CODE="+DATA_CODE,
"dialogWidth=600px;dialogHeight=450px;", function(message) {
reloadSelf();
}, "模板分组配置");
}
function middleConfig() {
var id = getItemValue(0, getRow(0), 'id');
if (id == "" || typeof(id) == "undefined") {
alert("请选择一条阶段!");
return false;
}
var flowNo = getItemValue(0, getRow(0), 'flowno');
var phaseNo = getItemValue(0, getRow(0), 'phaseno');
var sUrl = "/AppFresh/AppFlow/MiddleList.jsp";
AsControl.OpenTab(sUrl,"id="+id + "&flowNo="+flowNo+"&phaseNo="+phaseNo, {title:"流程页签配置"});
}
</script>
<%@ page contentType="text/html; charset=GBK"%><%@
include file="/Frame/resources/include/include_begin_list.jspf"%><%
String GROUP_CODE = CurPage.getParameter("GROUP_CODE");
if (GROUP_CODE == null)
GROUP_CODE = "";
ASObjectModel doTemp = new ASObjectModel("APP_BUSINESS_TEMPLATE_LIST");
doTemp.setLockCount(2); //锁定两列
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //设置为Grid风格
dwTemp.ReadOnly = "1";//编辑模式
dwTemp.setPageSize(10);
dwTemp.ConvertCode2Title = "1";
dwTemp.genHTMLObjectWindow(GROUP_CODE);
String sButtons[][] = {
{"true","","Button","新增字段","新增字段","newRecord()","","","","btn_icon_add"},
{"true","","Button","删除字段","删除字段","if(confirm('确实要删除吗?'))as_delete(0,'')","","","","btn_icon_delete"},
{"true","","Button","编辑字段","编辑字段","viewAndEdit()","","","","btn_icon_edit"},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord() {
var GROUP_CODE = getItemValue(0, getRow(0), 'GROUP_CODE');
var sUrl = "/AppFresh/AppPage/AppLibraryTemplateInfo.jsp";
AsDialog.PopView(sUrl,"GROUP_CODE="+GROUP_CODE,
"dialogWidth=600px;dialogHeight=450px;", function(message) {
reloadSelf();
}, "新模板分组配置");
}
function viewAndEdit() {
var sUrl = "/AppFresh/AppPage/AppLibraryTemplateInfo.jsp";
var GROUP_CODE = getItemValue(0, getRow(0), 'GROUP_CODE');
var DATA_CODE = getItemValue(0, getRow(0), 'DATA_CODE');
//alert(DATA_CODE);
if (DATA_CODE == "" || typeof (DATA_CODE) == "undefined") {
alert("请选择一条分组字段!");
return false;
}
AsDialog.PopView(sUrl,"GROUP_CODE="+GROUP_CODE+"&DATA_CODE="+DATA_CODE,
"dialogWidth=600px;dialogHeight=450px;", function(message) {
reloadSelf();
}, "模板分组配置");
}
function middleConfig() {
var id = getItemValue(0, getRow(0), 'id');
if (id == "" || typeof(id) == "undefined") {
alert("请选择一条阶段!");
return false;
}
var flowNo = getItemValue(0, getRow(0), 'flowno');
var phaseNo = getItemValue(0, getRow(0), 'phaseno');
var sUrl = "/AppFresh/AppFlow/MiddleList.jsp";
AsControl.OpenTab(sUrl,"id="+id + "&flowNo="+flowNo+"&phaseNo="+phaseNo, {title:"流程页签配置"});
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -7,18 +7,27 @@
*/
String sFlowUnid = CurPage.getParameter("FlowUnid");
String ProjectName = CurPage.getParameter("ProjectName");
String type = CurPage.getParameter("PhaseNo");
ASObjectModel doTemp = new ASObjectModel("DDepositReturn_TempList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(sFlowUnid);
String falg = "true";
if("0020".equals(type)){
falg ="false";
}
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
{falg,"All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
//{falg,"","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{falg,"","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
// {"","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
// {"","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
// {"","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">

View File

@ -8,6 +8,7 @@
History Log:
*/
String id = UUIDUtil.getUUID();
//String sFlowUnid = CurPage.getParameter("FlowUnid");
String userId = CurPage.getUserId();
ASObjectModel doTemp = new ASObjectModel("CustomerDistributorList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
@ -27,6 +28,16 @@
<script type="text/javascript">
function teaming(){
var id = getItemValue(0,getRow(0),'ID');
//debugger;
//alert(id);
var result = AsControl.RunJavaMethodTrans("com.tenwa.customer.distributor.DeleteDistributor","SelectGroup","id="+id);
//var distributor_type=sReturn[3];
if(result=="false"){
alert("集团外的经销商需激活后再收取保证金!");
return;
}
var id = getItemValue(0,getRow(0),'ID');
var distributor_status = getItemValue(0,getRow(0),'distributor_status');
if(typeof(id)=="undefined" || id.length==0 ){

View File

@ -5,26 +5,35 @@
Content: ʾÀýÏêÇéÒ³Ãæ
History Log:
*/
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "/Tenwa/Lease/App/Interface/VehicleEvaluation/LBEquipmentCarTempList.jsp";
String sTempletNo = "LBEquipmentCarTempInfo";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "测试");
doTemp.setColTips("", "万元");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID"));
dwTemp.genHTMLObjectWindow(sFlowUnid);
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
/* {"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} */
{"true","","Button","评估校验","评估校验","vehicleAppraisement()","","","","btn_icon_check"}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
function vehicleAppraisement(){
var flowunid = "<%=sFlowUnid%>";
var result = RunJavaMethodTrans("com.tenwa.lease.app.vehicleAssessment.vehicleAssessmentController","vehicleAppraisement","FlowUnid="+flowunid);
if('SUCCESS' == result){
alert('评估成功,数据已写入数据库中');
location.reload();
}else if('ERROR' == result){
alert('评估失败');
}else{
alert(result);
}
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -87,6 +87,7 @@
sReturn = sReturn.split("@");
// alert(sReturn[1]);
setItemValue(0,0,"provinceInfo",sReturn[1]);
setItemValue(0,0,"district","");
province=sReturn[0];
setCertType();
},"请选择省份",'');

View File

@ -58,19 +58,48 @@
return false;
}
}
//校验经销商编号是否唯一
function Uniquenesscheck(){
var DISTRIBUTOR_CODING = getItemValue(0,0,'DISTRIBUTOR_CODING');
var sReturnInfo = RunJavaMethodTrans("com.tenwa.customer.controller.group.CustomerGroupCompanyController","distributor_basic","DISTRIBUTOR_CODING="+DISTRIBUTOR_CODING);
if("false" ==sReturnInfo){
alert("经销商编码已存在,请重新输入!!!");
return false;
}else{
return true;
}
}
<%-- $(function(){
if("<%=PhaseNo%>"=="0020"){
setItemRequired(0, "RETAIL_OPEN_DATE", true);
$("#RETAIL_OPEN_DATE")
}
}) --%>
function save(){
var result = Checkfield();
if(result==true){
as_save(0,"saveproj_name()");
function save() {
var result = false;
var distributor_coding = getItemValue(0,0,'DISTRIBUTOR_CODING');
if("0020"=="<%=PhaseNo%>"&&distributor_coding!=""){
result=true;
}else{
result = Uniquenesscheck();
}
// result = Uniquenesscheck();
var result1 = Checkfield();
//if(result==true){
if(result==true && result1==true){
as_save("0","saveproj_name()");
}
}
function saveproj_name(){
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businesspply.CustomerInfoManage","saveDistributorInfo","flowunid=<%=sFlowUnid%>");
@ -153,6 +182,8 @@
// alert(sReturn[1]);
setItemValue(0,0,"provinces",sReturn[1]);
province=sReturn[0];
setItemValue(0,0,"DISTRIBUTOR_ADDRESSNAME","");
setItemValue(0,0,"DISTRIBUTOR_ADDRESS","");
setCertType();
},"ÇëÑ¡ÔñÊ¡·Ý",'');
}

View File

@ -117,6 +117,8 @@ function saveproj_name(){
sReturn = sReturn.split("@");
// alert(sReturn[1]);
setItemValue(0,0,"provinces",sReturn[1]);
setItemValue(0,0,"DISTRIBUTOR_ADDRESSNAME","");
setItemValue(0,0,"DISTRIBUTOR_ADDRESS","");
province=sReturn[0];
setCertType();
},"请选择省份",'');

View File

@ -130,6 +130,8 @@ function saveproj_name(){
sReturn = sReturn.split("@");
// alert(sReturn[1]);
setItemValue(0,0,"provinces",sReturn[1]);
setItemValue(0,0,"DISTRIBUTOR_ADDRESSNAME","");
setItemValue(0,0,"DISTRIBUTOR_ADDRESS","");
province=sReturn[0];
setCertType();
},"请选择省份",'');

View File

@ -35,7 +35,7 @@
alert(mes);
}
reloadSelf();
},"ÇëÑ¡ÔñͶ·Å");
},"гКя║тЯ╨ом╛");
}
</script>
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%>

View File

@ -3,10 +3,10 @@
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
<%
ASObjectModel doTemp = new ASObjectModel("LBAssetsDisposalMaintenanceList");
String sCondtion=DataRightManager.getRightCondition(CurUser,"lci", "contract");
doTemp.appendJboWhere(sCondtion);
doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseover", "showMemo");
doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseout", "hideMemo");
//String sCondtion=DataRightManager.getRightCondition(CurUser,"lci", "contract");
//doTemp.appendJboWhere(sCondtion);
//doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseover", "showMemo");
//doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseout", "hideMemo");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式

View File

@ -9,12 +9,13 @@
ASObjectModel doTemp = new ASObjectModel("LCCarBid");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //Ö»¶Áģʽ
dwTemp.ReadOnly = "0"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(framenumber);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
//{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
//{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
//{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},

View File

@ -10,7 +10,7 @@
String ishistory=CurPage.getParameter("IsHistory");
String flowunid = CurPage.getParameter("FlowUnid");
String framenumber = Sqlca.getString("select FRAME_NUMBER from LC_CAR_DISPOSE_TEMP where flowunid ='"+flowunid+"'");
String contractnumber = Sqlca.getString("select contract_no from LC_CAR_DISPOSE_TEMP where flowunid ='"+flowunid+"'");
//String contractnumber = Sqlca.getString("select contract_no from LC_CAR_DISPOSE_TEMP where flowunid ='"+flowunid+"'");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LcCarDisposeDetail";//--Ä£°åºÅ--

View File

@ -48,10 +48,16 @@
var contractnumber=sReturn[2];
var customerid=sReturn[3];
var customername=sReturn[4];
var parkplace=sReturn[6];
var havingkey=sReturn[7];
var platetime=sReturn[8];
setItemValue(0, getRow(0), "FRAME_NUMBER", framenumber);
setItemValue(0, getRow(0), "CONTRACT_ID", contractnumber);
setItemValue(0, getRow(0), "CUSTOMER_ID", customerid);
setItemValue(0, getRow(0), "CUSTOMER_NAME", customername);
setItemValue(0, getRow(0), "PARK_PLACE", parkplace);
setItemValue(0, getRow(0), "HAVING_KEY", havingkey);
setItemValue(0, getRow(0), "PLATETIME", platetime);
},"ÇëÑ¡Ôñ¿Í»§");
}

View File

@ -18,6 +18,8 @@
String sFileSaveMode = CurConfig.getConfigure("FileSaveMode");
String sFileSavePath = CurConfig.getConfigure("FileSavePath");
String sFileNameType = CurConfig.getConfigure("FileNameType");
//获取租赁方式,用于判断生成的合同类型
String leasform = CurPage.getParameter("leasform");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "BaseFileTemplateSelect";//--ÄŁ°ĺşĹ--
@ -92,7 +94,10 @@
$('#A_Group_0010').css('display','none');
$('#A_Group_0020').css('display','none');
}
initOneClass();
var sReturn = RunJavaMethodSqlca("com.tenwa.app.baseFileTemplate.handle.FileTemplateUtil","getContractClass","leasform="+"<%=leasform%>");
var jsonData=eval("("+sReturn+")");
initFileTemplate(eval("("+jsonData[0].fileTemplate+")"));
// initOneClass();
});

View File

@ -20,7 +20,7 @@
doTemp.setHtmlEvent("acc_number", "onchange", "getNameOfBank");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
if(ApplyType.equals("BusinessApplyApply")&&PhaseNo.equals("0020")){
if(PhaseNo.equals("0020")||PhaseNo.equals("0030")||PhaseNo.equals("0040")||PhaseNo.equals("0050")){
dwTemp.ReadOnly = "-2";//只读模式
}
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
@ -45,18 +45,18 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function checkTel(){
function checkTel(){//校验预留手机号格式
var mobile = getItemValue(0,getRow(0),"MOBILE");
if(mobile==""){
//setErrorTips("mobile","手机号不能为空!");
alert("手机号不能为空!");
alert("预留手机号不能为空!");
return false;
}
if(CheckPhoneCode(mobile)){
return true;
}else{
//setErrorTips("mobile","手机号格式不正确!");
alert("手机号格式不正确!");
alert("预留手机号格式不正确!");
return false;
}
}

View File

@ -50,9 +50,10 @@
String nodeNo=CurPage.getParameter("NodeNo");
String taskno=CurPage.getParameter("TaskNo");
String RightType= CurPage.getParameter("RightType");
String CarAttributes=CurPage.getParameter("CarAttributes");
String carAttributes=CurPage.getParameter("carAttributes");
String Leasehold=CurPage.getParameter("Leasehold");
String FlowNo=CurPage.getParameter("FlowNo");
System.out.println("======================="+carAttributes);
%>
<%/*~END~*/%>
@ -116,6 +117,17 @@
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%>
<script type="text/javascript">
$(function(){
if("new_car"=="<%=carAttributes%>"){
setItemRequired(0,"zone",false);
setItemRequired(0,"regDate",false);
setItemRequired(0,"mile",false);
$("#A_div_1262").attr("style","display:none;");
$("#A_div_1339").attr("style","display:none;");
$("#A_div_1350").attr("style","display:none;");
}
});
//省市
function selectRegionCode(){
var sCity = "";
@ -127,7 +139,7 @@
if(sAreaCodeInfo == "NO" || sAreaCodeInfo == '_CLEAR_'){
//setItemValue(0,getRow(),"province","");
//setItemValue(0,getRow(),"provincename","");
setItemValue(0,getRow(),"EQUIP_DELIVERY_PLACE","");
setItemValue(0,getRow(),"zone","");
}else{
if(typeof(sAreaCodeInfo) != "undefined" && sAreaCodeInfo != ""){
sAreaCodeInfo = sAreaCodeInfo.split('@');
@ -135,7 +147,7 @@
sAreaCodeName = sAreaCodeInfo[1];//--行政区划名称
//setItemValue(0,getRow(),"province",sAreaCodeValue);
//setItemValue(0,getRow(),"provincename",sAreaCodeName);
setItemValue(0,getRow(),"EQUIP_DELIVERY_PLACE",sAreaCodeName);
setItemValue(0,getRow(),"zone",sAreaCodeName);
}
}
},'请选择省市');

View File

@ -23,6 +23,7 @@
// doTemp.setDefaultValue("ASSUROR", customerid);
doTemp.setDefaultValue("project_id", ProjectId);
doTemp.setDefaultValue("flowunid", sFlowUnid);
doTemp.setHtmlEvent("MOBILE","onChange","checkMobileRepeat");
// doTemp.setDefaultValue("DATA_STATE", "guarantee");//标记该数据是担保人信息
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
@ -36,7 +37,7 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function checkCertId(){
function checkCertId(){//校验担保人证件号格式
var certType = getItemValue(0,getRow(0),"CERTTYPE");
var certId = getItemValue(0,getRow(0),"CERTID");
if(certType==""){
@ -72,7 +73,7 @@
}
}
function checkTel(){
function checkTel(){//校验担保人手机号格式
var mobile = getItemValue(0,getRow(0),"mobile");
if(mobile==""){
//setErrorTips("mobile","手机号不能为空!");
@ -88,26 +89,48 @@
}
}
// function checkWorkTel(){
// var workTel = getItemValue(0,getRow(0),"WORKTEL");
// if(workTel==""){
// //setErrorTips("WORKTEL","单位电话不能为空!");
// alert("单位电话不能为空!");
// return false;
// }
// if(CheckPhoneCode(workTel)){
// return true;
// }else{
// //setErrorTips("WORKTEL","单位电话格式不正确!");
// alert("单位电话格式不正确!");
// return false;
// }
// }
function checkWorkTel(){//校验担保人单位电话格式
var workTel = getItemValue(0,getRow(0),"WORKTEL");
if(workTel==""){
//setErrorTips("WORKTEL","单位电话不能为空!");
alert("单位电话不能为空!");
return false;
}
if(CheckPhoneCode(workTel)){
return true;
}else{
//setErrorTips("WORKTEL","单位电话格式不正确!");
alert("单位电话格式不正确!");
return false;
}
}
function checkMobileRepeat(){//校验担保人手机号重复
var customerType = "03";
var mobile = getItemValue(0,getRow(),"MOBILE");
var sParams = "mobile="+mobile+",customerType="+customerType+",flowunid="+"<%=sFlowUnid%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobileRepeat",sParams);
if(sReturnInfo=="8"){
alert("该手机号已重复!");
setItemValue(0,0,"MOBILE","");
return;
}
}
function save(){
if(checkTel()==true&&checkCertId()==true){
as_save(0,"goBack()");
var CertIdResult = checkCertId();
if(CertIdResult==false){
return;
}
var TelResult = checkTel();
if(TelResult==false){
return;
}
var WorkTelResult = checkWorkTel();
if(WorkTelResult==false){
return;
}
as_save(0,"goBack()");
}
function goBack(){

View File

@ -26,7 +26,6 @@
var flowunid = "<%=sFlowUnid%>";
var username = "<%=userName%>";
var orgname = "<%=orgName%>";
alert(flowunid+"@"+username+"@"+orgname);
var result =
RunJavaMethodTrans("com.tenwa.lease.flow.project.validate.IdentityVerification","doIdentityVerification","FlowUnid="+flowunid+",UserName="+username+",OrgName="+orgname);
if(result == 'ERROR'){

View File

@ -27,8 +27,9 @@
var project_id = sReturn[2];
var project_name = sReturn[3];
var customertype = sReturn[4];
var leasform = sReturn[5];
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
sParams =sParams+",ProductId="+product_id+",ProjectId="+id+",ProjectNo="+project_id+",customertype="+customertype+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>";
sParams =sParams+",leasform="+leasform+",ProductId="+product_id+",ProjectId="+id+",ProjectNo="+project_id+",customertype="+customertype+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.contract.contractapproval.ContractApprovalStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;

View File

@ -14,6 +14,7 @@
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "");
doTemp.setDefaultValue("project_id", ProjectId);
doTemp.setHtmlEvent("tel","onChange","checkTelRepeat");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
@ -21,7 +22,6 @@
String customerid = Sqlca.getString("select customer_id from lb_union_lessee_temp where flowunid='"+FlowUnid+"'");
// dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid"));flowunid + "," + customerid
String Partner = Sqlca.getString("select Partner_ from CUSTOMER_FAMILY_TEMP where flowunid='"+FlowUnid+"'");
System.out.print("+++++++++++++++++++++++++++++"+Partner);
if(Partner==null){
dwTemp.genHTMLObjectWindow(FlowUnid);
}else if(Partner.equals("Y")){
@ -30,7 +30,6 @@
dwTemp.genHTMLObjectWindow(FlowUnid);
}
String sButtons[][] = {
//{"true","","Button","新增","新增","newRecord()","","","","btn_icon_add"},
{"true","","Button","保存","保存","viewAndEdit()","","","","btn_icon_edit"},
@ -40,7 +39,7 @@
//sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function checkCertId(){
function checkCertId(){//校验共同申请人证件号格式
var certId = getItemValue(0,getRow(0),"certid");
if(certId==""){
//setErrorTips("certId","证件号不能为空!");
@ -58,7 +57,7 @@
}
function checkTel(){
function checkTel(){//校验共同申请人手机号格式
var tel = getItemValue(0,getRow(0),"tel");
if(tel==""){
//setErrorTips("mobile","手机号不能为空!");
@ -74,7 +73,35 @@
}
}
function newRecord(){
function checkSuphone(){//校验单位电话格式和不为空
var suphone = getItemValue(0,getRow(0),"suphone");
if(suphone==""){
//setErrorTips("mobile","手机号不能为空!");
alert("单位电话不能为空!");
return false;
}
if(CheckPhoneCode(suphone)){
return true;
}else{
//setErrorTips("mobile","手机号格式不正确!");
alert("单位电话格式不正确!");
return false;
}
}
function checkTelRepeat(){//校验共同申请人手机号重复
var customerType = "03";
var tel = getItemValue(0,getRow(),"tel");
var sParams = "mobile="+tel+",customerType="+customerType+",flowunid="+"<%=FlowUnid%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobileRepeat",sParams);
if(sReturnInfo=="8"){
alert("该手机号已重复!");
setItemValue(0,0,"tel","");
return;
}
}
function newRecord(){//新增
var name = getItemValue(0,0,"name");
var certid = getItemValue(0,0,"certid");
var tel = getItemValue(0,0,"tel");
@ -102,7 +129,7 @@
reloadSelf();
}
}
function viewAndEdit(){
function viewAndEdit(){//保存
var CertIdResult = checkCertId();
if(CertIdResult==false){
return;
@ -111,6 +138,10 @@
if(TelResult==false){
return;
}
var SuphoneResult = checkSuphone();
if(SuphoneResult==false){
return;
}
// var ID = getItemValue(0,getRow(0),'ID');
// if("undefined"==ID||""==ID || null==ID){
// AsDebug.showMessage("提示","请选中一条数据!","","",true);

View File

@ -14,6 +14,8 @@
String sTempletNo = "CustomerFamilyTempInfo";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setHtmlEvent("Partner_","onChange","changePartner");
doTemp.setHtmlEvent("tel","onChange","checkTelRepeat");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
@ -24,7 +26,7 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
$(function(){
if(<%=marriage%>=="01"){
if(<%=marriage%>=="01"){//已婚时
changeFamilyRequiredTrue();
}else{
changeFamilyRequiredFalse();
@ -51,7 +53,7 @@
return sReturnInfo;
}
function checkTel(){//校验配偶手机号
function checkTel(){//校验配偶手机号标红
var customerType = "03";
var tel = getItemValue(0,getRow(),"tel");
var sParams = "mobile="+tel+",customerType="+customerType;
@ -59,7 +61,29 @@
return sReturnInfo;
}
function changeFamilyRequiredTrue(){
function checkTelRepeat(){//校验配偶手机号重复
var customerType = "03";
var tel = getItemValue(0,getRow(),"tel");
var sParams = "mobile="+tel+",customerType="+customerType;
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobileRepeat",sParams);
if(sReturnInfo=="8"){
alert("该手机号已重复!");
setItemValue(0,0,"tel","");
return;
}
}
function checkRepeat(mobile,emergencyTel,remark){//校验申请人手机号和配偶手机号是否重复
var tel = getItemValue(0,getRow(),"tel");
if(mobile!=emergencyTel && mobile!=remark && mobile!=tel && emergencyTel!=remark && emergencyTel!=tel && remark!=tel){
return "true";
}else{
return "false";
}
}
function changeFamilyRequiredTrue(marriage){//设置配偶信息只读
setItemValue(0,0,"status",marriage);
setItemRequired(0,"name",true);
setItemRequired(0,"certid",true);
setItemRequired(0,"tel",true);
@ -70,7 +94,8 @@
setItemRequired(0,"sposition",true);
setItemRequired(0,"smincome",true);
}
function changeFamilyRequiredFalse(){
function changeFamilyRequiredFalse(marriage){//关闭配偶信息只读
setItemValue(0,0,"status",marriage);
setItemRequired(0,"name",false);
setItemRequired(0,"certid",false);
setItemRequired(0,"tel",false);
@ -82,19 +107,68 @@
setItemRequired(0,"sposition",false);
setItemRequired(0,"smincome",false);
}
function save(){
function changePartner(){//校验是否存在共同申请人
var partner = getItemValue(0,getRow(0),"Partner_");
if(partner=="Y"){
var result = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerPartnerCheck","CheckPartnerInfo","flowunid=<%=flowunid%>");
if(result=="1"){
alert("共同申请人已存在!");
setItemValue(0,0,"Partner_","N");
return;
}
}
}
function save(){//保存配偶信息
var status = getItemValue(0,0,"status");
var name = getItemValue(0,0,"name");
var certid = getItemValue(0,0,"certid");
var tel = getItemValue(0,0,"tel");
var partner = getItemValue(0,getRow(0),"Partner_");
if(partner=="Y"){
var result = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerPartnerCheck","CheckPartnerInfo","flowunid=<%=flowunid%>");
if(result=="1"){
alert("共同申请人已存在!");
return;
}
}
var shukou = getItemValue(0,getRow(0),"shukou");
var suname = getItemValue(0,getRow(0),"suname");
var suphone = getItemValue(0,getRow(0),"suphone");
var sposition = getItemValue(0,getRow(0),"sposition");
var smincome = getItemValue(0,getRow(0),"smincome");
if(name=="" && "01"==status){
alert("请输入姓名!");
return;
}
if(certid=="" && "01"==status){
alert("请输入身份证号!");
return;
}
if(tel=="" && "01"==status){
alert("请输入手机号!");
return;
}
if(partner=="" && "01"==status){
alert("请选择配偶作为共同申请人!");
return;
}
if(shukou=="" && "01"==status){
alert("请输入户口!");
return;
}
if(suname=="" && "01"==status){
alert("请输入单位名称!");
return;
}
if(suphone=="" && "01"==status){
alert("请输入单位电话!");
return;
}
if(sposition=="" && "01"==status){
alert("请输入职位!");
return;
}
if(smincome=="" && "01"==status){
alert("请输入月收入金额!");
return;
}
if(name.length > 0){
if(certid.length > 0){

View File

@ -9,18 +9,19 @@
Date curdate = new Date();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd");
String dateString = formatter.format(curdate);
String sPhaseNo=CurPage.getParameter("sPhaseNo");
System.out.print("==============="+sPhaseNo);
String flowunid = CurPage.getParameter("FlowUnid");
String customerid = Sqlca.getString("select customer_id from lb_union_lessee_temp where flowunid='"+flowunid+"'");
String sTempletNo = "BusinessCustomerInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
String custname=CurPage.getParameter("custname");
doTemp.setHtmlEvent("CERTID","onChange","changeCertid");
doTemp.setHtmlEvent("MARRIAGE","onChange","changeFamilyRequired");
//doTemp.setHtmlEvent("MARRIAGE","onChange","changeFamilyRequired");
doTemp.setHtmlEvent("MARRIAGE","onChange","changeChildrensNumber");
doTemp.setHtmlEvent("Mailing_Address","onChange","checkMailingAddress");
//doTemp.setHtmlEvent("mobile","onChange","checkMobileRepeat");
//doTemp.setHtmlEvent("EMERGENCY_CONTACT_TEL","onChange","checkEmergencyRepeat");
//doTemp.setHtmlEvent("REMARK","onChange","checkRemarkRepeat");
String rightType = CurPage.getParameter("RightType");//页面只读与否
if(rightType==null)rightType="";
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
@ -41,14 +42,14 @@
dwTemp.replaceColumn("family", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"200px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp?CompClientID="+compClientID+"&customerid="+customerid+"\"></iframe>", CurPage.getObjectWindowOutput());
String sButtons[][] = {
{"true","","Button","身份校验","身份校验","identityVerification()","","","","btn_icon_check",""}
//{"true","","Button","身份校验","身份校验","identityVerification()","","","","btn_icon_check",""}
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function checkMailingAddress(){
function checkMailingAddress(){//当邮寄地址选择为户籍地址时,户籍地址必填
var mailingAddress = getItemValue(0,0,'Mailing_Address');
if("户籍地址" == mailingAddress){
setItemRequired(0, "NATIVEPLACE", true);
@ -57,7 +58,7 @@
}
}
function identityVerification(){
/* function identityVerification(){//身份校验
var id = getItemValue(0,0,'ID');
var result=RunJavaMethodTrans("com.tenwa.lease.flow.project.validate.IdentityVerification","doIdentityVerification",'id='+id);
if(result == 'ERROR'){
@ -65,27 +66,29 @@
}else{
alert(result);
}
}
// function changeChildrensNumber(){
// var marriage = getItemValue(0,0,"MARRIAGE");
// if("02" == marriage){
// setItemValue(0,0,"childrens_number","");
// $("#CHILDRENS_NUMBER").attr("ReadOnly","true");
// // hideItem(0,'family');
// $("#A_Group_0030").attr("style","display:none;");
// }else{
// $("#CHILDRENS_NUMBER").removeAttr("ReadOnly");
// $("#A_Group_0030").attr("style","display:block;");
// }
// }
} */
function changeFamilyRequired(){
function changeChildrensNumber(){//未婚时隐藏配偶信息页面,清空子女人数
var marriage = getItemValue(0,0,"MARRIAGE");
if("02" == marriage){
setItemValue(0,0,"childrens_number","");
setItemRequired(0, "childrens_number", false);
$("#CHILDRENS_NUMBER").attr("ReadOnly","true");
// hideItem(0,'family');
$("#A_Group_0030").attr("style","display:none;");
}else{
$("#CHILDRENS_NUMBER").removeAttr("ReadOnly");
$("#A_Group_0030").attr("style","display:block;");
}
}
function changeFamilyRequired(){//已婚时配偶信息必填校验
var marriage = getItemValue(0,getRow(0),"MARRIAGE");
if("01" == marriage){
frame_list.window.changeFamilyRequiredTrue();
frame_list.window.changeFamilyRequiredTrue(marriage);
//as_save("myiframe0","frame_list.window.as_save(0);");
}else{
frame_list.window.changeFamilyRequiredFalse();
frame_list.window.changeFamilyRequiredFalse(marriage);
}
}
@ -113,7 +116,7 @@
return sReturnInfo;
}
function checkMobile(){//校验手机号
function checkMobile(){//校验手机号标红
var customerType = "03";
var mobile = getItemValue(0,getRow(),"mobile");
var sParams = "mobile="+mobile+",customerType="+customerType;
@ -121,6 +124,18 @@
return sReturnInfo;
}
function checkMobileRepeat(){//校验手机号重复
var customerType = "03";
var mobile = getItemValue(0,getRow(),"mobile");
var sParams = "mobile="+mobile+",customerType="+customerType+",flowunid="+"<%=flowunid%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobileRepeat",sParams);
if(sReturnInfo=="8"){
alert("该手机号已重复!");
setItemValue(0,0,"mobile","");
return;
}
}
function checkEmergencyContactTel(){//校验紧急联系人1电话
var customerType = "03";
var emergencyTel = getItemValue(0,getRow(),"EMERGENCY_CONTACT_TEL");
@ -129,6 +144,18 @@
return sReturnInfo;
}
function checkEmergencyRepeat(){//校验紧急联系人1电话重复
var customerType = "03";
var emergencyTel = getItemValue(0,getRow(),"EMERGENCY_CONTACT_TEL");
var sParams = "mobile="+emergencyTel+",customerType="+customerType+",flowunid="+"<%=flowunid%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobileRepeat",sParams);
if(sReturnInfo=="8"){
alert("该手机号已重复!");
setItemValue(0,0,"EMERGENCY_CONTACT_TEL","");
return;
}
}
function checkRemark(){//校验紧急联系人2电话
var customerType = "03";
var remark = getItemValue(0,getRow(),"REMARK");
@ -137,8 +164,35 @@
return sReturnInfo;
}
$(document).ready(function(){
function checkRemarkRepeat(){//校验紧急联系人2电话重复
var customerType = "03";
var remark = getItemValue(0,getRow(),"REMARK");
var sParams = "mobile="+remark+",customerType="+customerType+",flowunid="+"<%=flowunid%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobileRepeat",sParams);
if(sReturnInfo=="8"){
alert("该手机号已重复!");
setItemValue(0,0,"REMARK","");
return;
}
}
// function checkRepeat(mobile,emergencyTel,remark){
// var result = "";
// var mobile = getItemValue(0,getRow(),"mobile");
// var emergencyTel = getItemValue(0,getRow(),"EMERGENCY_CONTACT_TEL");
// var remark = getItemValue(0,getRow(),"REMARK");
// if(mobile!=emergencyTel && emergencyTel!=remark && mobile!=remark){
// result = "true";
// }else{
// result = "false";
// }
// return result;
// }
$(document).ready(function(){
checkMailingAddress();
//当页面被加载时标红
// var nameResult = checkName();
// if(nameResult=="2"){
// //$("#FULLNAME").attr("style","color:red;");
@ -165,6 +219,7 @@
$("#REMARK").css("color","red");
}
//第二阶段隐藏身份校验按钮
if("0020"!="<%=sPhaseNo%>"){
$("#ButtonTR").attr("style","display:none;");
//$("#InfoButtonArea").attr("style","display:none;");
@ -185,18 +240,7 @@
//ValidityCheck();
}
//changeOtherRequired();
// var marriage = getItemValue(0,0,"MARRIAGE");
// if("02" == marriage){
// setItemValue(0,0,"childrens_number","");
// $("#CHILDRENS_NUMBER").attr("ReadOnly","true");
// // hideItem(0,'family');
// $("#A_Group_0030").attr("style","display:none;");
// }else{
// $("#CHILDRENS_NUMBER").removeAttr("ReadOnly");
// $("#A_Group_0030").attr("style","display:block;");
// }
changeChildrensNumber();
})
var flag=false;//标记是否复制过客户
function changeCertid(){
@ -297,7 +341,7 @@
// }
// }
function checkTel(){
function checkTel(){//校验手机号格式和不为空校验
var mobile = getItemValue(0,getRow(0),"mobile");
if(mobile==""){
//setErrorTips("mobile","手机号不能为空!");
@ -313,11 +357,25 @@
}
}
function saveRecord(leasfrom,projectSource){
function saveRecord(leasfrom,projectSource){//保存
var mobile = getItemValue(0,getRow(),"mobile");
var emergencyTel = getItemValue(0,getRow(),"EMERGENCY_CONTACT_TEL");
var remark = getItemValue(0,getRow(),"REMARK");
//校验申请人手机号和配偶手机号是否重复
var RepeatReault = "";
RepeatReault = frame_list.window.checkRepeat(mobile,emergencyTel,remark);
if(RepeatReault=="false"){
alert("手机号有重复!");
return;
}
var mobileResult = checkTel();
if(mobileResult=="false"){
return;
}
//校验公司电话区号
var workTel = getItemValue(0,0,"WORKTEL");
var result = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CheckCustomerInfo","CheckWorkTelInfo","workTel="+workTel);
if(result=="false"){

View File

@ -75,11 +75,11 @@
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=Info06;Describe=定义按钮事件-;]~*/%>
<script type="text/javascript">
function changeProductName(){
function changeProductName(){//清空产品名称
setItemValue(0,getRow(0),"productName","");
}
function checkNameAndCertId(){
function checkNameAndCertId(){//校验姓名和证件号
//var customerName = getItemValue(0,getRow(),"CustomerName");
var certId = getItemValue(0,getRow(),"certid");
var customerType = getItemValue(0,getRow(),"Customer_type");
@ -288,27 +288,33 @@
<%/*~[Describe=选择产品;]~*/%>
function selectBusinessType()
{
{
var carAttr = false;
var lease = false;
var carAttributes = getItemValue(0,getRow(),"carAttributes");
if(!carAttributes){
carAttr = false;
}else{
if(carAttributes){
carAttr = true;
}
var leasehold = getItemValue(0,getRow(),"leasehold");
if(!leasehold){
lease = false;
}else{
lease = true;
carAttr = false;
}
var lease = false;
var leasehold = getItemValue(0,getRow(),"leasehold");
if(leasehold){
lease = true;
}else{
lease = false;
}
var modelid = false;
var model = getItemValue(0,getRow(),"modelid");
if(model){
modelid = true;
}else{
modelid = false;
}
var modelid="";
var CurOrgID=<%=CurOrg.getOrgID()%>;
var YesNo="Y";
if(MyOjbect.modelid&&carAttr==true&&lease==true){
modelid=MyOjbect.modelid;
AsDialog.OpenSelector("selectProductVersionInfo","carAttributes,"+carAttributes+",leasehold,"+leasehold+",modelid,"+MyOjbect.modelid+",CurOrgID,"+CurOrgID+",YesNo,"+YesNo,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
if(modelid==true&&carAttr==true&&lease==true){
modelid=getItemValue(0,getRow(),"modelid");
AsDialog.OpenSelector("selectProductVersionInfo","carAttributes,"+carAttributes+",leasehold,"+leasehold+",modelid,"+modelid+",CurOrgID,"+CurOrgID+",YesNo,"+YesNo,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
{

View File

@ -70,6 +70,7 @@
sReturn = sReturn.split("@");
setItemValue(0,0,"ALERT_CUSTOMER", sReturn[0]);
setItemValue(0,0,"customername", sReturn[1]);
setItemValue(0,0,"contract_no", sReturn[2]);
},"请选择预警客户");
}
function selectProviceCode(){//选择省份

View File

@ -1078,7 +1078,7 @@
<Component FORMAT="1" ID="PI01" NAME="方案信息" STATUS="1" TYPE="PRD0314">
<Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="方案信息" PARAMETERID="planinformation" PARAMETERNAME="方案信息" PRIGHTTYPE="Required"/></Parameters></Component>
<Component FORMAT="1" ID="EQUIP_AMT" NAME="设备款" STATUS="2" TYPE="PRD0315"><Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收取方向" PARAMETERID="CostType01" PARAMETERNAME="收取方向" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付节点" PARAMETERID="CostType02" PARAMETERNAME="收付节点" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付对象" PARAMETERID="CostType03" PARAMETERNAME="收付对象" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="科目编码" PARAMETERID="CostType04" PARAMETERNAME="科目编码" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="是否显示比例" PARAMETERID="CostType05" PARAMETERNAME="是否显示比例" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="输入方式" PARAMETERID="CostType06" PARAMETERNAME="输入方式" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="比例参照费用" PARAMETERID="CostType07" PARAMETERNAME="比例参照费用" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="金额限定" PARAMETERID="CostType08" PARAMETERNAME="金额限定" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="比例限定" PARAMETERID="CostType09" PARAMETERNAME="比例限定" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="是否参与IRR/XIRR核算" PARAMETERID="CostType10" PARAMETERNAME="是否参与IRR/XIRR核算" PRIGHTTYPE="Required"/></Parameters></Component>
<Component FORMAT="1" ID="FIRST_PAYMENT" NAME="首付款" STATUS="1" TYPE="PRD0315"><Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收取方向" PARAMETERID="CostType01" PARAMETERNAME="收取方向" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="收付节点" PARAMETERID="CostType02" PARAMETERNAME="收付节点" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付对象" PARAMETERID="CostType03" PARAMETERNAME="收付对象" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="None" DISPLAYNAME="科目编码" PARAMETERID="CostType04" PARAMETERNAME="科目编码" PRIGHTTYPE="None"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否显示比例" PARAMETERID="CostType05" PARAMETERNAME="是否显示比例" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="输入方式" PARAMETERID="CostType06" PARAMETERNAME="输入方式" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="比例参照费用" PARAMETERID="CostType07" PARAMETERNAME="比例参照费用" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="金额限定" PARAMETERID="CostType08" PARAMETERNAME="金额限定" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="比例限定" PARAMETERID="CostType09" PARAMETERNAME="比例限定" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否参与IRR/XIRR核算" PARAMETERID="CostType10" PARAMETERNAME="是否参与IRR/XIRR核算" PRIGHTTYPE="Hide"/></Parameters></Component>
<Component FORMAT="1" ID="FIRST_PAYMENT" NAME="首付款" STATUS="1" TYPE="PRD0315"><Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收取方向" PARAMETERID="CostType01" PARAMETERNAME="收取方向" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="收付节点" PARAMETERID="CostType02" PARAMETERNAME="收付节点" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付对象" PARAMETERID="CostType03" PARAMETERNAME="收付对象" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="None" DISPLAYNAME="科目编码" PARAMETERID="CostType04" PARAMETERNAME="科目编码" PRIGHTTYPE="None"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="是否显示比例" PARAMETERID="CostType05" PARAMETERNAME="是否显示比例" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="输入方式" PARAMETERID="CostType06" PARAMETERNAME="输入方式" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="比例参照费用" PARAMETERID="CostType07" PARAMETERNAME="比例参照费用" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="金额限定" PARAMETERID="CostType08" PARAMETERNAME="金额限定" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="比例限定" PARAMETERID="CostType09" PARAMETERNAME="比例限定" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否参与IRR/XIRR核算" PARAMETERID="CostType10" PARAMETERNAME="是否参与IRR/XIRR核算" PRIGHTTYPE="Hide"/></Parameters></Component>
<Component FORMAT="1" ID="HANDLING_CHARGE_MONEY" NAME="手续费" STATUS="1" TYPE="PRD0315"><Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收取方向" PARAMETERID="CostType01" PARAMETERNAME="收取方向" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付节点" PARAMETERID="CostType02" PARAMETERNAME="收付节点" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付对象" PARAMETERID="CostType03" PARAMETERNAME="收付对象" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="科目编码" PARAMETERID="CostType04" PARAMETERNAME="科目编码" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否显示比例" PARAMETERID="CostType05" PARAMETERNAME="是否显示比例" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="输入方式" PARAMETERID="CostType06" PARAMETERNAME="输入方式" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="比例参照费用" PARAMETERID="CostType07" PARAMETERNAME="比例参照费用" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="None" DISPLAYNAME="金额限定" PARAMETERID="CostType08" PARAMETERNAME="金额限定" PRIGHTTYPE="None"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="比例限定" PARAMETERID="CostType09" PARAMETERNAME="比例限定" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="None" DISPLAYNAME="是否参与IRR/XIRR核算" PARAMETERID="CostType10" PARAMETERNAME="是否参与IRR/XIRR核算" PRIGHTTYPE="None"/><Parameter ARIGHTTYPE="None" DISPLAYNAME="收取方式" PARAMETERID="PoundageStyle" PARAMETERNAME="手续费计算方式" PRIGHTTYPE="None"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否参与融资" PARAMETERID="FINAN" PARAMETERNAME="是否参与融资" PRIGHTTYPE="Hide"/></Parameters></Component>
<Component FORMAT="1" ID="CAUTION_MONEY" NAME="保证金" STATUS="1" TYPE="PRD0315"><Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收取方向" PARAMETERID="CostType01" PARAMETERNAME="收取方向" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付节点" PARAMETERID="CostType02" PARAMETERNAME="收付节点" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付对象" PARAMETERID="CostType03" PARAMETERNAME="收付对象" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="科目编码" PARAMETERID="CostType04" PARAMETERNAME="科目编码" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否显示比例" PARAMETERID="CostType05" PARAMETERNAME="是否显示比例" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="输入方式" PARAMETERID="CostType06" PARAMETERNAME="输入方式" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="比例参照费用" PARAMETERID="CostType07" PARAMETERNAME="比例参照费用" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="None" DISPLAYNAME="金额限定" PARAMETERID="CostType08" PARAMETERNAME="金额限定" PRIGHTTYPE="None"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="比例限定" PARAMETERID="CostType09" PARAMETERNAME="比例限定" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否参与IRR/XIRR核算" PARAMETERID="CostType10" PARAMETERNAME="是否参与IRR/XIRR核算" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="显示次序" PARAMETERID="DISPLAY_ORDER" PARAMETERNAME="显示次序" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="保证金计算方式" PARAMETERID="DepositStyle" PARAMETERNAME="保证金计算方式" PRIGHTTYPE="Required"/></Parameters></Component>
<Component FORMAT="1" ID="MANAGEMENT_MONEY" NAME="咨询顾问费" STATUS="1" TYPE="PRD0315"><Parameters><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收取方向" PARAMETERID="CostType01" PARAMETERNAME="收取方向" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付节点" PARAMETERID="CostType02" PARAMETERNAME="收付节点" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="收付对象" PARAMETERID="CostType03" PARAMETERNAME="收付对象" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="科目编码" PARAMETERID="CostType04" PARAMETERNAME="科目编码" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否显示比例" PARAMETERID="CostType05" PARAMETERNAME="是否显示比例" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="输入方式" PARAMETERID="CostType06" PARAMETERNAME="输入方式" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="Required" DISPLAYNAME="比例参照费用" PARAMETERID="CostType07" PARAMETERNAME="比例参照费用" PRIGHTTYPE="Required"/><Parameter ARIGHTTYPE="None" DISPLAYNAME="金额限定" PARAMETERID="CostType08" PARAMETERNAME="金额限定" PRIGHTTYPE="None"/><Parameter ARIGHTTYPE="All" DISPLAYNAME="比例限定" PARAMETERID="CostType09" PARAMETERNAME="比例限定" PRIGHTTYPE="All"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="是否参与IRR/XIRR核算" PARAMETERID="CostType10" PARAMETERNAME="是否参与IRR/XIRR核算" PRIGHTTYPE="Hide"/><Parameter ARIGHTTYPE="Hide" DISPLAYNAME="显示次序" PARAMETERID="DISPLAY_ORDER" PARAMETERNAME="显示次序" PRIGHTTYPE="Hide"/></Parameters></Component>

View File

@ -4559,14 +4559,7 @@
</manager>
</class>
<class name="LB_EQUIPMENT_CAR" label="汽车租赁物" keyAttributes="ID">
<class name="LB_EQUIPMENT_CAR" label="二手车信息表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="32"/>
@ -4634,33 +4627,38 @@
<attribute name="evaluated_price" label="评估价格" type="STRING" length="32"/>
<attribute name="INVOICEDPRICE" label="证件号" type="STRING" length="100"/>
<attribute name="excellent_dealer_low_buy_price" label="优秀最低车商收购价" type="STRING" length="32"/>
<attribute name="excellent_dealer_buy_price" label="优秀车商收车价" type="STRING" length="32"/>
<attribute name="excellent_dealer_buy_price" label=" 优秀车商收车价" type="STRING" length="32"/>
<attribute name="excellent_individual_low_sold_price" label="优秀最低个人交易价" type="STRING" length="32"/>
<attribute name="excellent_individual_price" label="优秀个人交易价" type="STRING" length="32"/>
<attribute name="excellent_individual_price" label=" 优秀个人交易价" type="STRING" length="32"/>
<attribute name="excellent_dealer_low_sold_price" label="优秀最低车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_price" label="优秀车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_high_sold_price" label="优秀最高车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_low_buy_price" label="良好最低车商收购" type="STRING" length="32"/>
<attribute name="good_dealer_buy_price" label="良好车商收车价" type="STRING" length="32"/>
<attribute name="good_dealer_buy_price" label=" 良好车商收车价" type="STRING" length="32"/>
<attribute name="good_individual_low_sold_price" label="良好最低个人交易价" type="STRING" length="32"/>
<attribute name="good_individual_price" label="良好个人交易价" type="STRING" length="32"/>
<attribute name="good_individual_price" label=" 良好个人交易价" type="STRING" length="32"/>
<attribute name="good_dealer_low_sold_price" label="良好最低车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_price" label="良好车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_high_sold_price" label="良好最高车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_buy_price" label="普通最低车商收购" type="STRING" length="32"/>
<attribute name="normal_dealer_buy_price" label="普通车商收车价" type="STRING" length="32"/>
<attribute name="normal_dealer_buy_price" label=" 普通车商收车价" type="STRING" length="32"/>
<attribute name="normal_individual_low_sold_price" label="普通最低个人交易价" type="STRING" length="32"/>
<attribute name="normal_individual_price" label="普通个人交易价" type="STRING" length="32"/>
<attribute name="normal_individual_price" label=" 普通个人交易价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_sold_price" label="普通最低车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_price" label="普通车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_high_sold_price" label="普通最高车商零售价" type="STRING" length="32"/>
<attribute name="discharge_standard" label="排放标准" type="STRING" length="32"/>
<attribute name="detail_report_url" label="详细估值结果报告页面地址" type="STRING" length="100"/>
<attribute name="taken" label="查询编号" type="STRING" length="32"/>
<attribute name="modelId" label="车型ID" type="STRING" length="32"/>
<attribute name="zone" label="城市标识" type="STRING" length="32"/>
<attribute name="regDate" label="车牌上牌日期" type="STRING" length="32"/>
<attribute name="mile" label="车辆行驶里程" type="STRING" length="32"/>
<attribute name="CITYNAME" label="CITYNAME" type="STRING" length="100"/>
<attribute name="CITYID" label="CITYID" type="STRING" length="32"/>
<attribute name="CITYNAME" label="CITYNAME" type="STRING" length="100"/>
<attribute name="retainfield1" label="保留字段1" type="STRING" length="100"/>
<attribute name="retainfield2" label="保留字段2" type="STRING" length="100"/>
<attribute name="retainfield3" label="保留字段3" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
@ -4669,106 +4667,113 @@
</managerProperties>
</manager>
</class>
<class name="LB_EQUIPMENT_CAR_TEMP" label="汽车租赁物临时表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="32"/>
<attribute name="CONTRACT_ID" label="合同编号" type="STRING" length="32"/>
<attribute name="DEVICE_TYPE" label="车辆类型" type="STRING" length="30"/>
<attribute name="EQUIP_NAME" label="设备名称" type="STRING" length="200"/>
<attribute name="BRAND" label="车辆品牌" type="STRING" length="30"/>
<attribute name="MODEL" label="型号" type="STRING" length="60"/>
<attribute name="EQUIP_NUM" label="数量" type="STRING" length="30"/>
<attribute name="PRICE" label="单价" type="STRING" length="30"/>
<attribute name="UNIT" label="单位" type="STRING" length="30"/>
<attribute name="EQUIP_PRICE" label="交易价格" type="STRING" length="30"/>
<attribute name="TOTAL" label="设备原值" type="STRING" length="30"/>
<attribute name="NOW_TOTAL" label="车辆指导价" type="STRING" length="30"/>
<attribute name="VNDR" label="供应商id" type="STRING" length="32"/>
<attribute name="VNDR_NAME" label="供应商" type="STRING" length="200"/>
<attribute name="MANUFACTURER" label="制造商id" type="STRING" length="32"/>
<attribute name="MANUFACTURER_NAME" label="生产商" type="STRING" length="200"/>
<attribute name="EQUIP_NUMBER" label="设备序列号" type="STRING" length="30"/>
<attribute name="EQUIP_DELIVERY_PLACE" label="交付地点" type="STRING" length="100"/>
<attribute name="EQUIP_DELIVERY_DATE" label="交付时间" type="STRING" length="30"/>
<attribute name="EQUIP_PLACE" label="设备设置地址" type="STRING" length="100"/>
<attribute name="MEMO" label="其他配置说明" type="STRING" length="1000"/>
<attribute name="DATA_STATE" label="数据状态" type="STRING" length="32"/>
<attribute name="IS_FLOW" label="是否在流程中" type="STRING" length="1000"/>
<attribute name="STATUS" label="状态" type="STRING" length="1000"/>
<attribute name="FLOWUNID" label="流程编号" type="STRING" length="32"/>
<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="FRAME_NUMBER" label="车架号" type="STRING" length="100"/>
<attribute name="ENGINE_NUMBER" label="发动机号" type="STRING" length="100"/>
<attribute name="PLATE_NUMBER" label="车牌号" type="STRING" length="100"/>
<attribute name="EQUIP_TYPE" label="租赁物类型" type="STRING" length="32"/>
<attribute name="CONSIGNEE" label="收货人" type="STRING" length="30"/>
<attribute name="CONSIGNEE_TEL" label="收货人联系电话" type="STRING" length="30"/>
<attribute name="IS_DELIVERY" label="设备交付情况" type="STRING" length="30"/>
<attribute name="REMARK" label="交付说明" type="STRING" length="1000"/>
<attribute name="DRIVE_TYPE" label="驱动形式" type="STRING" length="100"/>
<attribute name="CAR_COLOUR" label="车辆颜色" type="STRING" length="32"/>
<attribute name="DISPLACEMENT" label="排量" type="STRING" length="32"/>
<attribute name="LICENSE_PLATE_NUMBER" label="车牌号码" type="STRING" length="32"/>
<attribute name="EXPIRYDATE" label="年检有效期" type="STRING" length="32"/>
<attribute name="D_NAME" label="驾驶人姓名" type="STRING" length="32"/>
<attribute name="D_SEX" label="驾驶人性别" type="STRING" length="32"/>
<attribute name="D_CERTID" label="驾驶人身份证号" type="STRING" length="32"/>
<attribute name="D_CERT_ADDR" label="驾驶人身份证地址" type="STRING" length="200"/>
<attribute name="D_CERT_VALID" label="驾驶人身份证有效期" type="STRING" length="32"/>
<attribute name="D_DRIVE" label="驾驶证" type="STRING" length="32"/>
<attribute name="D_TEL" label="驾驶人手机号码" type="STRING" length="32"/>
<attribute name="D_ADDR" label="驾驶人常住地址" type="STRING" length="200"/>
<attribute name="D_EDU_LEVEL" label="驾驶人学历" type="STRING" length="32"/>
<attribute name="D_WORK_NAME" label="驾驶人公司名称" type="STRING" length="100"/>
<attribute name="D_WORK_ADDR" label="驾驶人公司地址" type="STRING" length="200"/>
<attribute name="D_WORK_YEAR" label="驾驶人当前工作工作年限" type="STRING" length="32"/>
<attribute name="D_SALARY" label="驾驶人月薪" type="DOUBLE" length="22" scale="2"/>
<attribute name="D_ID" label="驾驶人ID" type="STRING" length="32"/>
<attribute name="car_series" label="车系" type="STRING" length="80"/>
<attribute name="gears" label="档位" type="STRING" length="80"/>
<attribute name="evaluated_price" label="评估价格" type="STRING" length="32"/>
<attribute name="excellent_dealer_low_buy_price" label="优秀最低车商收购价" type="STRING" length="32"/>
<attribute name="excellent_dealer_buy_price" label=" 优秀车商收车价" type="STRING" length="32"/>
<attribute name="excellent_individual_low_sold_price" label="优秀最低个人交易价" type="STRING" length="32"/>
<attribute name="excellent_individual_price" label="优秀个人交易价" type="STRING" length="32"/>
<attribute name="excellent_dealer_low_sold_price" label="优秀最低车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_price" label="优秀车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_high_sold_price" label="优秀最高车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_low_buy_price" label="良好最低车商收购" type="STRING" length="32"/>
<attribute name="good_dealer_buy_price" label=" 良好车商收车价" type="STRING" length="32"/>
<attribute name="good_individual_low_sold_price" label="良好最低个人交易价" type="STRING" length="32"/>
<attribute name="good_individual_price" label=" 良好个人交易价" type="STRING" length="32"/>
<attribute name="good_dealer_low_sold_price" label="良好最低车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_price" label="良好车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_high_sold_price" label="良好最高车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_buy_price" label="普通最低车商收购" type="STRING" length="32"/>
<attribute name="normal_dealer_buy_price" label=" 普通车商收车价" type="STRING" length="32"/>
<attribute name="normal_individual_low_sold_price" label="普通最低个人交易价" type="STRING" length="32"/>
<attribute name="normal_individual_price" label=" 普通个人交易价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_sold_price" label="普通最低车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_price" label="普通车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_high_sold_price" label="普通最高车商零售价" type="STRING" length="32"/>
<attribute name="taken" label="查询编号" type="STRING" length="32"/>
<attribute name="modelId" label="车型ID" type="STRING" length="32"/>
<attribute name="zone" label="城市标识" type="STRING" length="32"/>
<attribute name="regDate" label="车牌上牌日期" type="STRING" length="32"/>
<attribute name="mile" label="车辆行驶里程" type="STRING" length="32"/>
<attribute name="CITYID" label="CITYID" type="STRING" length="32"/>
<attribute name="CITYNAME" label="CITYNAME" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_equipment_car_temp" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
<class name="LB_EQUIPMENT_CAR_TEMP" label="二手车信息临时表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="32"/>
<attribute name="CONTRACT_ID" label="合同编号" type="STRING" length="32"/>
<attribute name="DEVICE_TYPE" label="车辆类型" type="STRING" length="30"/>
<attribute name="EQUIP_NAME" label="设备名称" type="STRING" length="200"/>
<attribute name="BRAND" label="车辆品牌" type="STRING" length="300"/>
<attribute name="MODEL" label="型号" type="STRING" length="300"/>
<attribute name="EQUIP_NUM" label="数量" type="STRING" length="300"/>
<attribute name="PRICE" label="单价" type="STRING" length="30"/>
<attribute name="UNIT" label="单位" type="STRING" length="30"/>
<attribute name="EQUIP_PRICE" label="交易价格" type="STRING" length="30"/>
<attribute name="TOTAL" label="设备原值" type="STRING" length="30"/>
<attribute name="NOW_TOTAL" label="车辆指导价" type="STRING" length="30"/>
<attribute name="VNDR" label="供应商id" type="STRING" length="32"/>
<attribute name="VNDR_NAME" label="供应商" type="STRING" length="200"/>
<attribute name="MANUFACTURER" label="制造商id" type="STRING" length="32"/>
<attribute name="MANUFACTURER_NAME" label="生产商" type="STRING" length="200"/>
<attribute name="EQUIP_NUMBER" label="设备序列号" type="STRING" length="30"/>
<attribute name="EQUIP_DELIVERY_PLACE" label="交付地点" type="STRING" length="100"/>
<attribute name="EQUIP_DELIVERY_DATE" label="交付时间" type="STRING" length="30"/>
<attribute name="EQUIP_PLACE" label="设备设置地址" type="STRING" length="100"/>
<attribute name="MEMO" label="其他配置说明" type="STRING" length="1000"/>
<attribute name="DATA_STATE" label="数据状态" type="STRING" length="32"/>
<attribute name="IS_FLOW" label="是否在流程中" type="STRING" length="1000"/>
<attribute name="STATUS" label="状态" type="STRING" length="1000"/>
<attribute name="FLOWUNID" label="流程编号" type="STRING" length="32"/>
<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="FRAME_NUMBER" label="车架号" type="STRING" length="100"/>
<attribute name="ENGINE_NUMBER" label="发动机号" type="STRING" length="100"/>
<attribute name="PLATE_NUMBER" label="车牌号" type="STRING" length="100"/>
<attribute name="EQUIP_TYPE" label="租赁物类型" type="STRING" length="32"/>
<attribute name="CONSIGNEE" label="收货人" type="STRING" length="30"/>
<attribute name="CONSIGNEE_TEL" label="收货人联系电话" type="STRING" length="30"/>
<attribute name="IS_DELIVERY" label="设备交付情况" type="STRING" length="30"/>
<attribute name="REMARK" label="交付说明" type="STRING" length="1000"/>
<attribute name="DRIVE_TYPE" label="驱动形式" type="STRING" length="100"/>
<attribute name="CAR_COLOUR" label="车辆颜色" type="STRING" length="32"/>
<attribute name="DISPLACEMENT" label="排量" type="STRING" length="32"/>
<attribute name="LICENSE_PLATE_NUMBER" label="车牌号码" type="STRING" length="32"/>
<attribute name="EXPIRYDATE" label="年检有效期" type="STRING" length="32"/>
<attribute name="D_NAME" label="驾驶人姓名" type="STRING" length="32"/>
<attribute name="D_SEX" label="驾驶人性别" type="STRING" length="32"/>
<attribute name="D_CERTID" label="驾驶人身份证号" type="STRING" length="32"/>
<attribute name="D_CERT_ADDR" label="驾驶人身份证地址" type="STRING" length="200"/>
<attribute name="D_CERT_VALID" label="驾驶人身份证有效期" type="STRING" length="32"/>
<attribute name="D_DRIVE" label="驾驶证" type="STRING" length="32"/>
<attribute name="D_TEL" label="驾驶人手机号码" type="STRING" length="32"/>
<attribute name="D_ADDR" label="驾驶人常住地址" type="STRING" length="200"/>
<attribute name="D_EDU_LEVEL" label="驾驶人学历" type="STRING" length="32"/>
<attribute name="D_WORK_NAME" label="驾驶人公司名称" type="STRING" length="100"/>
<attribute name="D_WORK_ADDR" label="驾驶人公司地址" type="STRING" length="200"/>
<attribute name="D_WORK_YEAR" label="驾驶人当前工作工作年限" type="STRING" length="32"/>
<attribute name="D_SALARY" label="驾驶人月薪" type="DOUBLE" length="22" scale="2"/>
<attribute name="D_ID" label="驾驶人ID" type="STRING" length="32"/>
<attribute name="car_series" label="车系" type="STRING" length="80"/>
<attribute name="gears" label="档位" type="STRING" length="80"/>
<attribute name="evaluated_price" label="评估价格" type="STRING" length="32"/>
<attribute name="excellent_dealer_low_buy_price" label="优秀最低车商收购价" type="STRING" length="32"/>
<attribute name="excellent_dealer_buy_price" label=" 优秀车商收车价" type="STRING" length="32"/>
<attribute name="excellent_individual_low_sold_price" label="优秀最低个人交易价" type="STRING" length="32"/>
<attribute name="excellent_individual_price" label="优秀个人交易价" type="STRING" length="32"/>
<attribute name="excellent_dealer_low_sold_price" label="优秀最低车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_price" label="优秀车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_high_sold_price" label="优秀最高车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_low_buy_price" label="良好最低车商收购" type="STRING" length="32"/>
<attribute name="good_dealer_buy_price" label=" 良好车商收车价" type="STRING" length="32"/>
<attribute name="good_individual_low_sold_price" label="良好最低个人交易价" type="STRING" length="32"/>
<attribute name="good_individual_price" label=" 良好个人交易价" type="STRING" length="32"/>
<attribute name="good_dealer_low_sold_price" label="良好最低车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_price" label="良好车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_high_sold_price" label="良好最高车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_buy_price" label="普通最低车商收购" type="STRING" length="32"/>
<attribute name="normal_dealer_buy_price" label=" 普通车商收车价" type="STRING" length="32"/>
<attribute name="normal_individual_low_sold_price" label="普通最低个人交易价" type="STRING" length="32"/>
<attribute name="normal_individual_price" label=" 普通个人交易价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_sold_price" label="普通最低车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_price" label="普通车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_high_sold_price" label="普通最高车商零售价" type="STRING" length="32"/>
<attribute name="discharge_standard" label="排放标准" type="STRING" length="32"/>
<attribute name="detail_report_url" label="详细估值结果报告页面地址" type="STRING" length="100"/>
<attribute name="taken" label="查询编号" type="STRING" length="32"/>
<attribute name="modelId" label="车型ID" type="STRING" length="32"/>
<attribute name="zone" label="城市标识" type="STRING" length="32"/>
<attribute name="regDate" label="车牌上牌日期" type="STRING" length="32"/>
<attribute name="mile" label="车辆行驶里程" type="STRING" length="32"/>
<attribute name="CITYID" label="CITYID" type="STRING" length="32"/>
<attribute name="CITYNAME" label="CITYNAME" type="STRING" length="100"/>
<attribute name="retainfield1" label="保留字段1" type="STRING" length="100"/>
<attribute name="retainfield2" label="保留字段2" type="STRING" length="100"/>
<attribute name="retainfield3" label="保留字段3" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_equipment_car_temp" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
<package name="jbo.guaranty">
<class name="GUARANTY_CONTRACT" label="担保合同信息" keyAttributes="SERIALNO">

View File

@ -2709,16 +2709,13 @@
</managerProperties>
</manager>
</class>
<class name="VI_LB_CAR_CREDIT_INVESTIGATION" label="贷前征信信息表" keyAttributes="">
<class name="VI_LB_CAR_CREDIT_INVESTIGATION" label="贷前征信相关人员信息表" keyAttributes="">
<attributes>
<attribute name="FULLNAME" label="姓名" type="STRING"/>
<attribute name="CERTID" label="身份证编号" type="STRING"/>
<attribute name="PHONENUMBER" label="手机号" type="STRING"/>
<attribute name="RELATION" label="身份" type="STRING"/>
<attribute name="SCORE" label="决策最终分数" type="STRING"/>
<attribute name="DECISION" label="决策最后决定" type="STRING"/>
<attribute name="FLOWUNID" label="流程编号" type="STRING"/>
<attribute name="fullName" label="姓名" type="STRING"/>
<attribute name="phoneNumber" label="手机号" type="STRING"/>
<attribute name="certId" label="身份证号码" type="STRING"/>
<attribute name="relation" label="身份" type="STRING"/>
<attribute name="flowunid" label="流程编号" type="STRING"/>
</attributes>
<manager>
<managerProperties>
@ -2760,5 +2757,37 @@
</class>
<class name="LB_TEST" label="定时任务处理器" keyAttributes="id">
<attributes>
<attribute name="id" label="标识id" type="STRING" length="100"/>
<attribute name="name" label="姓名" type="STRING" length="50"/>
<attribute name="age" label="年龄" type="STRING" length="10"/>
<attribute name="InputUserID" label="登记人" type="STRING" length="50"/>
<attribute name="InputOrgID" label="登记部门" type="STRING" length="50"/>
<attribute name="InputTime" label="登记时间" type="STRING" length="50"/>
<attribute name="UpdateUserID" label="更新人" type="STRING" length="50"/>
<attribute name="UpdateOrgID" label="更新部门" type="STRING" length="50"/>
<attribute name="UpdateTime" label="更新时间" type="STRING" length="50"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_test" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="VI_LB_IDENTITY_CHECK" label="身份校验视图表" keyAttributes="">
<attributes>
<attribute name="fullName" label="姓名" type="STRING"/>
<attribute name="certId" label="身份证编号" type="STRING"/>
<attribute name="relation" label="身份" type="STRING"/>
<attribute name="flowunid" label="流程编号" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="vi_lb_identity_check" />
</managerProperties>
</manager>
</class>
</package>
</jbo>

View File

@ -1730,6 +1730,7 @@
<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="contract_no" label="合同编号" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -1765,6 +1766,7 @@
<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="contract_no" label="合同编号" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -3080,7 +3082,9 @@
<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="evaluator" label="评估方" type="STRING" length="32"/>
<attribute name="EVALUATOR" label="评估方" type="STRING" length="32"/>
<attribute name="ISCOOPERATE" label="是否配合过户" type="STRING" length="32"/>
<attribute name="ISACCIDENT" label="是否事故车" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -3132,6 +3136,8 @@
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="evaluator" label="评估方" type="STRING" length="32"/>
<attribute name="isCooperate" label="是否配合过户" type="STRING" length="32"/>
<attribute name="isAccident" label="是否事故车" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -3140,35 +3146,6 @@
</managerProperties>
</manager>
</class>
<class name="LC_CAR_EVALUATION_TEMP" label="车辆评估临时表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="FRAME_NUMBER" label="车架号" type="STRING" length="50"/>
<attribute name="CONTRACT_ID" label="业务合同编号" type="STRING" length="32"/>
<attribute name="CUSTOMER_ID" label="承租人" type="STRING" length="32"/>
<attribute name="HANDLE_PRICE" label="处置价格" type="STRING" length="32"/>
<attribute name="MILE_NUMBER" label="公里数" type="STRING" length="32"/>
<attribute name="RECEIVE_DATE" label="收车成功日期" type="STRING" length="20"/>
<attribute name="REGIONAL" label="区域" type="STRING" length="100"/>
<attribute name="REGIONAL_MANAGE" label="区域联系人" type="STRING" length="50"/>
<attribute name="REGIONAL_PHONE" label="区域联系人电话" type="STRING" length="32"/>
<attribute name="EVAL_SEND_DATE" label="车源评估发布日期" type="STRING" length="20"/>
<attribute name="REMARKS" label="备注" type="STRING" length="2000"/>
<attribute name="FLOWUNID" label="流程编号" type="STRING" length="32"/>
<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"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="LC_CAR_EVALUATION_TEMP" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_CUSTOMER_SURVEY_PLAN" label="" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="40"/>

View File

@ -104,6 +104,7 @@ public class FundFundPlanExecutor {
if("feetype5".equals(item.getItemNo()) && "".equals(StringUtil.nullToString(param.get("CostType02")))) {
continue;
}
if("N".equals(item.getItemDescribe())) continue;
ffcp.setPlanDate(this.getPlanDate(StringUtil.nullToString(param.get("CostType02")), cb));
ffcp.setPlanMoney(temp.toString());
if(StringUtil.nullToString(param.get("CostType03")).equals("cust")){

View File

@ -131,7 +131,7 @@ public class ProductConditionService {
for(Map.Entry<String,String> entry:rule.entrySet()){
sJson+="'"+entry.getKey()+"':'"+entry.getValue()+"',";
}
sJson+="'ratioRule':"+FileOperatorUtil.getMapToJsonStr(rule);
sJson+="'ratioRule':"+FileOperatorUtil.getMapToJsonStr(ratioRule);
}
return "{"+sJson+"}";
}

View File

@ -0,0 +1,163 @@
package com.amarsoft.awe.control;
import com.amarsoft.are.ARE;
import com.amarsoft.awe.Configure;
import com.amarsoft.awe.RuntimeContext;
import com.amarsoft.awe.control.model.Component;
import com.amarsoft.awe.control.model.ComponentSession;
import com.amarsoft.dict.als.cache.AWEHrefCache;
import com.amarsoft.dict.als.manage.RoleManager;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
public class RedirectorServlet extends HttpServlet
{
private static final long serialVersionUID = 1L;
private String encoding = null;
private String redType = "server";
public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {
doGet(req, resp);
}
public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {
HttpSession session = req.getSession(false);
if (session == null) {
ARE.getLog().info("[RED]TimeOut[NoSession] Page=[" + req.getParameter("ComponentURL") + "]");
resp.sendRedirect(req.getContextPath() + "/Frame/page/sys/SessionExpire.jsp");
return;
}
RuntimeContext CurARC = (RuntimeContext)session.getAttribute("CurARC");
synchronized (CurARC) {//为避免缓存连接时因处理快慢的问题导致连接编号被覆盖的问题将此对象加锁
if (CurARC == null) {
ARE.getLog().info("[RED]TimeOut[" + session.getId() + ":" + session.getCreationTime() + ":" + session.getLastAccessedTime() + "] Page=[" + req.getParameter("ComponentURL") + "]");
resp.sendRedirect(req.getContextPath() + "/Frame/page/sys/SessionExpire.jsp");
return;
}
resp.setContentType("text/html; charset=GBK");
if ((req.getCharacterEncoding() == null) && (this.encoding != null)) {
req.setCharacterEncoding(this.encoding);
}
Configure CurConfig = Configure.getInstance(session.getServletContext());
if (CurConfig == null) {
throw new ServletException("读取配置文件错误!请检查配置文件。");
}
String sComponentURL = req.getParameter("ComponentURL");
try
{
if (!isPathRight(sComponentURL, CurARC)) {
ARE.getLog().debug("[RED] NoRightInfo Page=[" + sComponentURL + "][" + CurARC.getUser().getUserID() + "][" + CurARC.getUser().getUserName() + "]");
CurARC.setErrInfo("你没有执行该页面[" + sComponentURL + "]的权限!");
resp.sendRedirect(req.getContextPath() + "/Frame/page/sys/NoRightInfo.jsp");
return;
}
ComponentSession CurCompSession = CurARC.getCompSession();
Component pDestroyedComp = null;
String sOpenerClientID = req.getParameter("OpenerClientID");
String sToDestroyAllComponent = req.getParameter("ToDestroyAllComponent");
String sTargetWindow = req.getParameter("TargetWindow");
if ((sTargetWindow == null) || (("".equals(sTargetWindow)) && ("undefined".equals(sTargetWindow)))) {
sTargetWindow = "_blank";
}
if (("Y".equals(sToDestroyAllComponent)) || (sOpenerClientID == null) || ("_top".equals(sTargetWindow))) {
CurCompSession.clear();
}
else {
String sToDestroyClientID = req.getParameter("ToDestroyClientID");
if ((sToDestroyClientID != null) && (!sToDestroyClientID.equals("")) && (!sToDestroyClientID.equals("undefined"))) {
pDestroyedComp = CurCompSession.lookUpAndDestroy(sToDestroyClientID);
}
}
Component pCurComp = null;
if (sOpenerClientID != null)
{
pCurComp = CurCompSession.lookUpAndDestroyChildByTarget(sOpenerClientID, sTargetWindow);
}
Component CurComp = CurCompSession.creatComponent(sComponentURL, sTargetWindow, req);
if (pCurComp == null) pCurComp = pDestroyedComp;
if (pCurComp != null) CurComp.setParentComponent(pCurComp);
String sToInheritObj = req.getParameter("ToInheritObj");
if ((pCurComp != null) && (sToInheritObj != null) && (sToInheritObj.equalsIgnoreCase("y"))) {
String sObjectType = CurComp.getParentComponent().getAttribute("CompObjectType");
if (sObjectType != null) {
CurComp.setAttribute("CompObjectType", sObjectType);
}
String sObjectNo = CurComp.getParentComponent().getAttribute("CompObjectNo");
if (sObjectNo != null) {
CurComp.setAttribute("CompObjectNo", sObjectNo);
}
String sRightType = CurComp.getParentComponent().getAttribute("RightType");
if (sRightType != null) {
CurComp.setAttribute("RightType", sRightType);
}
}
session.setAttribute("CurARC", CurARC);
String redirect = req.getContextPath() + "/" + "ao" + "?" + "ao" + "ID=" + CurComp.getClientID();
redirectPage(resp, redirect);
return; } catch (Exception e) {
ARE.getLog().error("Redirector[" + sComponentURL + "] Error", e);
resp.getWriter().print("[" + sComponentURL + "]" + e.getMessage());
}
finally {
}
}
}
private void redirectPage(HttpServletResponse resp, String redirect) throws IOException {
if ("server".equals(this.redType)) {
resp.sendRedirect(redirect);
}
else
resp.getWriter().print("<html><head><script type=\"text/javascript\">window.location.href=\"" + redirect + "\";</script></head></html>");
}
public boolean isPathRight(String path, RuntimeContext CurARC)
throws Exception
{
if ((path == null) || ("".equals(path))) return false;
ArrayList urlList = (ArrayList)CurARC.getObject("UserUrlList");
if ((urlList == null) || (urlList.size() < 1)) {
urlList = RoleManager.getUserUrlList(CurARC.getUser());
ARE.getLog().debug("[RED] URLTable Size=[" + urlList.size() + "] User=[" + CurARC.getUser().getUserID() + "][" + CurARC.getUser().getUserName() + "]");
CurARC.setObject("UserUrlList", urlList);
}
if (!AWEHrefCache.getHrefList().matchHref(path))
{
return true;
}
return urlList.contains(path);
}
public void init()
throws ServletException
{
super.init();
this.encoding = getInitParameter("encoding");
if ((this.encoding == null) || ("".equals(this.encoding))) this.encoding = null;
this.redType = getInitParameter("RedirectType");
if ((this.redType == null) || ("".equals(this.redType))) this.redType = "server";
ARE.getLog().info("[RED] RedirectorServlet InitParameter : encoding[" + this.encoding + "] RedirectType[" + this.redType + "]");
}
}

View File

@ -34,6 +34,7 @@ public class FileTemplateUtil {
public String templateParam; //模板参数
public String templateIds;//要生成的合同模板
public String flowunid;//用于查询已经生成的合同
public String leasform;//用判断租赁方式
public String getTemplateCalss() {return templateCalss;}
public void setTemplateCalss(String templateCalss) {this.templateCalss = templateCalss;}
@ -61,6 +62,12 @@ public class FileTemplateUtil {
public void setFlowunid(String flowunid) {
this.flowunid = flowunid;
}
public String getLeasform() {
return leasform;
}
public void setLeasform(String leasform) {
this.leasform = leasform;
}
public String getTemplateClass(Transaction Sqlca) throws Exception{
String fileClass=templateCalss.replaceAll("@", ",");
List<String>tempFiles=new ArrayList<String>();
@ -92,11 +99,24 @@ public class FileTemplateUtil {
while (rs.next()){
tempFiles.add("{'text':'"+rs.getString("templatename")+"','value':'"+rs.getString("id")+"'}");
}
// String sReturn="[{'fileTemplate':\""+tempFiles.toString()+"\"}]";
String sReturn="[{'fileTemplate':\""+"[{'text':'ÈÚ×Ê×âÁÞºÏͬ-C¶Ë»Ø×â','value':'641c55a1168f4a488a5028ee68870156'}]"+"\"}]";
String sReturn="[{'fileTemplate':\""+tempFiles.toString()+"\"}]";
// String sReturn="[{'fileTemplate':\""+"[{'text':'融资租赁合同-C端回租','value':'641c55a1168f4a488a5028ee68870156'}]"+"\"}]";
return sReturn;
}
public String getContractClass(Transaction Sqlca){
if("01".equals(leasform)){
/*return "[{'fileTemplate':\""+"[{'text':'融资租赁合同-C端直租','value':'24aba365e2794a018814ae81341486bf'},"
+ "{'text':'直租个人授权协议书','value':'3334eed6051248b88cd4f2a22e93ac96'},]"+"\"}]";*/
return "[{'fileTemplate':\""+"[{'text':'融资租赁合同','value':'24aba365e2794a018814ae81341486bf'}]"+"\"}]";
}else{
/*return "[{'fileTemplate':\""+"[{'text':'融资租赁合同-C端回租','value':'641c55a1168f4a488a5028ee68870156'},"
+ "{'text':'回租个人授权协议书','value':'e980635a77124d5598be1717c062b877'},"
+ "{'text':'抵押合同','value':'ec90c114914d4725b57729107888511c'}]"+"\"}]";*/
return "[{'fileTemplate':\""+"[{'text':'融资租赁合同(售后回租)','value':'641c55a1168f4a488a5028ee68870156'}]"+"\"}]";
}
}
public String createContractTemplate(JBOTransaction tx) throws Exception{
List<String> message=new ArrayList<String>();
String[] tempids=this.getTemplateIds().split("&");
@ -156,7 +176,7 @@ public class FileTemplateUtil {
BizObjectManager ldclManager = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME);
List<BizObject> ldcls = ldclManager.createQuery("select * from O where file_flag='yes' and flow_unid=:flowunid").setParameter("flowunid", flowunid).getResultList(false);
for(int i=0;i<bfids.length;i++){
BizObject templatename = btManager.createQuery("select templatename from O where id=:id").setParameter("id", bfids[0]).getSingleResult(false);
BizObject templatename = btManager.createQuery("select templatename from O where id=:id").setParameter("id", bfids[i]).getSingleResult(false);
for(BizObject ldcl:ldcls){
if((templatename.getAttribute("templatename").toString()).equals(ldcl.getAttribute("doc_name").getString())){
docName=docName+templatename.getAttribute("templatename").toString()+";";
@ -169,5 +189,7 @@ public class FileTemplateUtil {
return docName;
}
}

View File

@ -1019,7 +1019,7 @@ public class ContractSignAction{
if (list == null) {
list = new ArrayList<String>();
}
list.add(keys.getAttribute("DOCUMENT_ID").toString());
list.add(keys.getAttribute("DOCUMENT_ID").toString()+"@"+keys.getAttribute("doc_name").toString());
map.put(keys.getAttribute("singcontract_id").toString(), list);
}
Map<String, String> resultMap = requestService.Sign(map);

View File

@ -1,85 +1,88 @@
package apx.com.amarsoft.als.apzl.apply.business.start.service.impl;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import apx.com.amarsoft.als.apzl.apply.business.start.bo.BusinessBO;
import apx.com.amarsoft.als.apzl.apply.business.start.service.BusinessApplyStartService;
import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.awe.util.Transaction;
import com.base.constant.RestfullConstant;
import com.base.util.MultipartDataUtil;
import com.base.util.ReturnMapUtil;
import com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction;
public class BusinessApplyStartServiceImpl implements BusinessApplyStartService {
private Map<String, Object> fieldMap;
@SuppressWarnings("unchecked")
public Map<String, Object> applyStart(HttpServletRequest request,
HttpServletResponse response, JBOTransaction tx, Transaction sqlca,
ReturnMapUtil ReturnMapUtil) throws Exception {
Map<String, Object> testMap = (Map<String, Object>) MultipartDataUtil
.readRequestParam(request, "UTF-8");
fieldMap = (Map<String, Object>) testMap.get("fieldMap");
BusinessBO bo = new BusinessBO(fieldMap);
String applyType = "BusinessApplyApply";
String uid = fieldMap.get("userid") == null ? "" : fieldMap.get(
"userid").toString();
BusinessApprovalStartAction BusinessApprovalStartAction = new BusinessApprovalStartAction();
BusinessApprovalStartAction.setApplyType(applyType);
BusinessApprovalStartAction.setCurUserID(uid);
BusinessApprovalStartAction.setFixedFlowParam(bo.getFixedFlowParam());
// 产品租赁信息
BusinessApprovalStartAction.setBusinessType(bo.getBusinessType());
BusinessApprovalStartAction.setVersionid(bo.getVersionId());
BusinessApprovalStartAction.setProductID(bo.getProductId());
BusinessApprovalStartAction.setProductId(bo.getProductId());
BusinessApprovalStartAction.setLeasehold(bo.getLeasehold());
// 车辆信息
BusinessApprovalStartAction.setModelid(bo.getModelId());
BusinessApprovalStartAction.setCarAttributes(bo.getCarAttributes());
BusinessApprovalStartAction.setProductModel(bo.getProductModel());
BusinessApprovalStartAction.setCarSystem(bo.getCarSystem());
BusinessApprovalStartAction.setCarSeries(bo.getCarSeries());
// 用户信息
BusinessApprovalStartAction.setCertid(bo.getCertid());
BusinessApprovalStartAction.setCerttype(bo.getCerttype());
BusinessApprovalStartAction.setCustname(bo.getCUSTOMERNAME());
BusinessApprovalStartAction.setCustomerType(bo.getCustomerType());
String sReturnInfo = BusinessApprovalStartAction.initFLow(tx);
if (sReturnInfo.startsWith("success")) {
String serialNo = sReturnInfo.split("@")[1];
// 获取当前申请的相关参数包含FlowUnid
Map<String, String> params = BusinessApprovalStartAction
.getFlowParam();
// 返回前台的数据
Map<String, Object> body = new HashMap<String, Object>();
body.put("flowUnid", params.get("FlowUnid"));
body.put("objectNo", params.get("FlowUnid"));
body.put("taskNo", serialNo);
body.put("serialNo", serialNo);
ReturnMapUtil.setReturnMap(body,
RestfullConstant.baseProperty.get("success").toString(),
"发起成功");
} else
ReturnMapUtil.setReturnMap(null,
RestfullConstant.baseProperty.get("FAIL").toString(),
"发起失败");
return ReturnMapUtil.getReturnMap();
}
}
package apx.com.amarsoft.als.apzl.apply.business.start.service.impl;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.awe.Configure;
import com.amarsoft.awe.util.Transaction;
import com.base.constant.RestfullConstant;
import com.base.util.MultipartDataUtil;
import com.base.util.ReturnMapUtil;
import com.tenwa.doc.action.DocListInitAction;
import com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction;
import apx.com.amarsoft.als.apzl.apply.business.start.bo.BusinessBO;
import apx.com.amarsoft.als.apzl.apply.business.start.service.BusinessApplyStartService;
public class BusinessApplyStartServiceImpl implements BusinessApplyStartService {
private Map<String, Object> fieldMap;
@SuppressWarnings("unchecked")
public Map<String, Object> applyStart(HttpServletRequest request,
HttpServletResponse response, JBOTransaction tx, Transaction sqlca,
ReturnMapUtil ReturnMapUtil) throws Exception {
Map<String, Object> testMap = (Map<String, Object>) MultipartDataUtil
.readRequestParam(request, "UTF-8");
fieldMap = (Map<String, Object>) testMap.get("fieldMap");
BusinessBO bo = new BusinessBO(fieldMap);
String applyType = "BusinessApplyApply";
String uid = fieldMap.get("userid") == null ? "" : fieldMap.get(
"userid").toString();
BusinessApprovalStartAction BusinessApprovalStartAction = new BusinessApprovalStartAction();
BusinessApprovalStartAction.setApplyType(applyType);
BusinessApprovalStartAction.setCurUserID(uid);
BusinessApprovalStartAction.setFixedFlowParam(bo.getFixedFlowParam());
// 产品租赁信息
BusinessApprovalStartAction.setBusinessType(bo.getBusinessType());
BusinessApprovalStartAction.setVersionid(bo.getVersionId());
BusinessApprovalStartAction.setProductID(bo.getProductId());
BusinessApprovalStartAction.setProductId(bo.getProductId());
BusinessApprovalStartAction.setLeasehold(bo.getLeasehold());
// 车辆信息
BusinessApprovalStartAction.setModelid(bo.getModelId());
BusinessApprovalStartAction.setCarAttributes(bo.getCarAttributes());
BusinessApprovalStartAction.setProductModel(bo.getProductModel());
BusinessApprovalStartAction.setCarSystem(bo.getCarSystem());
BusinessApprovalStartAction.setCarSeries(bo.getCarSeries());
// 用户信息
BusinessApprovalStartAction.setCertid(bo.getCertid());
BusinessApprovalStartAction.setCerttype(bo.getCerttype());
BusinessApprovalStartAction.setCustname(bo.getCUSTOMERNAME());
BusinessApprovalStartAction.setCustomerType(bo.getCustomerType());
String sReturnInfo = BusinessApprovalStartAction.initFLow(tx);
if (sReturnInfo.startsWith("success")) {
String serialNo = sReturnInfo.split("@")[1];
// 获取当前申请的相关参数包含FlowUnid
Map<String, String> params = BusinessApprovalStartAction
.getFlowParam();
// 返回前台的数据
Map<String, Object> body = new HashMap<String, Object>();
body.put("flowUnid", params.get("FlowUnid"));
body.put("objectNo", params.get("FlowUnid"));
body.put("projectId", params.get("ProjectId"));
body.put("taskNo", serialNo);
body.put("serialNo", serialNo);
ReturnMapUtil.setReturnMap(body,
RestfullConstant.baseProperty.get("success").toString(),
"发起成功");
} else
ReturnMapUtil.setReturnMap(null,
RestfullConstant.baseProperty.get("FAIL").toString(),
"发起失败");
return ReturnMapUtil.getReturnMap();
}
}

View File

@ -283,6 +283,13 @@ public class AweDoQueryController {
else
continue;
}else {
//filedMap中有参数则赋值 x = :x
String strParam = fieldMap.get(str.toLowerCase()).toString();
otherWhere = otherWhere.replace(":" +
str,"'" + strParam + "'");
continue;
}
}
}
@ -372,16 +379,16 @@ public class AweDoQueryController {
int i = 0;
for (String str : array1) {
str = str.trim();
if (fieldMap.get(param.toLowerCase()) == null) {
if (fieldMap.get(str.toLowerCase()) == null) {
return "continue";
}
aSet[i] = fieldMap.get(param.toLowerCase()).toString();
aSet[i] = fieldMap.get(str.toLowerCase()).toString();
i++;
}
if (fieldMap.get(param.toLowerCase()) == null) {
return "continue";
}
// if (fieldMap.get(param.toLowerCase()) == null) {
// return "continue";
// }
String value = executeMethod(classStr, aSet);
fieldMap.put(paramStr.toLowerCase(), value);

View File

@ -37,6 +37,7 @@ public class FlowBussionAction extends CommonAction {
private String FixedFlowParam;
public String customertype;
public String custname;
public String leasform;
public List<BizObject> FlowMutexConfig;
public Map<String, String> FlowParam = new HashMap<String, String>();
@ -229,4 +230,11 @@ public class FlowBussionAction extends CommonAction {
public void setCustname(String custname) {
this.custname = custname;
}
public String getLeasform() {
return leasform;
}
public void setLeasform(String leasform) {
this.leasform = leasform;
}
}

View File

@ -0,0 +1,29 @@
package com.tenwa.apzl.cardispose;
import jbo.com.tenwa.lease.comm.LC_CAR_DISPOSE_TEMP;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.awe.dw.handler.impl.CommonHandler;
public class CarBidHandler extends CommonHandler{
@Override
protected void beforeUpdate(JBOTransaction tx, BizObject bo)
throws Exception {
String frameNumber=bo.getAttribute("FRAME_NUMBER").toString();
//Î¥Õ¿îÏî½ðî
String otherPrice=bo.getAttribute("OTHER_PRICE").toString();
//Í£³µ·Ñ
String parkMoney=bo.getAttribute("park_money").toString();
BizObjectManager carDisposeManager = JBOFactory.getBizObjectManager(LC_CAR_DISPOSE_TEMP.CLASS_NAME, tx);
BizObject carDispose = carDisposeManager.createQuery("frame_number=:frame_number").setParameter("frame_number", frameNumber).getSingleResult(true);
if(carDispose !=null){
carDispose.setAttributeValue("OTHER_PRICE", otherPrice);
carDispose.setAttributeValue("park_money", parkMoney);
carDisposeManager.saveObject(carDispose);
}
}
}

View File

@ -3,6 +3,7 @@ package com.tenwa.customer.controller.group;
import jbo.app.tenwa.customer.CUSTOMER_GROUP_COMPANY;
import jbo.app.tenwa.customer.DISTRIBUTOR_GROUP_COMPANY;
import jbo.app.tenwa.customer.DISTRIBUTOR_GROUP_RELATION;
import jbo.app.tenwa.customer.DISTRIBUTOR_INFO_TEMP;
import jbo.com.tenwa.entity.comm.own.COUNTRY_DISTRICT_INFO;
import com.amarsoft.are.jbo.BizObject;
@ -16,6 +17,15 @@ public class CustomerGroupCompanyController {
private String id = "";
private String group_name = "";
private String group_no = "";
private String DISTRIBUTOR_CODING = "";
public String getDISTRIBUTOR_CODING() {
return DISTRIBUTOR_CODING;
}
public void setDISTRIBUTOR_CODING(String dISTRIBUTOR_CODING) {
DISTRIBUTOR_CODING = dISTRIBUTOR_CODING;
}
public String getGroup_name() {
return group_name;
@ -137,6 +147,16 @@ public class CustomerGroupCompanyController {
}
}
public String distributor_basic(JBOTransaction tx) throws Exception{
BizObjectManager dgcm = JBOFactory.getBizObjectManager(DISTRIBUTOR_INFO_TEMP.CLASS_NAME);
BizObject dgc = dgcm.createQuery("DISTRIBUTOR_CODING=:DISTRIBUTOR_CODING").setParameter("DISTRIBUTOR_CODING", DISTRIBUTOR_CODING).getSingleResult(false);
if(dgc == null){
return "true";
}else{
return "false";
}
}
public String getNewId(JBOTransaction tx) throws Exception{
String id="";
BizObjectManager dgcm = JBOFactory.getBizObjectManager(DISTRIBUTOR_GROUP_COMPANY.CLASS_NAME);

View File

@ -12,6 +12,7 @@ import java.util.Map;
import org.apache.log4j.Logger;
import jbo.app.LB_EQUIPMENT_CAR_TEMP;
import jbo.sys.CODE_LIBRARY;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
@ -24,59 +25,88 @@ import com.tenwa.lease.util.VehicleAppraisementUtil;
public class vehicleAssessmentController {
private String id;
private String FlowUnid;
private Logger logger = Logger.getLogger(this.getClass());
public String getId() {
return id;
public String getFlowUnid() {
return FlowUnid;
}
public void setId(String id) {
this.id = id;
public void setFlowUnid(String flowUnid) {
FlowUnid = flowUnid;
}
public String vehicleAppraisement(JBOTransaction tx){
String result = null;
try {
BizObjectManager bomLSNT = JBOFactory.getBizObjectManager(LB_EQUIPMENT_CAR_TEMP.CLASS_NAME,tx);
BizObject boLSNT = bomLSNT.createQuery("ID=:ID").setParameter("ID",id).getSingleResult(true);
//获取车型ID
String modelId = boLSNT.getAttribute("modelId").toString();
//获取地区编号
String zone = boLSNT.getAttribute("zone").toString();
//因为从数据库获取到的上牌日期的格式不满足接口需求,所以要利用SimpleDateFormat进行变换
Date date = new SimpleDateFormat("yyyy/MM/dd").parse(boLSNT.getAttribute("regDate").toString());
String regDate = new SimpleDateFormat("yyyy-MM-dd").format(date);
//获取车辆行驶里程
String mile = boLSNT.getAttribute("mile").toString();
//得到Car300接口返回的Json数据
String responseResult = VehicleAppraisementUtil.getVehicleAppraisementResponse(modelId, zone, regDate, mile);
//String responseResult = ReadJSON.ReadFile("D://che300new.txt");
JSONObject object = JSONObject.parseObject(responseResult);
String status = object.get("status").toString();
//提取出Json数据中的status属性(1:成功;0:失败)并判断,如果为0,则将出错原因返回到前台
if("0".equals(status)){
String errormsg = object.getString("error_msg");
return errormsg;
}
boLSNT.setAttributeValue("discharge_standard", object.get("discharge_standard").toString());
boLSNT.setAttributeValue("NOW_TOTAL", object.get("model_price").toString());
boLSNT.setAttributeValue("detail_report_url", object.get("detail_report_url").toString());
//将Json字符串中的数组数据部分转换为Json数组
List<HashMap> list = JSONArray.parseArray(JSON.toJSONString(object.get("eval_prices")),HashMap.class);
//遍历Json数组并将对应字段的数据加入到数据库中
for(int i=0;i<list.size();i++){
String condition = list.get(i).get("condition").toString();
boLSNT.setAttributeValue(condition+"_dealer_low_buy_price",list.get(i).get("dealer_low_buy_price"));
boLSNT.setAttributeValue(condition+"_dealer_buy_price",list.get(i).get("dealer_low_buy_price"));
boLSNT.setAttributeValue(condition+"_individual_low_sold_price",list.get(i).get("individual_low_sold_price"));
boLSNT.setAttributeValue(condition+"_individual_price",list.get(i).get("individual_price"));
boLSNT.setAttributeValue(condition+"_dealer_low_sold_price", list.get(i).get("dealer_low_sold_price"));
boLSNT.setAttributeValue(condition+"_dealer_price",list.get(i).get("dealer_price"));
boLSNT.setAttributeValue(condition+"_dealer_high_sold_price", list.get(i).get("dealer_high_sold_price"));
}
bomLSNT.saveObject(boLSNT);
try {
BizObjectManager bomLSNT = JBOFactory.getBizObjectManager(LB_EQUIPMENT_CAR_TEMP.CLASS_NAME,tx);
BizObjectManager codeSNT = JBOFactory.getBizObjectManager(CODE_LIBRARY.CLASS_NAME,tx);
if(bomLSNT != null){
BizObject boLSNT = bomLSNT.createQuery("flowunid=:FLOWUNID").setParameter("FLOWUNID",FlowUnid).getSingleResult(true);
//获取车型ID
String modelId = boLSNT.getAttribute("modelId").getString();
//获取用户选择的所属地区
String area = boLSNT.getAttribute("zone").getString();
if(area.indexOf("上海") != -1){
area = "上海市市辖区";
}else if(area.indexOf("重庆") != -1){
area = "重庆市市辖区";
}else if(area.indexOf("地区") != -1){
area = area.substring(0,area.indexOf("地区")+2);
}else if(area.indexOf("") != -1){
area = area.substring(0,area.indexOf("")+1);
}else if(area.indexOf("") != -1){
area = area.substring(0,area.indexOf("")+1);
}else{
return "请返回租赁车辆基本信息页面填写地区!";
}
//到数据字典中查询对应的行政编号作为接口入参的zone参数
String zone = "";
if(codeSNT != null){
BizObject zoneResult = codeSNT.createQuery("select itemname,itemno FROM O WHERE codeno='AreaCode' AND itemname=:AREA")
.setParameter("AREA",area).getSingleResult(false);
if(zoneResult != null){
zone = zoneResult.getAttribute("itemno").getString();
}
}
//因为从数据库获取到的上牌日期的格式不满足接口需求,所以要利用SimpleDateFormat进行变换
Date date = new SimpleDateFormat("yyyy/MM/dd").parse(boLSNT.getAttribute("regDate").toString());
String regDate = new SimpleDateFormat("yyyy-MM-dd").format(date);
//获取车辆行驶里程
String mile = boLSNT.getAttribute("mile").toString();
if(mile == null || regDate == null || zone == null){
return "请到租赁车辆基本信息页面完善相关信息!";
}
//得到Car300接口返回的Json数据
String responseResult = VehicleAppraisementUtil.getVehicleAppraisementResponse(modelId, zone, regDate, mile);
//String responseResult = ReadJSON.ReadFile("D://che300new.txt");
JSONObject object = JSONObject.parseObject(responseResult);
String status = object.get("status").toString();
//提取出Json数据中的status属性(1:成功;0:失败)并判断,如果为0,则将出错原因返回到前台
if("0".equals(status)){
String errormsg = object.getString("error_msg");
return "评估失败,原因为:"+errormsg;
}
boLSNT.setAttributeValue("discharge_standard", object.get("discharge_standard").toString());
boLSNT.setAttributeValue("NOW_TOTAL", object.get("model_price").toString());
boLSNT.setAttributeValue("detail_report_url", object.get("detail_report_url").toString());
//将Json字符串中的数组数据部分转换为Json数组
@SuppressWarnings("rawtypes")
List<HashMap> list = JSONArray.parseArray(JSON.toJSONString(object.get("eval_prices")),HashMap.class);
//遍历Json数组并将对应字段的数据加入到数据库中
for(int i=0;i<list.size();i++){
String condition = list.get(i).get("condition").toString();
boLSNT.setAttributeValue(condition+"_dealer_low_buy_price",list.get(i).get("dealer_low_buy_price"));
boLSNT.setAttributeValue(condition+"_dealer_buy_price",list.get(i).get("dealer_low_buy_price"));
boLSNT.setAttributeValue(condition+"_individual_low_sold_price",list.get(i).get("individual_low_sold_price"));
boLSNT.setAttributeValue(condition+"_individual_price",list.get(i).get("individual_price"));
boLSNT.setAttributeValue(condition+"_dealer_low_sold_price", list.get(i).get("dealer_low_sold_price"));
boLSNT.setAttributeValue(condition+"_dealer_price",list.get(i).get("dealer_price"));
boLSNT.setAttributeValue(condition+"_dealer_high_sold_price", list.get(i).get("dealer_high_sold_price"));
}
bomLSNT.saveObject(boLSNT);
}
} catch (Exception e) {
e.printStackTrace();
logger.error("执行车辆评估操作失败", e);

View File

@ -33,6 +33,7 @@ public class LCCarDisposeInitToTempBusiness extends BaseBussiness {
bo.setAttributeValue("remain_principal", sum);
bo.setAttributeValue("flowunid", this.getAttribute("FlowUnid").toString());
bo.setAttributeValue("FRAME_NUMBER", this.getAttribute("ProjectName").toString().split("-")[0]);
bo.setAttributeValue("contract_no", this.getAttribute("FlowKey").toString());
bm.saveObject(bo);
String sMessage="true";

View File

@ -66,5 +66,6 @@ public class ContractApprovalStartAction extends BaseFlowStartAction{
this.FlowParam.put("FlowKey", contractno);
this.FlowParam.put("customertype", customertype);
this.FlowParam.put("IsMakeContract", "yes");
this.FlowParam.put("leasform", leasform);
}
}

View File

@ -2,8 +2,12 @@ package com.tenwa.lease.flow.project.businessapply;
import jbo.app.tenwa.customer.CUSTOMER_COMPANY;
import jbo.app.tenwa.customer.CUSTOMER_COMPANY_TEMP;
import jbo.app.tenwa.customer.CUSTOMER_FAMILY;
import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP;
import jbo.app.tenwa.customer.CUSTOMER_PERSON;
import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP;
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT;
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.JBOException;
@ -19,6 +23,8 @@ public class CustomerInfoCheck {
private String nameResult;
private String certResult;
private String mobileResult;
private String repeatResult;
private String flowunid;
public String checkName(JBOTransaction tx) throws JBOException{
if(customerType.equals("03")){//×ÔÈ»ÈË
@ -70,6 +76,40 @@ public class CustomerInfoCheck {
return mobileResult;
}
public String checkMobileRepeat(JBOTransaction tx) throws JBOException{
if(customerType.equals("03")){//×ÔÈ»ÈË
//BizObject mobileP=JBOFactory.createBizObjectQuery(CUSTOMER_PERSON.CLASS_NAME,"mobile=:mobile").setParameter("mobile", this.mobile).getSingleResult(false);
BizObject mobilePT=JBOFactory.createBizObjectQuery(CUSTOMER_PERSON_TEMP.CLASS_NAME,"FLOWUNID=:flowunid and mobile=:mobile").setParameter("flowunid", this.flowunid).setParameter("mobile", this.mobile).getSingleResult(false);
//BizObject mobileF=JBOFactory.createBizObjectQuery(CUSTOMER_FAMILY.CLASS_NAME,"tel=:mobile").setParameter("mobile", this.mobile).getSingleResult(false);
BizObject mobileFT=JBOFactory.createBizObjectQuery(CUSTOMER_FAMILY_TEMP.CLASS_NAME,"flowunid=:flowunid and tel=:mobile").setParameter("flowunid", this.flowunid).setParameter("mobile", this.mobile).getSingleResult(false);
//BizObject mobileLU=JBOFactory.createBizObjectQuery(LB_GUARANTEE_UNIT.CLASS_NAME,"MOBILE=:mobile").setParameter("mobile", this.mobile).getSingleResult(false);
BizObject mobileLUT=JBOFactory.createBizObjectQuery(LB_GUARANTEE_UNIT_TEMP.CLASS_NAME,"FLOWUNID=:flowunid and MOBILE=:mobile").setParameter("flowunid", this.flowunid).setParameter("mobile", this.mobile).getSingleResult(false);
//if(mobileP==null && mobilePT==null && mobileF==null && mobileFT==null && mobileLU==null && mobileLUT==null){
if(mobilePT==null && mobileFT==null && mobileLUT==null){
this.repeatResult = "7";
}else{
this.repeatResult = "8";
}
}
return repeatResult;
}
public String getFlowunid() {
return flowunid;
}
public void setFlowunid(String flowunid) {
this.flowunid = flowunid;
}
public String getRepeatResult() {
return repeatResult;
}
public void setRepeatResult(String repeatResult) {
this.repeatResult = repeatResult;
}
public String getMobile() {
return mobile;
}

View File

@ -9,6 +9,7 @@ import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import sun.misc.BASE64Decoder;
import jbo.app.tenwa.calc.LC_CALC_CONDITION_STATUS;
import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP;
import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP;
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP;
@ -16,6 +17,7 @@ import jbo.com.tenwa.lease.comm.LC_IDENTITY_CHECK_RESULT_TEMP;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.JBOException;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.are.jbo.JBOTransaction;
/**
@ -88,6 +90,9 @@ public class IdentityVerification {
//读取授权文件
String license =ValidatePropertiesUtil.get("key");
String decode = new String(new BASE64Decoder().decodeBuffer(license));
if(coborrowerResult == null || guarantorResultList == null){
return "请完善共同申请人与担保人信息!";
}
//将申请人,共同申请人,担保人等信息传入该类构建xml入参参数
String inConditions = SoapRequest.XMLConfiguration(borrowerResult,coborrowerResult,guarantorResultList);
String result = NciicClient.executeClient("NciicServices",decode,inConditions);