diff --git a/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp index 8d67b541f..6fe27e4c0 100644 --- a/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp @@ -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"%>