📄 addproduct.jsp~2~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{font-size:9pt;line-height:120%}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body>
<br><table width="95%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td height="25" bgcolor="#F1F1F1">
<div align="center"><font color="#000000">添加新商品</font></div>
</td>
</tr>
<tr>
<form name="myform" method="post" action="saveaddbook.asp?action=add" onSubmit="return checkkk()" >
<td height="126" bgcolor="#FFFFFF">
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="8%"> </td>
<td width="13%">选择分类: </td>
<td colspan="2">
大类
<select name="anclassid" size="1" id="anclassid" onChange="changelocation(document.myform.anclassid.options[document.myform.anclassid.selectedIndex].value)" class="wenbenkuang">
<option selected value="<%=rs("anclassid")%>"><%=trim(rs("anclass"))%></option>
<font color="#FF0000"> </font></td>
</tr>
<tr>
<td rowspan="3" width="8%"> </td>
<td width="13%">
</td>
<td colspan="2">市场价
<input name="shichangjia" class="wenbenkuang" type="text" id="shichangjia" size="6" onKeyPress = "return regInput(this, /^\d*\.?\d{0,2}$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^\d*\.?\d{0,2}$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^\d*\.?\d{0,2}$/, event.dataTransfer.getData('Text'))">
元,会员价
<input name="huiyuanjia" class="wenbenkuang" type="text" id="huiyuanjia" size="6" onKeyPress = "return regInput(this, /^\d*\.?\d{0,2}$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^\d*\.?\d{0,2}$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^\d*\.?\d{0,2}$/, event.dataTransfer.getData('Text'))">
元,VIP价
<input name="vipjia" class="wenbenkuang" type="text" id="vipjia" size="6" onKeyPress = "return regInput(this, /^\d*\.?\d{0,2}$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^\d*\.?\d{0,2}$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^\d*\.?\d{0,2}$/, event.dataTransfer.getData('Text'))">
元</td>
</tr>
<tr>
<td width="8%"> </td>
<td width="13%">
</td>
<td colspan="2">库存:
<input name="kucun" class="wenbenkuang" type="text" id="kucun" value="0" size="8" onKeyPress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))" >
已销售:
<input name="chengjiaocount" class="wenbenkuang" type="text" id="chengjiaocount" value="0" size="8" onKeyPress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))" readonly>
积分:
<input name="yeshu" type="text" class="wenbenkuang" id="yeshu" value="0" size="6" onKeyPress = "return regInput(this, /^[0-9]*$/, String.fromCharCode(event.keyCode))"
onpaste = "return regInput(this, /^[0-9]*$/, window.clipboardData.getData('Text'))"
ondrop = "return regInput(this, /^[0-9]*$/, event.dataTransfer.getData('Text'))" >
</td>
</tr>
<tr>
<td height="18" width="8%"> </td>
<td height="18" width="13%">
</td>
<td height="18" colspan="2">
<input name="bookpic" type="text" id="bookpic" size="30" class="wenbenkuang">
<input type="button" name="Submit2" class="go-wenbenkuang" value="上传小图片" onClick="window.open('../upload_flash.asp?formname=myform&editname=bookpic&uppath=bookpic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">
</td>
</tr>
<tr>
<td height="18" width="8%"> </td>
<td height="18" width="13%"> </td>
<td height="18" colspan="2">
<input name="zhuang" type="text" id="zhuang" size="30" class="wenbenkuang">
<input type="button" name="Submit2" class="go-wenbenkuang" value="上传大图片" onClick="window.open('../upload_flash.asp?formname=myform&editname=zhuang&uppath=bookpic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">
</td>
</tr>
<tr>
<td valign="top" width="8%"> </td>
<td valign="top" width="13%">
<input type="text" name="nr" size="12" value="<%=rs_s("ziduanname")%>" class="wenbenkuang">
</td>
<td colspan="2">
<textarea name="bookcontent" cols="46" rows="8" id="bookcontent" class="wenbenkuang"></textarea>
</td>
</tr>
<input type="text" name="ml" size="12" value="<%=rs_s("ziduanname")%>">
</td>
<td colspan="2">
<textarea name="bookmulu" cols="46" rows="8" id="bookmulu"></textarea>
</td>
</tr>-->
<tr>
<td height="32" width="8%">
<div align="center"> </div>
</td>
<td height="32" colspan="2">
<div align="center">
<input name="newsbook" type="checkbox" id="bestbook" value="1">
新品
<input name="bestbook" type="checkbox" id="bestbook" value="1">
推荐
<input name="tejiabook" type="checkbox" id="bestbook" value="1">
特价</div>
</td>
<td width="24%" align="center">
<input type="submit" name="Submit" value="添 加" class="go-wenbenkuang">
</td>
</tr>
</table>
</td>
</form>
</tr>
</table>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -