⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manubody.jsp

📁 基于Struts框架的企业进销存管理系统
💻 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="manufactory.title"/>
</c:set>

<div id="manufactory">
<!-- 关于商品的操作 -->
<form action="/CompanyIOSManagement_V1.0/protect/manufactory/index.do" method="POST">
  <table class="search_table" width="100%" border="0" align="center" cellspacing="0">
   <tr>
    <th width="5%">
      <c:url var="addmanufactory" value="add.jsp" />
      <a href="${ addmanufactory }" target="_self">
        <img src="../../images/add_manufactory.jpg" alt="add" border="0"/>
      </a>
    </th>
    <th style="text-align:right">
        <input name="search"  type="text" id="search" />
		<select name="search_type">
		  <option value="p_no"><bean:message key="product.property.no"/></option>
		  <option value="p_name"><bean:message key="product.property.name"/></option>
		  <option value="p_type"><bean:message key="product.property.type"/></option>
		</select>
	    <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">
    <th width="3%"><span class="th_font"><bean:message key="manufactory.property.id"/></span></th>
    <th width="6%"><span class="th_font"><bean:message key="manufactory.property.name"/></span></th>
    <th width="6%"><span class="th_font"><bean:message key="manufactory.property.shortName"/></span></th>
    <th width="8%"><span class="th_font"><bean:message key="manufactory.property.type"/></span></th>
    <th width="6%"><span class="th_font"><bean:message key="manufactory.property.address"/></span></th>
    <th width="6%"><span class="th_font"><bean:message key="manufactory.property.postCode"/></span></th>
    <th width="6%"><span class="th_font"><bean:message key="manufactory.property.area"/></span></th>
    <th width="6%"><span class="th_font"><bean:message key="manufactory.property.areaCode"/></span></th>
    <th width="6%"><span class="th_font"><bean:message key="manufactory.property.phone"/></span></th>
    <th width="12%"><span class="th_font"><bean:message key="manufactory.property.bankName"/></span></th>
    <th width="12%"><span class="th_font"><bean:message key="manufactory.property.bankCode"/></span></th>
    <th width="12%"><span class="th_font"><bean:message key="manufactory.property.accountNum"/></span></th>
    <th colspan="2"><span class="th_font"><bean:message key="manufactory.operation"/></span></th>
  </tr>
  <!-- 遍历所有客户 -->
  <c:forEach var="ms" items="${ manufactorys_data }">
  <c:set var="id" value="${ ms.key }"/>
  <c:set var="name" value="${ ms.value.name }" />
  <c:set var="sname" value="${ ms.value.short_name }" />
  <c:set var="type" value="${  ms.value.type }" />
  <c:set var="address" value="${ ms.value.address }" />
  <c:set var="pcode" value="${ ms.value.post_code }" />
  <c:set var="area" value="${ ms.value.area }" />
  <c:set var="acode" value="${ ms.value.area_code }" />
  <c:set var="phone" value="${ ms.value.phone }" />
  <c:set var="bname" value="${ ms.value.bank_name }" />
  <c:set var="bcode" value="${ ms.value.bank_code }" />
  <c:set var="accountNum" value="${ ms.value.account_number }" />
  <tr>
    <td class="tr_bottom_border"><input type="checkbox" id="m_id" name="m_id" value="${ id }"/>
        <input type="hidden" id="idd" name="idd"/>
    </td>
    <td class="tr_bottom_border">${ name }</td>
    <td class="tr_bottom_border">${ sname }</td>
    <td class="tr_bottom_border">${ type }</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/manufactory/modify.do">
       <c:param name="m_id" value="${ id }"/>
     </c:url>
     <a href="${ modify }">
       <img src="../../images/updatebtn.jpg" alt="update" border="0"/>
     </a>
     <c:url var="delete" value="/protect/manufactory/delete.do">
       <c:param name="m_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">&nbsp;</td></tr>
</table>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -