📄 customerbody.jsp
字号:
<%@page contentType="text/html;charset=gbk"%>
<%@page isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<!-- 定义标题 -->
<c:set var="pageTitle" scope="application">
<bean:message key="customer.title"/>
</c:set>
<!-- 关于商品的操作 -->
<div id="customer">
<form action="/CompanyIOSManagement_V1.0/protect/customer/search.do" method="POST">
<table cellspacing="0">
<tr>
<th width="5%">
<c:url var="addcustomer" value="add.jsp" />
<a href="${ addcustomer }" target="_self">
<img src="../../images/add_customer.jpg" alt="add" border="0"/>
</a>
</th>
<th width="40%"> </th>
<th style="text-align:right">
<input name="name" type="text" id="name" />
<input name="btn" type="submit" class="search_btn" value=" " />
</th>
</tr>
</table>
</form>
<table style="width:100%;font-size:14px;border: solid 1px #336699" cellspacing="0">
<tr bgcolor="#339999" style="border: solid 1px #336699">
<th width="3%"><span class="th_font"><bean:message key="customer.property.id"/></span></th>
<th width="6%"><span class="th_font"><bean:message key="customer.property.name"/></span></th>
<th width="6%"><span class="th_font"><bean:message key="customer.property.shortName"/></span></th>
<th width="8%"><span class="th_font"><bean:message key="customer.property.chief"/></span></th>
<th width="6%"><span class="th_font"><bean:message key="customer.property.address"/></span></th>
<th width="6%"><span class="th_font"><bean:message key="customer.property.postCode"/></span></th>
<th width="6%"><span class="th_font"><bean:message key="customer.property.area"/></span></th>
<th width="6%"><span class="th_font"><bean:message key="customer.property.areaCode"/></span></th>
<th width="6%"><span class="th_font"><bean:message key="customer.property.phone"/></span></th>
<th width="12%"><span class="th_font"><bean:message key="customer.property.bankName"/></span></th>
<th width="12%"><span class="th_font"><bean:message key="customer.property.bankCode"/></span></th>
<th width="12%"><span class="th_font"><bean:message key="customer.property.accountNum"/></span></th>
<th colspan="2"><span class="th_font"><bean:message key="customer.operation"/></span></th>
</tr>
<!-- 遍历所有客户 -->
<c:forEach var="cs" items="${ customers_data}">
<c:set var="id" value="${ cs.key }"/>
<c:set var="name" value="${ cs.value.name }" />
<c:set var="sname" value="${ cs.value.short_name }" />
<c:set var="chief" value="${ cs.value.chief }" />
<c:set var="address" value="${ cs.value.address }" />
<c:set var="pcode" value="${ cs.value.post_code }" />
<c:set var="area" value="${ cs.value.area }" />
<c:set var="acode" value="${ cs.value.area_code }" />
<c:set var="phone" value="${ cs.value.phone }" />
<c:set var="bname" value="${ cs.value.bank_name }" />
<c:set var="bcode" value="${ cs.value.bank_code }" />
<c:set var="accountNum" value="${ cs.value.account_number }" />
<tr>
<td class="tr_bottom_border"><input type="checkbox" id="c_id" name="c_id" value="${ id }"/></td>
<td class="tr_bottom_border">${ name }</td>
<td class="tr_bottom_border">${ sname }</td>
<td class="tr_bottom_border">${ chief }</td>
<td class="tr_bottom_border">${ address }</td>
<td class="tr_bottom_border">${ pcode }</td>
<td class="tr_bottom_border">${ area }</td>
<td class="tr_bottom_border">${ acode }</td>
<td class="tr_bottom_border">${ phone }</td>
<td class="tr_bottom_border">${ bname }</td>
<td class="tr_bottom_border">${ bcode }</td>
<td class="tr_bottom_border">${ accountNum }</td>
<td class="tr_bottom_border">
<c:url var="modify" value="/protect/customer/modify.do">
<c:param name="c_id" value="${ id }"/>
</c:url>
<a href="${ modify }">
<img src="../../images/updatebtn.jpg" alt="update" border="0"/>
</a>
<c:url var="delete" value="/protect/customer/delete.do">
<c:param name="c_id" value="${ id }"/>
</c:url>
<a href="${ delete }" onclick="checkDelete(this)">
<img src="../../images/deletebtn.jpg" alt="delete" border="0"/>
</a>
</td>
</tr>
</c:forEach>
<tr><td colspan="13"> </td></tr>
</table>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -