保险清单
This commit is contained in:
parent
99bb7434cc
commit
9bcfa53d27
@ -7,11 +7,15 @@
|
||||
*/
|
||||
String contract_number = CurPage.getParameter("contract_number");
|
||||
String contractId = CurPage.getParameter("contractId");
|
||||
String customerName = CurPage.getParameter("customerName");
|
||||
String leas_form = CurPage.getParameter("leas_form");
|
||||
// if(sPrevUrl == null) sPrevUrl = "";
|
||||
String sTempletNo = "LBInsuranceInfoDetail";//--Ä£°åºÅ--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setDefaultValue("Contract_Id", contractId);
|
||||
doTemp.setDefaultValue("Contract_number", contract_number);
|
||||
doTemp.setDefaultValue("CUSTOMER_NAME", customerName);
|
||||
doTemp.setDefaultValue("LEAS_FORM", leas_form);
|
||||
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
|
||||
@ -25,8 +25,10 @@
|
||||
function showNext(){
|
||||
var param = getItemValue(0,getRow(0),'CONTRACT_NUMBER');
|
||||
var id = getItemValue(0,getRow(0),'id');
|
||||
var customerName = getItemValue(0,getRow(0),'CUSTOMER_NAME');
|
||||
var leas_form = getItemValue(0,getRow(0),'LEAS_FORM');
|
||||
var SUrl = "/Tenwa/Lease/App/BussinessOperation/InsuranceInfo/LBInsuranceInfoList.jsp";
|
||||
AsControl.OpenView(SUrl,'contract_number=' +param +'&contractId='+id,'_self','');
|
||||
AsControl.OpenView(SUrl,'contract_number=' +param +'&contractId='+id+'&customerName='+customerName+'&leas_form='+leas_form,'_self','');
|
||||
}
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
*/
|
||||
String contract_number = CurPage.getParameter("contract_number");
|
||||
String contractId = CurPage.getParameter("contractId");
|
||||
String customerName = CurPage.getParameter("customerName");
|
||||
String leas_form = CurPage.getParameter("leas_form");
|
||||
ASObjectModel doTemp = new ASObjectModel("LBInsuranceInfoTwoList");
|
||||
if (""!=contract_number || null==contract_number){
|
||||
doTemp.appendJboWhere("lci.CONTRACT_NUMBER='"+contract_number+"'");
|
||||
@ -31,7 +33,9 @@
|
||||
var sUrl = "/Tenwa/Lease/App/BussinessOperation/InsuranceInfo/InsuranceInfoDetail.jsp";
|
||||
var contractnumber = "<%=contract_number%>";
|
||||
var contractId = '<%=contractId%>';
|
||||
AsControl.OpenView(sUrl,'contract_number=' +contractnumber+"&contractId="+contractId,'_self','');
|
||||
var customerName = '<%=customerName%>';
|
||||
var leas_form = '<%=leas_form%>';
|
||||
AsControl.OpenView(sUrl,'contract_number=' +contractnumber+"&contractId="+contractId+"&customerName="+customerName+"&leas_form="+leas_form,'_self','');
|
||||
}
|
||||
function viewAndEdit(){
|
||||
var sUrl = "/Tenwa/Lease/App/BussinessOperation/InsuranceInfo/InsuranceInfoDetail.jsp";
|
||||
|
||||
@ -1388,6 +1388,13 @@
|
||||
<attribute name="THREEYEAR_SUBSIST" label="第三年有效期" type="STRING" length="100"/>
|
||||
<attribute name="FOURYEAR_SUBSIST" label="第四年有效期" type="STRING" length="100"/>
|
||||
<attribute name="FIVEYEAR_SUBSIST" label="第五年有效期" type="STRING" length="100"/>
|
||||
<attribute name="isOutDate" label="是否逾期" type="STRING" length="100"/>
|
||||
<attribute name="OutDateMoney" label="逾期金额" type="STRING" length="100"/>
|
||||
<attribute name="report_person" label="报案人" type="STRING" length="100"/>
|
||||
<attribute name="compensate_date" label="赔偿时间" type="STRING" length="100"/>
|
||||
<attribute name="danger_date" label="出险时间" type="STRING" length="100"/>
|
||||
<attribute name="compensate_money" label="理赔金额" type="STRING" length="100"/>
|
||||
<attribute name="disposal_way" label="处置方式" type="STRING" length="100"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -23,14 +23,17 @@ public class LCCarDisposeInitToTempBusiness extends BaseBussiness {
|
||||
List<BizObject> boList=JBOFactory.createBizObjectQuery(VI_RENT_PLAN.CLASS_NAME,sql).setParameter("contract_id", this.getAttribute("ContractId").toString()).getResultList(false);
|
||||
BizObject boVI=null;
|
||||
int sum=0;
|
||||
int interestOver=0;
|
||||
if(boList.size()>0){
|
||||
for (int i = 0; i < boList.size();i+=1) {
|
||||
boVI=boList.get(i);
|
||||
sum+=boVI.getAttribute("CORPUS_OVER").getDouble();
|
||||
interestOver+=boVI.getAttribute("interest_over").getDouble();
|
||||
}
|
||||
}
|
||||
BizObject bo = bm.newObject();
|
||||
bo.setAttributeValue("remain_principal", sum);
|
||||
bo.setAttributeValue("remain_interest", interestOver);
|
||||
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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user