?? 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 + -