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

📄 productedit.jsp

📁 自己制作的联通CRM,支持客户分类,管理,升级,积分管理等等..
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />
	<title>产品</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="${pageContext.request.contextPath }/image/main.css"
		rel="stylesheet" type="text/css">
	<link href="${pageContext.request.contextPath }/image/shh.css"
		rel="stylesheet" type="text/css">
	<style type="text/css">
		input {
			font-size:12px;
		}
    </style>
</head>

<body style="z-index: 1;text-align: center;">
	<br/>
	<html:form action="/product.do" styleId="editForm" target="result">
	<input type="hidden" name="task" value="saveProduct" id="task"/>
	<html:hidden property="productid"/>
	<table width="560px" height="250" border="1"  align="center" cellpadding="0" cellspacing="0" bordercolor="#D71920" style="margin: 10px">
		<tr><td>
			<table border="0" cellpadding="0" cellspacing="0" width="550" align="center">
				<tr><td colspan="5" height="20px">&nbsp;</td></tr>
				<tr>
					<td width="80" height="27" align="right">物品名称:</td>
					<td width="10" align="left">&nbsp;</td>
				    <td width="160" align="left"><html:text property="productname" styleId="productname"></html:text></td>
				    <td width="290" rowspan="5" align="left" valign="middle">
				    <html:textarea property="productintroduce" styleId="productintroduce" style="width:280px; height:125px;"></html:textarea>
				    </td>
				</tr>
				<tr>
					<td height="27" align="right">所需积分:</td>
					<td align="left">&nbsp;</td>
				    <td align="left"><html:text property="point" styleId="point"></html:text></td>
			    </tr>
				<tr>
					<td height="27" align="right">物品类型:</td>
					<td align="left">&nbsp;</td>
			     	<td align="left">
				      	<html:select property="typeid" styleId="typeid">
				      		<html:option value="">--选择物品类型--</html:option>
				      		<c:forEach var="type" items="${typeList}">
								<option value="${type.typeid }"/>${type.sortname }
							</c:forEach>
				      	</html:select>
					</td>
				</tr>
				<tr>
				  <td height="27" align="right">商家:</td>
				  <td align="left">&nbsp;</td>
			      <td align="left"><html:text property="productor" styleId="productor"></html:text></td>
		      </tr>
				<tr>
					<td height="27" align="right">物品库存:</td>
					<td align="left">&nbsp;</td> 
				    <td align="left"><html:text property="productstorage" styleId="productstorage"></html:text></td>
			    </tr>
			    <tr><td colspan="5" height="27px" align="center">
			    	<script type="text/javascript">
			    		function submitForm(){
			    			var editForm = document.getElementById("editForm");
			    			editForm.submit();
			    			window.setTimeout(window.close(),"500");
			    		}
			    	</script>
				    <input type="button" value=" 保 存 " onClick="submitForm();"/>&nbsp;&nbsp;
				    <input type="button" onClick="window.close();" value=" 关 闭 "/>
			    </td></tr>
			    <tr><td colspan="5" height="20px">&nbsp;</td></tr>
			</table>
		</td></tr>
	</table>
	</html:form>
	<iframe style="display:none;" name="result"></iframe>
</html:html>

⌨️ 快捷键说明

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