📄 goodsinsert.htm
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>注册</title>
<SCRIPT language=javascript>
<!--
function datacheck()
{
if(frmGoodsInsert.GoodsName.value=="")
{
window.alert("请输入商品名称");
document.frmGoodsInsert.elements(0).focus();
return;
}
if(frmGoodsInsert.GoodsTypeID.value==""||isNaN(frmGoodsInsert.GoodsTypeID.value))
{
window.alert("请输入商品类型ID,且为数字");
document.frmGoodsInsert.elements(1).focus();
return;
}
if(frmGoodsInsert.Price.value==""||isNaN(frmGoodsInsert.Price.value))
{
window.alert("请输入商品单价,且为数字");
document.frmGoodsInsert.elements(2).focus();
return;
}
if(frmGoodsInsert.NumNow.value==""||isNaN(frmGoodsInsert.NumNow.value))
{
window.alert("请输入商品采购数量,且为数字");
document.frmGoodsInsert.elements(3).focus();
return;
}
if(frmGoodsInsert.NumHigh.value==""||isNaN(frmGoodsInsert.NumHigh.value))
{
window.alert("请输入商品最高数量,且为数字");
document.frmGoodsInsert.elements(3).focus();
return;
}
if(frmGoodsInsert.NumLow.value=="" || isNaN(frmGoodsInsert.NumLow.value))
{
window.alert("请输入商品最低数量,且为数字");
document.frmGoodsInsert.elements(4).focus();
return;
}
frmGoodsInsert.submit();
}
-->
</SCRIPT>
</head>
<body link="#FFFFFF" vlink="#00FFFF" alink="#FFCCFF">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="975" height="103">
<tr>
<td width="975" height="1" colspan="2"><font size="7" face="Arial Black" color="#CC3300"><b>WEB-Store</b></font></td>
</tr>
<tr>
<td width="975" height="24" colspan="2" bgcolor="#000080">
</td>
</tr>
<tr>
<td width="975" height="24" bgcolor="#FFFFFF">
<p align="center"><b><font face="楷体_GB2312" size="6" color="#800080">添加商品</font></b>
</td>
</tr>
<tr>
<td width="975" height="31" align=center>
<form method="POST" action="GoodsInfo.jsp?action=goods_insert&type=1" name="frmGoodsInsert">
<table width="740" border="0" >
<tr bgcolor="#E9E9D1">
<td align=center width="119"> </td>
<td align=center width="437"> <p align="left"> </td>
</tr>
<tr>
<td width="119">商品名: </td>
<td width="437"><input type="text" name="GoodsName" size="37"> * </td>
</tr>
<tr bgcolor="#EAFfFff">
<td width="119">类型ID: </td>
<td width="437"><input type="text" name="GoodsTypeID" size="13"> * </td>
</tr>
<tr>
<td width="119">单价: </td>
<td width="437"><input type="text" name="Price" size="13" >* </td>
</tr>
<tr bgcolor="#EAFfFff">
<td width="119">采购数量: </td>
<td width="437"><input type="text" name="NumNow" size="21" >* </td>
</tr>
<tr >
<td width="119">最高数量: </td>
<td width="437"><input type="text" name="NumHigh" size="21" >* </td>
</tr>
<tr bgcolor="#EAFfFff">
<td width="119">最低数量:</td>
<td width="437"><input type="text" name="NumLow" size="21" >*</td>
</tr>
<tr >
<td width="119">描述:</td>
<td width="437"><input type="text" name="GoodsDescr" size="80" value=" "></td>
</tr>
</table>
<table >
<p><button type="none" class="button" onclick="datacheck()">提交</button>
<input type="reset" value="全部重写" name="B2"></p>
</table>
</form>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -