📄 goods.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../CSS/style.css">
<title>
Goods page
</title>
</head>
<Script language="javascript">
function check()
{
if(form1.gclass.value=="")
{
alert("请填写货物类型!!");
form1.gclass.focus();
return false;
}
if(form1.gname.value=="")
{
alert("请填写货物名称!!!");
form1.gname.focus();
return false;
}
if(form1.gcount.value=="")
{
alert("请填写货物数量!!!");
form1.gcount.focus();
return false;
}
if(form1.gunit.value=="")
{
alert("请填写货物数量单位!!!");
form1.gunit.focus();
return false;
}
if(form1.gstartfirm.value=="")
{
alert("请填写起始省份!!!");
form1.gstartfirm.focus();
return false;
}
if(form1.gstartcity.value=="")
{
alert("请填写起始城市!!!");
form1.gstartcity.focus();
return false;
}
if(form1.gendfirm.value=="")
{
alert("请填写抵达省份!!!");
form1.gendfirm.focus();
return false;
}
if(form1.gendcity.value=="")
{
alert("请填写抵达城市!!!");
form1.gendfirm.focus();
return false;
}
if(form1.gtransstyle.value=="")
{
alert("请填写运输类型!!!");
form1.gtransstyle.focus();
return false;
}
if(form1.gtime.value=="")
{
alert("请填写运输时间!!!");
form1.gtime.focus();
return false;
}
if(form1.glink.value=="")
{alert("请填写联系人!!!");
form1.glink.focus();
return false;
}
if(form1.gphone.value=="")
{
alert("请填写联系电话!!!");
form1.gphone.focus();
return false;
}
if(form1.gremark.value=="")
{
alert("请填写备注!!!");
form1.gremark.focus();
return false;
}
if(form1.grequest.value=="")
{
alert("请填写要求!!!");
form1.grequest.focus();
return false;
}
}
</Script>
<body bgcolor="#ffffff">
<p align="center"><b><font size="6">货物信息发布</font></b></p>
<form method="POST" action="/logistics/Goods/Good_config.jsp" name="form1">
<table width="786" border="1" align="center" cellpadding="0" cellspacing="0"bordercolor="#FFFFFF" bordercolordark="#333333" bordercolorlight="#FFFFFF">
<tr>
<td width="20%" height="43">
<p align="center">货物类型:</p> </td>
<td width="36%" height="43">
<p align="center"><input type="text" name="gclass" size="20"></p>
</td>
<td width="18%" height="43">
<p align="center">货物名称:</p>
</td>
<td width="30%" height="43">
<p align="center"><input type="text" name="gname" size="20"></p>
</td>
</tr>
<tr>
<td width="20%" height="42">
<p align="center">货物数量:</p> </td>
<td width="36%" height="42">
<p align="center"><input type="text" name="gcount" size="20"></p>
</td>
<td width="18%" height="42">
<p align="center">数量单位:</p>
</td>
<td width="30%" height="42">
<p align="center"><input type="text" name="gunit" size="20"></p>
</td>
</tr>
<tr>
<td width="20%" height="43">
<p align="center">起始省份:</p> </td>
<td width="36%" height="43">
<p align="center"><input type="text" name="gstartfirm" size="20"></p>
</td>
<td width="18%" height="43">
<p align="center">起始城市:</p>
</td>
<td width="30%" height="43">
<p align="center"><input type="text" name="gstartcity" size="20"></p>
</td>
</tr>
<tr>
<td width="20%" height="46">
<p align="center">抵达省份:</p> </td>
<td width="36%" height="46">
<p align="center"><input type="text" name="gendfirm" size="20"></p>
</td>
<td width="18%" height="46">
<p align="center">抵达城市:</p>
</td>
<td width="30%" height="46">
<p align="center"><input type="text" name="gendcity" size="20"></p>
</td>
</tr>
<tr>
<td width="20%" height="45">
<p align="center">运输类型:</p> </td>
<td width="36%" height="45">
<p align="center">
<select size="1" name="gtransstyle">
<option value="快速"selected>快速</option>
<option value="特快">特快</option>
<option value="加急">加急</option>
</select>
</p>
</td>
<td width="18%" height="45">
<p align="center">运输时间:</p>
</td>
<td width="30%" height="45">
<p align="center"><input type="text" name="gtime" size="20"></p>
</td>
</tr>
<tr>
<td width="20%" height="45">
<p align="center">联系电话:</p> </td>
<td width="36%" height="45">
<p align="center"><input type="text" name="gphone" size="20"></p>
</td>
<td width="18%" height="45">
<p align="center">联系人:</p>
</td>
<td width="30%" height="45">
<p align="center"><input type="text" name="glink" size="20"></p>
</td>
</tr>
<tr>
<td width="20%" height="78">
<p align="center">备注:</p> </td>
<td width="84%" height="78" colspan="3">
<p align="left"><textarea rows="5" name="gremark" cols="72"></textarea></p>
</td>
</tr>
<tr>
<td width="20%" height="74">
<p align="center">车辆要求:</p>
</td>
<td width="84%" height="74" colspan="3">
<p align="left"><textarea rows="5" name="grequest" cols="72"></textarea></p>
</td>
</tr>
<tr>
<td width="786" height="58" colspan="4">
<p align="center">
<input type="submit" name="show" value="发布" onClick="return check()">
<input type="reset" name="reset" value="重置"> <a href="/logistics/Goods/Goods_show.jsp">返回</a>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -