📄 spinfo.asp
字号:
<!--#include file="spsub.inc"-->
<%
set conn=server.CreateObject("adodb.connection")
set rs=server.CreateObject("adodb.recordset")
conn.open application("dsn")
sql="select * from tab_gysinfo"
rs.open sql,conn,1,3
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>商品信息登记</title>
<link href="../style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolorlight="#9CA6C6" bordercolordark="#CCE3FF">
<tr bgcolor="#FF9933">
<td height="18" colspan="2" nowrap class="word_white"> 当前位置:基础信息 > 商品信息管理 > 商品信息登记 >>></td>
</tr>
<tr>
<td height="18" colspan="2" nowrap bgcolor="#FFFFFF"> <font color="#0066FF">注:带*号项必须填写</font></div></td>
</tr>
<form action="checkspinfo.asp" name="form1" method="post" >
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">商品名称:</td>
<td width="424" height="20"> <input type="text" name="spname" value="" size="50" onkeyup="if(event.keyCode==13){form1.jc.focus()}">
<font color="#FF3300"> *</font> </td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">简 称:</td>
<td width="424" height="20"> <input type="text" name="jc" value="" size="32" onkeyup="if(event.keyCode==13){form1.cd.focus()}">
<font color="#FF3300">*</font></td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">产 地:</td>
<td width="424" height="20"> <input type="text" name="cd" value="" size="50" onkeyup="if(event.keyCode==13){form1.dw.focus()}">
<font color="#FF0033">*</font> </td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">单 位:</td>
<td width="424" height="20"> <input type="text" name="dw" value="" size="10" onkeyup="if(event.keyCode==13){form1.gg.focus()}">
<font color="#FF0000"> *</font> </td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">规 格:</td>
<td width="424" height="20"> <input type="text" name="gg" value="" size="50" onkeyup="if(event.keyCode==13){form1.bz.focus()}">
<font color="#FF0000"> *</font> </td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">包 装:</td>
<td width="424" height="18"> <input type="text" name="bz" value="" size="50" onkeyup="if(event.keyCode==13){form1.ph.focus()}"> </td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">批 号:</td>
<td width="424" height="18" bgcolor="#CCE3FF"><input type="text" name="ph" value="" size="32" onKeyUp="if(event.keyCode==13){form1.pzwh.focus()}"></td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">批准文号:</td>
<td width="424" height="18" bgcolor="#CCE3FF"> <input type="text" name="pzwh" value="" size="32" onkeyup="if(event.keyCode==13){form1.memo.focus()}"></td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">供应商全称:</td>
<td width="424" height="23" bgcolor="#CCE3FF">
<select name="gysname">
<%while not rs.eof%>
<option value=<%=rs("name")%>><%=rs("name")%></option>
<%rs.movenext
wend%>
</select>
</td>
</tr>
<tr bgcolor="#CCE3FF">
<td width="96" height="23" align="center" nowrap bgcolor="#CCE3FF">备 注:</td>
<td width="424" height="18" bgcolor="#CCE3FF"> <input type="text" name="memo" value="" size="70" onkeyup="if (event.keyCode==13){send()}"> </td>
</tr>
<tr valign="middle" bgcolor="#CCE3FF">
<td height="34" colspan="2" align="right" nowrap> <div align="center">
<input name="subb" type="button" class="btn_grey" id="subb" onclick="send()" value="保存信息" >
<input name="res" type="reset" class="btn_grey" id="res" onclick="res()" value="清除重写">
</div></td>
</tr>
</form>
</table>
<!--#include file="../Bottom.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -