Merge branch 'develop' of http://git2.tenwa.com.cn/ApzlDev/apzl_leasing.git into xiezhiwen
This commit is contained in:
commit
9d119fd2f6
@ -7,6 +7,10 @@
|
||||
<%@ page import="java.util.Vector" %>
|
||||
<%@ page import="com.amarsoft.awe.dw.ui.validator.ValidateRule" %>
|
||||
<%@ page import="com.tenwa.reckon.product.ASObjectWindowCalc" %>
|
||||
<%@page import="com.amarsoft.are.jbo.BizObject"%>
|
||||
<%@page import="com.amarsoft.are.jbo.JBOException"%>
|
||||
<%@page import="com.amarsoft.are.jbo.JBOFactory"%>
|
||||
<%@page import="jbo.prd.BUSINESS_TYPE"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%>
|
||||
<%
|
||||
@ -33,8 +37,11 @@
|
||||
//·ÑÓùæÔò
|
||||
ProductCondition pc=new ProductCondition();
|
||||
String calcRules=pc.getProductRules(doTemp, productId,vali);
|
||||
|
||||
|
||||
//»ñÈ¡²úÆ·Ãû³Æ
|
||||
BizObject bo = JBOFactory.createBizObjectQuery(BUSINESS_TYPE.CLASS_NAME,"typeno=:productID")
|
||||
.setParameter("productID", productId).getSingleResult(false);
|
||||
String productName = (bo==null)?"":bo.getAttribute("typename").getString();
|
||||
doTemp.setDefaultValue("PRODUCT_NAME", productName);
|
||||
CurPage.getCurComp().setAttribute("RightType", null);
|
||||
ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request);
|
||||
Parameter p=new Parameter("plannumber",plannumber);
|
||||
@ -72,11 +79,19 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
var calcRules=eval("(<%=calcRules%>)");
|
||||
|
||||
|
||||
$(function(){
|
||||
document.getElementById('div_my0').innerHTML = '<div style="width:1160px;overflow: scroll;">'+document.getElementById('div_my0').innerHTML+'</div>';
|
||||
// document.getElementById('div_my0').innerHTML = '<div style="width:1160px;overflow: scroll;">'+document.getElementById('div_my0').innerHTML+'</div>';
|
||||
var productName="<%=productName%>";
|
||||
setItemValue(0, 0, "PRODUCT_NAME", productName);
|
||||
financingCar();
|
||||
changeSettleMethod3();
|
||||
});
|
||||
|
||||
function financingCar(){
|
||||
var financingCar = getItemValue(0, 0, "EQUIP_AMT")-getItemValue(0, 0, "FIRST_PAYMENT");
|
||||
setItemValue(0, 0, "financing_car", financingCar);
|
||||
}
|
||||
function saveRecord(sPostEvents){
|
||||
as_save("myiframe0","run()");
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
}
|
||||
dwTemp.Style = "2";//freeform
|
||||
if((null!=RightType&&RightType.equals("ReadOnly"))){
|
||||
dwTemp.ReadOnly = "0";//ÖťśÁÄŁĘ˝
|
||||
dwTemp.ReadOnly = "1";//Ö»¶Áģʽ
|
||||
}else{
|
||||
}
|
||||
isShowButton=false;
|
||||
@ -73,12 +73,18 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
var calcRules=eval("(<%=calcRules%>)");
|
||||
var productName="<%=productName%>";
|
||||
setItemValue(0, 0, "PRODUCT_NAME", productName);
|
||||
|
||||
$(function(){
|
||||
// document.getElementById('div_my0').innerHTML = '<div style="width:1160px;overflow: scroll;">'+document.getElementById('div_my0').innerHTML+'</div>';
|
||||
var productName="<%=productName%>";
|
||||
setItemValue(0, 0, "PRODUCT_NAME", productName);
|
||||
financingCar();
|
||||
changeSettleMethod();
|
||||
});
|
||||
function financingCar(){
|
||||
var financingCar = getItemValue(0, 0, "EQUIP_AMT")-getItemValue(0, 0, "FIRST_PAYMENT");
|
||||
setItemValue(0, 0, "financing_car", financingCar);
|
||||
}
|
||||
//租金推算方法
|
||||
function rentOrRateChange(){
|
||||
var rentOrRate ="<%=dwTemp.getData().get("RENT_OR_RATE")%>";//租金推算方式
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user