⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 account_add.asp

📁 在线经销商回单管理系统在线经销商回单管理系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!--#include file="admin.asp"-->
<!--#include file="Inc/Function.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
.border {
	border: 1px dashed #999999;
}
.STYLE1 {color: #FFFFFF}
#jxs {
	position:absolute;
	left:62px;
	top:245px;
	width:356px;
	height:170px;
	z-index:1;
	overflow: auto;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style>
<script language="JavaScript">
 function toggleVisibility(me)
 {  if (me.style.visibility=="hidden"){   me.style.visibility="visible";   } 
  else {   me.style.visibility="hidden";   } 
 }
 function ADDJXS(JXS,ID)
 {
  document.JXSFORM.JXS.value=JXS;
  document.JXSFORM.JXSID.value=ID;
  toggleVisibility(jxs);
 }
 </script>
 <script src="date.js"></script>
<iframe id="CalFrame" style="DISPLAY: none; Z-INDEX: 100; WIDTH: 145px; HEIGHT: 187px; position: absolute" marginWidth="0" marginHeight="0" frameBorder="0" noResize scrolling="no" src="cal.htm"></iframe>
</head>

<body>

<div class="border" id="jxs"  style="visibility:hidden">
  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D8D8F1">
    <tr>
      <td width="14%" height="22" bgcolor="#D8D8F1">&nbsp;&nbsp;编号</td>
      <td width="52%" height="22" bgcolor="#D8D8F1">&nbsp;&nbsp;经销商名称</td>
      <td width="34%" height="22" bgcolor="#D8D8F1">&nbsp;&nbsp;电话</td>
    </tr>
	  <% 
On Error Resume Next
iPage = trim(Request.QueryString("page"))
if iPage="" then
iPage=1
end if
  dim Rs
  SET RS=SERVER.CreateObject("ADODB.RECORDSET")
  SQL="SELECT * FROM USER  ORDER BY USERID DESC"
  RS.OPEN SQL,CONN,1,1
  'Set Rs=conn.execute ("select * from INFO_CARD order by id desc")
  if Rs.eof then
  response.Write "还没有添加卡片信息"
  response.end
  else
 do while not Rs.eof
   %>
    <tr>
      <td height="22" bgcolor="#FFFFFF">&nbsp;<%= RS("USERID") %></td>
      <td height="22" bgcolor="#FFFFFF">&nbsp;<A href="#" onclick='ADDJXS("<%= RS("COMANE") %>","<%= RS("USERID") %>");'><%= RS("COMANE") %></A></td>
      <td height="22" bgcolor="#FFFFFF">&nbsp;<%= RS("PHONE") %></td>
    </tr>
   
 <%      
	Rs.MoveNext
loop
End If
%>
              </table>
</div>
<table width="88%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#006699" class="border">
 <form action="Account_Save.asp" method="post" name="JXSFORM"> <tr>
    <td height="18" colspan="2" align="center" bgcolor="#006699"><span class="STYLE1">添加台账</span></td>
  </tr>
  <tr>
    <td height="22" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;发件日期</td>
    <td height="22" bgcolor="#FFFFFF">&nbsp;
      <input name="fajianriqi" type="text" id="fajianriqi" value="<%=date%>" size="12"  />
      <a href="javascript:ShowCalendar(document.JXSFORM.dimg3,document.JXSFORM.fajianriqi,null,0,330)" target="_self"><img id="dimg3" style="POSITION: relative; left: -1px;" src="image/cal.gif"  border="0" align="absmiddle" /> </a></td>
    </tr>
  <tr>
    <td height="22" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;品名及规格</td>
    <td height="22" bgcolor="#FFFFFF">&nbsp;
      <input name="pinming" type="text" id="pinming" /></td>
    </tr>
  <tr>
    <td height="22" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;领用单据号</td>
    <td height="22" bgcolor="#FFFFFF">&nbsp;
      <input name="lingdanhao" type="text" id="lingdanhao" /></td>
    </tr>
  <tr>
    <td height="22" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;领用数量</td>
    <td height="22" bgcolor="#FFFFFF">&nbsp;
      <input name="lingyongshuliang" type="text" id="lingyongshuliang" /></td>
    </tr>
 
  <tr>
    <td height="22" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;经销商名称</td>
    <td height="22" bgcolor="#FFFFFF"><label>
      &nbsp;
      <input name="JXS" type="text" id="JXS" />
    <a href="#" target="_self" onclick="toggleVisibility(jxs)">选择经销商</a></label></td>
    </tr>
  <tr>
    <td height="22" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;经销商编号</td>
    <td height="22" bgcolor="#FFFFFF"><label>
      &nbsp;
      <input name="JXSID" type="text" id="JXSID" />
    </label></td>
    </tr>
  <tr>
    <td height="22" bgcolor="#FFFFFF">&nbsp;</td>
    <td height="22" bgcolor="#FFFFFF"><label>
      <input type="submit" name="Submit" value="提交" />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="Submit2" value="重置" />
    </label></td>
  </tr></form>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -