📄 addziliao.asp
字号:
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<!--#include file="../Inc/Config.asp" -->
<!--#include file="../Inc/dbconn.asp" -->
<!--#include file="../other/Check_Sql.asp" -->
<link href="../other/admin.css" rel="stylesheet" type="text/css">
<head>
<title><%=appname%></title>
<script language="javascript">
<!--
function ockgo()
{
if (document.form1.kehubianhao.value=="")
{
alert("请输入客户编码");
return false;
}
if (document.form1.kehuname.value=="")
{
alert("请输入客户名称");
return false;
}
if (document.form1.spdanwei.value=="")
{
alert("请输入客户联系人");
return false;
}
else
document.Form1.submit();
}
-->
</script>
</head>
<body>
<form name="form1" id="form1" method="post" action="savegonghuoshang.asp">
<div align="center">
<br>
<br>
<br>
<table width="367" height="377" border="0">
<tr class="blue">
<td height="14" colspan="2" class="back_southidc"> <div align="center">增加资料</div>
<td width="2" rowspan="11"> </td>
</tr>
<tr class="blue">
<td width="114" height="21" class="tr_southidc">客户编号 :
<td width="237" class="tr_southidc"><input name="kehubianhao" type="text" class="InputText" style="width:160;height:19;background-color:#FFFFFF;" value="<%=spkehu%>" size="25" readonly="" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc">客户名称 :
<td class="tr_southidc"><input name="kehuname" type="text" size="25" class="InputText" style="width:160;height:19;background-color:#FFFFFF;" /></td>
</tr>
<tr class="blue">
<td height="26" class="tr_southidc">客户地址 :
<td class="tr_southidc"><input name="kehudizhi" type="text" class="InputText" id="kehudizhi" style="width:160;height:19;background-color:#FFFFFF;" size="25" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc">联 系 人 : </td>
<td class="tr_southidc"><input name="lianxiren" type="text" size="25" class="InputText" style="width:160;height:19;background-color:#FFFFFF;" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc">邮政编码 :
<td class="tr_southidc"><input name="youbian" type="text" class="InputText" id="spqita1" style="width:160;height:19;background-color:#FFFFFF;" size="25" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc"> 传 真 :
<td class="tr_southidc"><input name="chuanzhen" type="text" class="InputText" id="spqita2" style="width:160;height:19;background-color:#FFFFFF;" size="25" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc">联系电话 :
<td class="tr_southidc"><input name="dianhua" type="text" class="InputText" id="spqita22" style="width:160;height:19;background-color:#FFFFFF;" size="25" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc">客户网址 :
<td class="tr_southidc"><input name="kehuweb" type="text" class="InputText" id="spqita23" style="width:160;height:19;background-color:#FFFFFF;" size="25" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc">客户MAIL :
<td class="tr_southidc"><input name="kehumail" type="text" class="InputText" id="spqita24" style="width:160;height:19;background-color:#FFFFFF;" size="25" /></td>
</tr>
<tr class="blue">
<td height="21" class="tr_southidc">客户类型 :
<td class="tr_southidc"><select name="select1" class="InputText">
<%set rs = server.CreateObject("adodb.recordset")
sql="select * from pro_kehuleixing "
rs.Open sql,conn,0,2,1
while not (rs.bof or rs.eof) %>
<option value="<%=rs("leixingdaima")%>"><%=rs("leixingname")%> & [ <%=rs("leixingdaima")%> ]</option>
<%
rs.movenext
wend
rs.close
set rs=nothing
call endconn()
%>
</select>
[<a href="xing.asp">增加类型</a>]</td>
</tr>
<tr class="blue">
<td colspan="3" class="tr_southidc"> </tr>
<tr class="blue">
<td height="21" class="tr_southidc">备注 : </td>
<td class="tr_southidc"><textarea name="kehubeizhu" cols="30" rows="5" class="InputText" ></textarea></td>
<td rowspan="2"> </td>
</tr>
<tr class="blue">
<td height="33" colspan="2" class="tr_southidc"> <br />
<input type="submit" name="Submit3" class="Admin_Button_Ok" value=" 提 交 " onclick="javascript:return ockgo();"/>
<input type="reset" name="Submit32" class="Admin_Button_reset"value=" 重 置 " /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -