📄 classentity.jsp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ page import="java.util.*"%>
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.Date"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="com.saas.biz.commen.ParamethodMgr"%>
<jsp:useBean id="bean" class="com.saas.biz.commen.commMethodMgr" scope="page" />
<jsp:useBean id="classBean" class="com.saas.biz.productclassMgr.Productclass" scope="page" />
<html>
<head>
<title>XSaas-电子商务</title>
<link href="/style/layout.css" rel="stylesheet" type="text/css">
<script language="javascript" src="/js/Calendar_Ly.js"></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/engine.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/util.js'></script>
<script type="text/javascript" src="/js/public_b2b.js"></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/Productclass.js'></script>
<script language="javascript" src="supply.js"></script>
</head>
<body>
<%
String start_date = new SimpleDateFormat("yyyy-MM-dd").format(new Date());
Calendar cal = Calendar.getInstance();
cal.add(Calendar.MONTH, 3);
String end_date = new SimpleDateFormat("yyyy-MM-dd").format(cal.getTime());
String sale_id = bean.GenTradeId();
ParamethodMgr paramCom = new ParamethodMgr();
String price_type = paramCom.getSelectItems("3");
String select=classBean.getSelectedByComm("5","1");
%>
<form name="classForm" method="post" action="/doTradeReg.do" target="_self">
<table width="100%" border="0" cellpadding="5" cellspacing="1" align="center" bgcolor="#dddddd" style="margin-top:10px;">
<tr>
<td align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
销售主题:
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<input name="title" type="text" maxlength="100">
<input type="hidden" name="web_id" value="000000000000000">
</div>
</td>
</tr>
<tr>
<td height="30" align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:13px;" valign="top">
请选择分类
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<table border="0" cellpadding="0" cellspacing="0" style="margin-left:15px">
<tr>
<td style="background-color:#ffffff; color:#000000; font-size:12px;">
<select name="sort1" size="10" style="width: 130px" onChange="setSecondClass(this.value);" onclick="setTypeName(this)">
<%=select%>
</select>
</td>
<td style="background-color:#ffffff; color:#000000; font-size:12px;">
<select name="sort2" size="10" style="width: 130px; display: none" onChange="setTherdClass(this.value);" onclick="setTypeName(this)">
<option value="0">
请选择...
</option>
</select>
</td>
<td style="background-color:#ffffff; color:#000000; font-size:12px;">
<select name="sort3" size="10" style="width: 130px; display: none" onclick="setTypeName(this)" onchange="cretateSelect('4',this.value)">
<option value="0">
请选择...
</option>
</select>
</td>
<td>
<div id="nextElement" style="display: none">
<div id="4" style="width;100px; float:left;display:inline;white-space:nowrap"></div>
<input type="hidden" name="index_s" id="index_s" value="4">
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td align=right style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
商品描述:
</td>
<td align=left style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<textarea name="content" style=display:none></textarea>
<iframe ID=content src=/www/ewebeditor/ewebeditor.htm?id=content&style=coolblue frameborder=0 scrolling=no width=600 HEIGHT=350></iframe>
</div>
</td>
</tr>
<tr>
<td align=right style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
上传图片:
</td>
<td align=left style="background-color:#ffffff; color:#000000; font-size:12px;">
<div style="padding-left: 0px;padding-bottom: 0px;padding-right: 0px;padding-top: 0px;">
<iframe src="/inc/uploadImg.jsp?root_id=<%=sale_id%>" width="100%" height="180px" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div>
</td>
</tr>
<tr>
<td align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
开始时间:
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<input name="start_date" type="text" id="start_date" value="<%=start_date%>" onfocus="setday(this);" size="10" />
(yyyy-mm-dd)
</div>
</td>
</tr>
<tr>
<td align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
结束时间:
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<input name="end_date" type="text" id="end_date" value="<%=end_date%>" onfocus="setday(this);" size="10" />
(yyyy-mm-dd)
</div>
</td>
</tr>
<tr>
<td align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
价格:
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<input name="sale_price" type="text" size="6" maxlength="10" onkeyup="if(isNaN(value))execCommand('undo')">
(只能输入数字)
</div>
</td>
<tr>
<td align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
原价:
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<input name="commodity_price" type="text" size="6" maxlength="10" onkeyup="if(isNaN(value))execCommand('undo')">
(只能输入数字)
</div>
</td>
</tr>
<tr>
<td align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
价格类型:
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping1">
<select name="price_type">
<%=price_type%>
</select>
</div>
</td>
</tr>
<tr>
<td align="right" style="background-color:#f6f6f6; color:#000000; font-weight:bold; font-size:12px;">
销售地址:
</td>
<td align="left" style="background-color:#ffffff; color:#000000; font-size:12px;">
<div class="ping">
<input name="sale_addr" type="text" size="25">
(如:安徽-合肥)
<input name="sale_id" type="hidden" value="<%=sale_id%>">
<input name="class_id" id="class_id" type="hidden" value="">
<input name="trade_type_code" type="hidden" value="0213">
<input name="rsrv_str1" id="rsrv_str1" type="hidden" value="0">
</div>
</td>
</tr>
<tr>
<td height="30" colspan="2" align="center" style="background-color:#f6f6f6; color:#000000; font-size:12px;">
<input class="tjan" type="submit" value="" onClick=" return checkInfo()">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -