隐藏资料清单页签台头

This commit is contained in:
amarsoft 2018-06-14 21:24:56 +08:00
parent b5bf60f692
commit 73eaee3ff9
3 changed files with 21 additions and 4 deletions

View File

@ -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%>);

View File

@ -46,7 +46,7 @@
customername=cust.get(i).getAttribute("customername").getString();
}
%>
<table class="info_data_tablecommon info_group_table" width="100%">
<%-- <table class="info_data_tablecommon info_group_table" width="100%">
<tbody><tr> <td class="info_group_backgourd_l" width="10">&nbsp;</td>
<td class="info_group_backgourd_2 info_group_backgourd_3" width="10"><span type="EXPAND" onclick="try{changeExpand(this)}catch(e){};"
groupid="0010<%=index%>" id="EXP_0010<%=index%>"></span><span id="imgexpand0010<%=index%>" class="info_group_expand" expand="1" onclick="showHideFields(this,'@SysSub0010<%=index%>')">&nbsp;
@ -55,7 +55,7 @@ groupid="0010<%=index%>" id="EXP_0010<%=index%>"></span><span id="imgexpand0010<
</td>
<td class="info_group_backgourd_r"></td>
</tr>
</tbody>
</tbody> --%>
</table>
<table id="showDataIframe" width="100%" border="0" cellspacing="0" cellpadding="0" id="@SysSub0010<%=index%>">
<tr><td>

View File

@ -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 "";
}
}