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

📄 accountcenter.asp

📁 在线经销商回单管理系统在线经销商回单管理系统
💻 ASP
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Skin_css.asp"-->
<!--#include file="inc/config.asp"-->
<%If Session("UserName")="" Then
response.redirect"Server.asp"
end if%>

<SCRIPT language=javascript>

function chkitem(str)
{	
var strSource ="0123456789-";
var ch;
var i;
var temp;

for (i=0;i<=(str.length-1);i++)
{

ch = str.charAt(i);
temp = strSource.indexOf(ch);
if (temp==-1)
{
return 0;
}
}
if (strSource.indexOf(ch)==-1)
{
return 0;
}
else
{
return 1;
}


}

function FORM1_onsubmit()
{
if (chkitem(document.FORM1.Form_Id.value)==0)
{
alert("请输入正确的订单号码。");
document.FORM1.Form_Id.focus();
return false;
}
}
</SCRIPT>
<script language=javascript>
function windowopen(url)
{
window.open(url,'发货单确认','width=400,height=200,menubar=no,left=200,top=200');
}
</script>
<!-- #include file="Head.asp" -->
<!-- #include file="inc/top.asp" -->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="222" height="15" colspan="2" valign="top" background="images/px.jpg" style="background-position:right; background-repeat:repeat-y ">&nbsp;</td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E0E0E0">
  <tr>
    <td height="20"></td>
  </tr>
</table>
<table width="760" height="39" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" valign="top" background="images/px.jpg" style="background-position:right; background-repeat:repeat-y ">&nbsp;</td>
  </tr>
  <tr>
    <td width="434" valign="top" background="images/px.jpg" style="background-position:right; background-repeat:repeat-y ">&nbsp;</td>
    <td width="222" valign="top" style="padding-top:5px ">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" valign="top" background="images/px.jpg" style="background-position:right; background-repeat:repeat-y ">&nbsp;</td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="5" valign="top" bgcolor="#FFFFFF"></td>
  </tr>
  <tr> 
    <td height="72" valign="top" bgcolor="#FFFFFF"><table width="746" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td class="jxsborder"  width="190" height="179" valign="top" ><!--#include file="left_jxs.asp" --></td>
          <td width="6"></td>
          <td valign="top"><table Class=border width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="206" valign="top" class="jxsborder"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td class="title_right" height="32">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| 欢迎进入华夏集团经销商管理系统</td>
                    </tr>
                  </table>
                  <TABLE width=95% height="136" align="center" cellPadding=4 cellSpacing=1>
                    <TBODY>
                      <TR vAlign=top > 
                        <TD  width="100%" height="18"> <form action="orderofind.asp" method="post" name=FORM1 onsubmit="return FORM1_onsubmit()" language=javascript>
                            <p align="center"> <font color="#FF0000">&nbsp;&nbsp;</font><font size="4" face="Arial"><%=Session("UserName")%></font></p>
                            <p style="word-spacing: 0; margin-left: 10; margin-right: 10; margin-top: 0; margin-bottom: 0" align="center">您好,下面是您的货品列表。 
                              <%rs.close%>
                              <%


UserName=Session("UserName")
UserId=Session("UserId")
set Rs = Server.CreateObject("ADODB.recordset")
sql="select * from Account where jxsid='"&UserId&"'"
'response.Write sql
'response.end
rs.open sql,conn,1,1


%>
                            </p>
                            <p align="center" style="word-spacing: 0; margin-top: 0; margin-bottom: 0">发货单详细资料查询,请输入您要查询的发货单编号 
                              <input type="text" name="Form_Id" size="16">
                              <input type="submit" value="查询" name="B1">
                          </form>
                          <div align="center"> 
                            <TABLE cellSpacing=0 cellPadding=0 width=100%>
                              <TBODY>
                                <TR> 
                                  <TD align=middle width="100%"> <p align="center" style="word-spacing: 0; margin-top: 0; margin-bottom: 0">以下是所有发给您的发货单列表</p>
                                    <table border="0" cellpadding="2" cellspacing="1" width="100%" bgcolor="#000000">
                                      <tr > 
                                        <td align="center" height="20" bgcolor="#CCCCCC"><font color="#000000">ID</font></td>
                                        <td align="center" height="20" bgcolor="#CCCCCC"><font color="#000000">品名及规格</font></td>
                                        <td align="center" height="20" bgcolor="#CCCCCC">发件数量</td>
                                        <td align="center" bgcolor="#CCCCCC">处理</td>
                                      </tr>
                                      <% While Not rs.EOF %>
                                      <tr > 
                                        <td align="center" height="25" bgcolor="#FFFFFF"> 
                                          <%=rs("Id")%> </td>
                                        <td align="center" height="25" bgcolor="#FFFFFF"><%=rs("pinming")%></td>
                                        <td height="25" align="center" bgcolor="#FFFFFF"><%=rs("lingyongshuliang")%></td>
                                        <td height="25" align="center" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<a href="#" onclick="windowopen('remark.asp?id=<%= rs("id") %>');" target="_self">备注 </a>&nbsp;&nbsp;&nbsp;<a href="admin/AccountDetail.asp?id=<%=rs("Id")%>" target="_blank">查看详细</a></td>
                                      </tr>
                                      <%
rs.MoveNext
Wend
rs.close
%>
                                    </table>                                   
                                  </TD>
                                </TR>
                              </TBODY>
                            </TABLE>
                          </div></TD>
                      </TR>
                      <TR vAlign=top > 
                        <TD  width="100%" height="15"> &nbsp;&nbsp; </TD>
                      </TR>
                    </TBODY>
                </TABLE> </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>

⌨️ 快捷键说明

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