diff --git a/WebContent/Frame/page/jspf/ui/widget/tabstrip.jspf b/WebContent/Frame/page/jspf/ui/widget/tabstrip.jspf index ab834251d..3b7999cd6 100644 --- a/WebContent/Frame/page/jspf/ui/widget/tabstrip.jspf +++ b/WebContent/Frame/page/jspf/ui/widget/tabstrip.jspf @@ -16,6 +16,7 @@ <%int _first = 0;try{_first = Integer.valueOf(CurPage.getAttribute("First"));}catch(Exception e){}%> var tabCompent = new TabStrip("T01", "µĄ¸öTabStrip×é", "<%="strip".equals(CurPage.getAttribute("TabStripType"))?"strip":"tab"%>", "#window1"); (function(datas, first){ + //debugger; if(datas){ var nums = new Array(); for(var i = 0; i < datas.length; i++){ @@ -23,7 +24,7 @@ var tabCompent = new TabStrip("T01", " if(datas[i][0] != "true") continue; nums.push(i); - tabCompent.addDataItem(self.name+i, datas[i][1], datas[i][2], datas[i][3]=="false"?false:true, datas[i][4]=="true"?true:false, datas[i][5]); + tabCompent.addDataItem(self.name+i,'', datas[i][2], datas[i][3]=="false"?false:true, datas[i][4]=="true"?true:false, datas[i][5]); } if(nums.indexOf(first) < 0) first = nums[0]; tabCompent.setSelectedItem(self.name+first); @@ -34,6 +35,7 @@ var tabCompent = new TabStrip("T01", " $(window).resize(function(){ if(bts) $("#window1").height($("body").height() - $(bts).height()); if(tabCompent._view=="tab") $(".tabs_content").height($("#window1").height()-$(".tabs_button").height()-7); + $(".handle").hide(); }).resize(); })(<%=CurPage.getAttribute("TabStrip")%>, <%=_first%>); diff --git a/WebContent/Tenwa/Comm/DocList/CustomerDocList.jsp b/WebContent/Tenwa/Comm/DocList/CustomerDocList.jsp index 1f0eaa1b0..4e9af5c48 100644 --- a/WebContent/Tenwa/Comm/DocList/CustomerDocList.jsp +++ b/WebContent/Tenwa/Comm/DocList/CustomerDocList.jsp @@ -46,7 +46,7 @@ customername=cust.get(i).getAttribute("customername").getString(); } %> -
| diff --git a/src/com/amarsoft/dict/als/manage/ColRelativeInfo.java b/src/com/amarsoft/dict/als/manage/ColRelativeInfo.java index 08ecd5231..04d32d8ed 100644 --- a/src/com/amarsoft/dict/als/manage/ColRelativeInfo.java +++ b/src/com/amarsoft/dict/als/manage/ColRelativeInfo.java @@ -8,11 +8,11 @@ import jbo.app.tenwa.calc.LC_EBANK; import jbo.app.tenwa.calc.LC_FUND_INCOME; import jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP; import jbo.app.tenwa.calc.LC_FUND_PLAN; -import jbo.app.tenwa.calc.LC_RENT_INCOME; import jbo.app.tenwa.calc.LC_RENT_INCOME_TEMP; import jbo.app.tenwa.calc.LC_RENT_PLAN; import jbo.app.tenwa.calc.VI_LC_FUND_PLAN; import jbo.app.tenwa.calc.VI_LC_RENT_PLAN; +import jbo.app.tenwa.customer.CUSTOMER_INFO; import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO; import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE; @@ -207,4 +207,19 @@ public class ColRelativeInfo { } return money.setScale(2).toString(); } + + public static String getCustNameByCUSTID(String CUST_ID) throws Exception { + String custname=""; + if(!"".equals(CUST_ID)&&CUST_ID!=null){ + BizObject bo = JBOFactory.getBizObjectManager(CUSTOMER_INFO.CLASS_NAME) + .createQuery("customerid=:customerid").setParameter("customerid", CUST_ID).getSingleResult(false); + custname=bo!=null?bo.getAttribute("customername").getString():""; + } + return custname; + } + + public static String getAccNumberByContractID(String CONTRACT_ID)throws Exception { + return ""; + + } } |