- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
editProInfo.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:7k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.sql.*"%>
- <jsp:useBean id="useclassBeans" class="MyFly.Bean.useclassBeans" scope="request"/>
- <jsp:useBean id="useclassBean" class="MyFly.Bean.useclassBean" scope="request"/>
- <jsp:useBean id="characterclassBean" class="MyFly.Bean.characterclassBean" scope="request"/>
- <jsp:useBean id="characterclassBeans" class="MyFly.Bean.characterclassBeans" scope="request"/>
- <jsp:useBean id="productinfoBean" class="MyFly.Bean.productinfoBean" scope="request"/>
- <% request.setCharacterEncoding("gb2312");%>
- <%
- String index=request.getParameter("index").replace(',', '#');
- String proType=request.getParameter("proType");
- String proNum=(String)request.getParameter("proNum");
- productinfoBean.getNew(index);
- %>
- <script language="javascript" src="../js/column.js"></script>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px
- }
- TD {
- FONT: 12px 宋体
- }
- IMG {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
- }
- A {
- COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
- }
- A:hover {
- COLOR: #428eff; TEXT-DECORATION: underline
- }
- .sec_menu {
- BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
- }
- .menu_title {
- }
- .menu_title SPAN {
- COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .menu_title2 {
- }
- .menu_title2 SPAN {
- COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .style1 {color: #FF0000}
- </STYLE>
- <script language="javascript" src="../js/column.js"></script>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>添加产品信息</title>
- </head>
- <body>
- <p>
- </p>
- <p> </p>
- <table width="685" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <form name="theform" method="post" action="productedUpdate.jsp" enctype="multipart/form-data" onSubmit="return formCheck1(this)">
- <tr align="center">
- <td height="23" colspan="2">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="79%" height="33" align="center"><span class="style1">产品信息编辑</span></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="left">
- <td height="30">
- 产品编号: </td>
- <td height="30"> <input name="productID" type="text" readonly="true" size="40" value="<%=index%>"></td>
- </tr>
- <tr align="left">
- <td height="30"> 产品名称: </td>
- <td height="30">
- <input name="productName" type="text" size="40" height="16" value="<%=productinfoBean.getProductName()%>"></td>
- </tr>
- <tr align="left">
- <td height="30" > 性质类别: </td>
- <td height="30">
- <select name="characterID">
- <option value="-1">------</option>
- <%
- characterclassBeans.getQuery("-1");
- for(int i=0; i<characterclassBeans.getItems(); i++)
- {
- if(characterclassBeans.getCharacterID(i) == productinfoBean.getCharacterID())
- {
- %>
- <option value=<%=characterclassBeans.getCharacterID(i)%> selected="true"><%=characterclassBeans.getCharacterName(i)%></option>
- <%
- }
- else
- {
- %>
- <option value=<%=characterclassBeans.getCharacterID(i)%>><%=characterclassBeans.getCharacterName(i)%></option>
- <%
- }
- }
- %>
- </select></td>
- </tr>
- <tr align="left">
- <td height="30"> 用途类别:</td>
- <td height="30">
- <select name="useclassID">
- <option value="-1">------</option>
- <%
- useclassBeans.getQuery("-1");
- for(int i=0; i<useclassBeans.getItems(); i++)
- {
- if(useclassBeans.getUseclassID(i) == productinfoBean.getUseclassID())
- {
- %>
- <option value=<%=useclassBeans.getUseclassID(i)%> selected="true"><%=useclassBeans.getUseclassName(i)%></option>
- <%
- }
- else
- {
- %>
- <option value=<%=useclassBeans.getUseclassID(i)%>><%=useclassBeans.getUseclassName(i)%></option>
- <%
- }
- }
- %>
- </select></td>
- </tr>
- <tr align="left" valign="middle">
- <td height="30"> 市场价:
-
- </td>
- <td height="30">
- <input type="text" name="marketPrice" height="16" value="<%=productinfoBean.getMarketPrice()%>"></td>
- </tr>
- <tr align="left">
- <td height="30"> 优惠价:
- </td>
- <td height="30">
- <input type="text" name="preferPrice" height="16" value="<%=productinfoBean.getPreferPrice()%>"></td>
- </tr>
- <tr align="center">
- <td width="21%" height="202" valign="middle"> 产品说明:</td>
- <td width="79%" align="left">
- <input type="hidden" name="content" value="<%=productinfoBean.getIntroduce()%>">
- <iframe ID="eWebEditor1" src="../../../eWebEditor.jsp?id=content&style=standard" frameborder="0" scrolling="no" width="650" HEIGHT="350"></iframe>
- </td>
- </tr>
- <tr align="left">
- <td height="30" align="center"> 产品库存:</td>
- <td height="30">
- <input type="text" size="20" name="storage" height="16" value="<%=productinfoBean.getStorage()%>"></td>
- </tr>
- <tr align="center">
- <td height="26"> 产品大图片:</td>
- <td height="26" align="left">
- <input type="file" name="maxPicture" height="16">
- <font color="#FF0000">(如不更改图片请不要选择)</font></td>
- </tr>
- <tr align="center">
- <td height="44"> 产品小图片:<br></td>
- <td height="30" align="left">
- <input type="file" name="minPicture" height="16">
- <font color="#FF0000">(如不更改图片请不要选择)</font></td>
- </tr>
- <tr align="center">
- <td height="44"> 是否设为精品推荐:<br></td>
- <td height="30" align="left">
- <%
- if(productinfoBean.getTuijian() == 1)
- {
- %>
- <input type="checkbox" name="tuijian" checked="true">
- <%
- }
- else
- {
- %>
- <input type="checkbox" name="tuijian">
- <%
- }
- %>
- </td>
- </tr>
- <tr align="center">
- <td height="41" colspan="2"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="25%" align="center"> </td>
- <td width="75%" align="left"> <input type="submit" value="提交">
- <input type="reset" value="重置">
- </td>
- </tr>
- </table></td>
- </tr>
- </form>
- </table>
- <p> </p>
- </body>
- </html>