EditProduct.jsp
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:4k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
  3. <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  4. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
  5. <html>
  6. <head>
  7. <title>EditProduct</title>
  8. <link href="Css/skinv2.0.css" rel="stylesheet" type="text/css" />
  9. </head>
  10. <body bgcolor="#ffffff">
  11. <html:form method="post" action="/Manage/Product.do?todo=EditProduct" enctype="multipart/form-data">
  12. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  13.   <tr bgcolor="#cfdbe8">
  14.     <td style="WIDTH: 20px" width="20" bgcolor="#cfdbe8" height="19">&nbsp;<img height="10" src="<%=request.getContextPath() %>/Manage/images/icon.gif" width="12" alt="" /></td>
  15.     <td valign="middle" bgcolor="#cfdbe8" colspan="2">&nbsp; 生产经营栏目</td>
  16.   </tr>
  17.   <tr>
  18.     <td style="HEIGHT: 31px" valign="top" align="left" height="80">&nbsp;</td>
  19.     <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
  20.       &nbsp;<img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" />&nbsp;编辑产品信息
  21.     </td>
  22.   </tr>
  23.   <tr>
  24.     <td style="HEIGHT: 1px" valign="top" align="left"></td>
  25.     <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
  26.     <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
  27.   </tr>
  28.   <tr>
  29.     <td style="HEIGHT: 381px" valign="top" align="left"></td>
  30.     <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
  31.       <br/>
  32.       <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
  33.         <tr bgcolor="#ffffff">
  34.           <td style="height: 25px; width: 117px;">
  35.           &nbsp; 产品名称:
  36.           </td>
  37.           <td style="height: 23px">
  38.             <input size="50" type="text" id="txtTitle" name="name" value='<c:out value="${pro.pro_Name}" />' />
  39.             <input type="hidden" id="hidID" name="id" value='<c:out value="${pro.pro_ID}" />' />
  40.           </td>
  41.         </tr>
  42.         <tr bgcolor="#ffffff">
  43.           <td style="height: 25px; width: 117px;">
  44.           &nbsp; 产品英文名:
  45.           </td>
  46.           <td style="height: 23px">
  47.             <input size="50" type="text" name="enName" value='<c:out value="${pro.pro_EnName}" />' />
  48.           </td>
  49.         </tr>
  50.         <tr bgcolor="#ffffff">
  51.           <td style="height: 25px; width: 117px;">
  52.           &nbsp; 产品图片:
  53.           </td>
  54.           <td style="height: 23px">
  55.             <a href=""><c:out value="${pro.image.filename}" /></a>
  56.             <html:file property="productImg" size="30"></html:file>
  57.             <input type="hidden" name="imageID" value='<c:out value="${pro.image.id}" />' />
  58.           </td>
  59.         </tr>
  60.         <tr bgcolor="#ffffff">
  61.           <td style="height: 25px; width: 117px;">
  62.           &nbsp; 分子式:
  63.           </td>
  64.           <td style="height: 23px">
  65.             <input type="text" name="molecular" value='<c:out value="${pro.pro_Molecular}" />' />
  66.           </td>
  67.         </tr>
  68.         <tr bgcolor="#ffffff">
  69.           <td style="height: 25px; width: 117px;">
  70.           &nbsp; 形态:
  71.           </td>
  72.           <td style="height: 23px">
  73.             <textarea cols="50" rows="4" name="modality"><c:out value="${pro.pro_Modality}" /></textarea>
  74.           </td>
  75.         </tr>
  76.         <tr bgcolor="#ffffff">
  77.           <td style="height: 25px; width: 117px;">
  78.           &nbsp; 用途:
  79.           </td>
  80.           <td style="height: 23px">
  81.             <textarea cols="50" rows="4" name="action"><c:out value="${pro.pro_Action}" /></textarea>
  82.           </td>
  83.         </tr>
  84.         <tr bgcolor="#ffffff" align="center">
  85.           <td colspan="2">
  86.             <input type="submit" id="btnSave" value="保  存" onclick="return SaveAction();" />&nbsp;&nbsp;&nbsp;&nbsp;
  87.             <input type="button" value="返  回" onclick="window.history.go(-1);" />
  88.           </td>
  89.         </tr>
  90.       </table>
  91.     </td>
  92.   </tr>
  93. </table>
  94. </html:form>
  95. </body>
  96. </html>