From bd85867af84536b211bd23b4000965079c0d5a72 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Tue, 15 Jan 2019 19:03:54 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8E=9F=E7=8E=B0=E5=95=86=E5=8A=A1=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LoanSimulation_new/LoanBasicInfo.jsp | 23 +++++++++++++++---- .../LoanSimulation_old/LoanBasicInfo.jsp | 12 +++++++--- 2 files changed, 28 insertions(+), 7 deletions(-) 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"%>