searchcostcenter.jsp
来自「一个关于tlms的一个小程序 看看能否帮助到别人」· JSP 代码 · 共 176 行
JSP
176 行
<%--
=============================================
Copyright 2006 szmx
Change Revision
--------------------------------
Date Author Remarks
2006-4-18 Allen.Zeng Create
=============================================
--%>
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp"%>
<script type="text/javascript">
function doRemove(){
deleteRecord("idArr", "<html:rewrite page='/costcenter/remove.do'/>");
}
</script>
<c:set value="${pageContext.request.contextPath}" var="contextPath"/>
<html:form action="/costcenter/search">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="28" colspan="2">
<html:img src="${contextPath}/images/dot.gif" width="11" height="11"/>
<bean:message key="navigation.financeManagement"/> >
<html:link page="/account/menu_paraConfig.do" styleClass="subMenuTxt">
<bean:message key="navigation.costCenter.paramConfig"/>
</html:link> >
<bean:message key="navigation.costCenter.costCenterConfig"/>
</td>
</tr>
<tr>
<td width="2%" height="31" class="section">
<html:img src="${contextPath}/images/menu_dot.jpg" width="6" height="19"/>
</td>
<td class="section">
<bean:message key="label.costCenter.condition.title"/>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td> </td>
<td>
<table height="43" border="0" cellpadding="0" cellspacing="0" style="font-size:12px; width:96%">
<tr>
<td width="11%" nowrap>
<bean:message key="label.costCenter.condition.costCenterCode"/>
</td>
<td width="27%">
<html:text property="costCenterBean.costCenterCode"/>
</td>
<td width="11%">
<bean:message key="label.costCenter.condition.localAccoutCode"/>
</td>
<td width="53%">
<html:select property="costCenterBean.accountCode">
<html:option value=""/>
<code:dispCodes codeType="ACCOUNT_CODE"
selectValue="${costCenterForm.map['costCenterBean'].accountCode}"/>
</html:select>
</td>
</tr>
<tr>
<td width="11%">
<bean:message key="label.costCenter.condition.expenseCategory"/>
</td>
<td width="27%">
<html:text property="costCenterBean.expenseCategory"/>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="4" nowrap>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover">
<html:link href="#" onclick="document.forms[0].submit();">
<bean:message key="button.search"/>
</html:link>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td height="31" class="section">
<html:img src="${contextPath}/images/menu_dot.jpg" width="6" height="19"/>
</td>
<td height="31" class="section">
<bean:message key="label.costCenter.result.title"/>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td> </td>
<td>
<c:set var="sn_display_tag">
<input type="checkbox" name="idArrHeader" onclick="selectGlobal(this.checked,'row')"/>
</c:set>
<display:table name="${pagination}" cellspacing="0" cellpadding="0" id="row" sort="external"
export="flase" requestURI="" class="subMainTable" style="width:98%">
<display:column title="${sn_display_tag}" class="subMainTd" headerClass="subMainTh">
<html:multibox property="idArr" onclick="selectRow(this.checked,'row')">
<c:out value="${row.id}"/>
</html:multibox>
</display:column>
<display:column titleKey="label.costCenter.condition.costCenterCode"
class="subMainTd" headerClass="subMainTh">
<html:link page="/costcenter/prepareEdit.do?editId=${row.id}&edit=true">
<c:out value="${row.costCenterCode}"/>
</html:link>
</display:column>
<display:column titleKey="label.costCenter.condition.localAccoutCode"
class="subMainTd" headerClass="subMainTh">
<c:out value="${row.accountCode}"/>
</display:column>
<display:column titleKey="label.costCenter.condition.expenseCategory"
class="subMainTd" headerClass="subMainTh">
<c:out value="${row.expenseCategory}"/>
</display:column>
<display:column titleKey="label.costCenter.condition.expenseCategory"
class="subMainTd" headerClass="subMainTh">
<c:out value="${row.costCenterDesc}"/>
</display:column>
</display:table>
</td>
</tr>
<tr>
<td height="39"> </td>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover">
<html:link page="/costcenter/prepareAdd.do">
<bean:message key="button.add"/>
</html:link>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover">
<html:link href="#" onclick="doRemove();">
<bean:message key="button.delete"/>
</html:link>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table>
</td>
</tr>
</table>
</html:form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?