📄 selectaccountcontact.asp
字号:
<!--#include file="../config.ini"-->
<%
dim theName : theName = Request("theName")
dim theForm : theForm = Request("theForm")
dim theid : theid = Request("theid")
dim theseq : theseq=Request("theseq")
dim thefield:thefield=request("field")
dim thevalue:thevalue=request("value")
'Response.Write theid
%>
<html>
<head>
<title>select</title>
<Script Language=JavaScript>
function pickup2(what,whatId){
window.opener.<%=theForm%>.<%=theName%>name.value=what;
window.opener.<%=theForm%>.<%=theName%>.value=whatId;
window.close();
}
function pickup3(what,whatId,available){
window.opener.<%=theForm%>.<%=theName%>name.value=what;
window.opener.<%=theForm%>.<%=theName%>.value=whatId;
window.opener.<%=theForm%>.available<%=theseq%>.value=available;
window.close();
}
</Script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../global.css" rel=stylesheet type=text/css>
</head>
<body>
<form name="theForm" method="Post" action="">
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%">
<select name="Find" width="10">
<%
if instr(theName,"owner")>0 or instr(theName,"user")>0 then
session("SelectName")="用户"
%>
<option value="UserName">用户</option>
<option value="Title" <%if request("Find")="Title" then Response.Write " selected"%>>职务</option>
<option value="Territory" <%if request("Find")="Territory" then Response.Write " selected"%>>区域</option>
<%
elseif instr(theName,"account")>0 then
session("SelectName")="客户"
%>
<option value="account">客户</option>
<option value="siccode" <%if request("Find")="siccode" then Response.Write " selected"%>>客户代码</option>
<option value="city" <%if request("Find")="city" then Response.Write " selected"%>>城市</option>
<%
elseif instr(theName,"contact")>0 then
session("SelectName")="联系人"
%>
<option value=contact <%if request("Find")="contact" then Response.Write "selected"%>>联系人</option>
<option value=account <%if request("Find")="account" then Response.Write "selected"%>>客户</option>
<option value=contactdepartment <%if request("Find")="contactdepartment" then Response.Write "selected"%>>部门</option>
<option value=title <%if request("Find")="title" then Response.Write "selected"%>>职务</option>
<option value=siccode <%if request("Find")="email" then Response.Write "selected"%>>邮件</option>
<option value=owner <%if request("Find")="workphone" then Response.Write "selected"%>>电话</option>
<%
elseif instr(theName,"PO")>0 then
session("SelectName")="采购单"
%>
<option value=pono <%if request("Find")="pono" then Response.Write "selected"%>>采购单号</option>
<option value=Account <%if request("Find")="Account" then Response.Write "selected"%>>客户</option>
<option value=totalamount <%if request("Find")="totalamount" then Response.Write "selected"%>>金额</option>
<option value=Status <%if request("Find")="Status" then Response.Write "selected"%>>状态</option>
<option value=poDate <%if request("Find")="poDate" then Response.Write "selected"%>>采购日期</option>
<option value=Owner <%if request("Find")="industry" then Response.Write "selected"%>>采购员</option>
<%
elseif instr(theName,"sendlocation")>0 then
session("SelectName")="库存"
%>
<option value=location <%if request("Find")="location" then Response.Write "selected"%>>货位</option>
<option value=whse <%if request("Find")="whse" then Response.Write "selected"%>>仓库</option>
<option value=productcode <%if request("Find")="productcode" then Response.Write "selected"%>>货号</option>
<option value=model <%if request("Find")="model" then Response.Write "selected"%>>型号</option>
<option value=qty_on_hand <%if request("Find")="qty_on_hand" then Response.Write "selected"%>>在库量</option>
<option value=qty_rsvd <%if request("Find")="qty_rsvd" then Response.Write "selected"%>>保留量</option>
<option value=nonnet <%if request("Find")="nonnet" then Response.Write "selected"%>>非净货位</option>
<%
elseif instr(theName,"location")>0 then
session("SelectName")="货位"
%>
<option value=location <%if request("Find")="location" then Response.Write "selected"%>>货位</option>
<option value=whse <%if request("Find")="whse" then Response.Write "selected"%>>仓库</option>
<option value=locationtype <%if request("Find")="locationtype" then Response.Write "selected"%>>货位类型</option>
<option value=nonnet <%if request("Find")="nonnet" then Response.Write "selected"%>>非净货位</option>
<%
elseif instr(theName,"order")>0 then
session("SelectName")="合同号"
%>
<option value=orderNo <%if request("Find")="OrderNum" then Response.Write "selected"%>>合同号</option>
<option value=Account <%if request("Find")="Account" then Response.Write "selected"%>>客户</option>
<option value=totalamount <%if request("Find")="totalamount" then Response.Write "selected"%>>金额</option>
<option value=Status <%if request("Find")="Status" then Response.Write "selected"%>>状态</option>
<option value=SignedDate <%if request("Find")="SignedDate" then Response.Write "selected"%>>签订日期</option>
<option value=Owner <%if request("Find")="industry" then Response.Write "selected"%>>销售员</option>
<%
elseif instr(theName,"deal")>0 then
session("SelectName")="销售机会"
%>
<option value=deal <%if request("Find")="deal" then Response.Write "selected"%>>销售机会</option>
<option value=Account <%if request("Find")="Account" then Response.Write "selected"%>>客户</option>
<option value=Status <%if request("Find")="Status" then Response.Write "selected"%>>状态</option>
<option value=dealDate <%if request("Find")="dealDate" then Response.Write "selected"%>>开始日期</option>
<option value=Owner <%if request("Find")="industry" then Response.Write "selected"%>>销售员</option>
<%
end if
%>
</select>
<input type="Text" name="StartWith" size="16" value="<%=request("StartWith")%>">
<input type="Submit" name="Submit" value="搜索">
<input type="Hidden" name="theForm" value="<%=theForm%>"> <input type="Hidden" name="theName" class=black value="<%=theName%>"> </td>
<tr bgcolor="#FFFFFF">
<td height="25"><strong><font size="2" class="title">选择<%=session("SelectName")%></font></strong></td>
</tr>
<tr >
<td height="16" background="../images/title.gif"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height=4></td>
</tr>
</table>
<table width="100%" bgcolor=cdcdcd cellspacing=1>
<tr bgcolor=f1f1f1>
<%
if instr(theName,"owner")>0 or instr(theName,"user")>0 then
%>
<td align="center" nowrap>登录名</td>
<td align="center" nowrap>用户</td>
<td align="center" nowrap>职务</td>
<td align="center" nowrap>区域</td>
<td align="center" nowrap>电话</td>
<%
elseif instr(theName,"account")>0 then
%>
<td align="center" nowrap>客户</td>
<td align="center" nowrap>客户代码</td>
<td align="center" nowrap>行业</td>
<td align="center" nowrap>客户类型</td>
<td align="center" nowrap>电话</td>
<%
elseif instr(theName,"contact")>0 then
%>
<td align=center height=20>名称</td>
<td align=center>部门</td>
<td align=center>职务</td>
<td align=center>电话</td>
<td align=center>客户</td>
<%
elseif instr(theName,"PO")>0 then
%>
<td align=center height=20>采购单号</td>
<td align=center>供应商</td>
<td align=center>金额</td>
<td align=center>状态</td>
<td align=center>采购日期</td>
<td align=center>采购员</td>
<%
elseif instr(theName,"sendlocation")>0 then
%>
<td align=center height=20>货位</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -