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

📄 updatebody.jsp

📁 基于Struts框架的企业进销存管理系统
💻 JSP
字号:
<%@page contentType="text/html; charset=GBK" pageEncoding="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.update"/>
</c:set>

<div id="manufactory">
<html:form action="/protect/manufactory/addupdate.do?method=modify" method="POST">
<table style="width:40%;border-bottom:dashed 1px #336699;font-size:14px" align="center" cellspacing="0">
  <tr>
    <th class="tr_bg_left">&nbsp;</th>
    <th class="tr_bg_middle" colspan="2">
      <bean:message key="manufactory.title.update"/>
    </th>
    <th class="tr_bg_right">&nbsp;</th>
  </tr>
  <c:set var="m" value="${ manufactory_update }"/>
    <c:set var="id" value="${ m.id }"/>
    <c:set var="name" value="${ m.name }"/>
    <c:set var="sname" value="${ m.short_name }"/>
    <c:set var="type" value="${ m.type }"/>
    <c:set var="address" value="${ m.address }"/>
    <c:set var="pcode" value="${ m.post_code }"/>
    <c:set var="area" value="${ m.area }"/>
    <c:set var="acode" value="${ m.area_code }"/>
    <c:set var="phone" value="${ m.phone }"/>
    <c:set var="bname" value="${ m.bank_name }"/>
    <c:set var="bcode" value="${ m.bank_code }"/>
    <c:set var="accountNum" value="${ m.account_number }"/>
  <tr>
    <td>&nbsp;</td>
    <td>
      <bean:message key="manufactory.property.name"/>
      <input type="hidden" name="m_id" value="${ id }"/>
    </td>
    <td><input name="name" type="text" value="${ name }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.shortName"/></td>
    <td><input name="short_name" type="text" value="${ sname }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.type"/></td>
    <td><select name="type">
      <option>${ type }</option>
          
      <c:forEach var="type" items="${ product_types }">
        <c:set var="t_id" value="${ type.key }"/>
        <c:set var="t_name" value="${ type.value.name }"/>
        <option value="${ t_name }">${ t_name }</option>
      </c:forEach>
          
    </select>
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.address"/></td>
    <td><input name="address" type="text" value="${ address }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.postCode"/></td>
    <td><input name="post_code" type="text" value="${ pcode }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.area"/></td>
    <td><input name="area" type="text" value="${ area }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.areaCode"/></td>
    <td><input name="area_code" type="text" value="${ acode }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.phone"/></td>
    <td><input name="phone" type="text" value="${ phone }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.bankName"/></td>
    <td><input name="bank_name" type="text" value="${ bname }"></td>
    <td>&nbsp;</td>
  </tr>
    <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.bankCode"/></td>
    <td><input name="bank_code" type="text" value="${ bcode }"></td>
    <td>&nbsp;</td>
  </tr>
    <tr>
    <td>&nbsp;</td>
    <td><bean:message key="manufactory.property.accountNum"/></td>
    <td><input name="account_num" type="text" value="${ accountNum }"></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="submit" class="updatebtn" value=""></td>
    <td>&nbsp;</td>
  </tr>
</table>
</html:form>
</div>
<div style="align:center;color:red"><html:errors/></div>

⌨️ 快捷键说明

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