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

📄 g_execsh.asp

📁 一个很好的在线购物系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:

<!--#include file="../include/Pubconn.asp"-->
<!--#include file="../include/PubFun.asp"--> 
<!--#include file="../include/PublicWeek.asp"-->
<% username=Getuser()
userclass=TableCheck("G_TblClosePlan1",username)
if userclass<1 then
   response.write"<br>"
   response.write"<br>" 
   response.write "<center><font size=2>抱歉,您没有此项操作权限!<a href=G_mainexec.asp>返回</a>"
   response.end
end if

%>
<%
'********************************
'
'Author:Ruphi Update Time:2001-08-23
'功能说明:对某一个业务员在某一周的执行情况进审核(限于找出相关的内容)
'对于未执行的计划是不能进行审核。
'***********************************

 

 

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>单据查询</title><link href="cread.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" >
<script language="vbscript">
   sub check1()
     if myform.WeekID.value="" then
        msgbox"请选择周次!",64,"提示:"
        exit sub
     end if 
     if myform.txtstuff.value="" then
         msgbox"请选择业务员!",64,"提示:"
        exit sub
     end if 
     myform.submit
   end sub
</script>  
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="100%"><b><font size="3"><img border="0" src="../pic/it_22.gif"> 
      </font><font size="2">客户跟进计划执行审核</font></b><hr width="40%" size="1" align="left">       
             
    </td>       
  </tr>       
</table>      
<%
wid=request("WeekID")
sid=request("txtstuff")
%>
<%
'找出符合条件的记录进行评审
set rstp=server.createobject("adodb.recordset")
if wid<>"" and sid<>"" then
    str="select * from G_TblClosePlan  "
    str=str&"where CloseWeek='"&wid&"' and StuffNum='"&sid&"' and ExecSh<>'Y'"
    rstp.open str&"order by ID desc",pubconn,1
    'response.write str

%>                                     

        
<form method="post" action="G_execsh.asp" name="myform">                                             
<p>                                             
                                             
<table border="0" width="100%">                                             
                                     
                                           
 <tr>                                             
  <td width="100%">                                             
                                       
   <p align="left">(  
   <font size="2">提示:当前为第<%=datepart("ww",date())%>周  
   </font>  
   ) <b>                                            
   &nbsp;                                                        
   </b>                                                       
                                                       
   </p>                                                       
                                                       
  </td>                                                       
 </tr>                                                       
</table>                                                       
                                                       
                                                       
                                                       
<table border="0" cellspacing="0" width="100%" align="center">                                                        
  <tr>                                                         
    <td width="12%" align="center" bgcolor="#F1E8DA">        
        
     <p align="right">       
     <font size="2">周次</font>       
       
     </p>       
       
    </td>                                                          
    <td width="19%" align="center" bgcolor="#F1E8DA">                                                        
       
    <p align="left">       
    <select name="WeekID" size="1" style="width:100">                                                      
        <% if wid<>"" then%>              
         <option value="">请选择</option>                                                    
        <% for i=1 to 54 %>                                                    
       <option value="<%=i%>" <% if cint(trim(wid))=i  then            
          response.write ("selected")            
        end if             
                   
       %>>第<%=i%>周</option>                                                    
        <%next%>                                                
            
         <%else%>                                                  
              <option value="">请选择</option>                                                    
           <%for i=1 to 54 %>                                                    
              <option value="<%=i%>" >第<%=i%>周</option>                                                    
          <%next%>                     
       <%end if %>                                                   
                                                          
                                                      
                                                      
    </select>       
       
    </p>       
       
    </td>                                                                 
    <td width="11%" align="center" bgcolor="#F1E8DA">       
       
     <p align="right">       
     业务员       
       
     </p>       
       
    </td>                                                       
                                                            
    <td width="29%" align="center" bgcolor="#F1E8DA">                                                             
       
      <p align="left">       
      <select  name="txtstuff" style="width:100" size="1">                      
                                                        
            <%                                                      
    '业务员列表                                                      
    set rst1=Server.CreateObject("ADODB.RecordSet")                                                      
    sql="Select stuffnum,name from A_StuffInfo Where SaleFlag='1' and delflag='0'"                                                      
    rst1.open sql,pubconn,1                                                      
                                                          
    %>                                                   
       <option value="">请选择</option>                                              
       <%do while not rst1.eof%>                                                     
        <option  value="<%=rst1("StuffNum")%>"           
        <%          
        if sid<>"" then          
           if trim(sid)=rst1("StuffNum") then          
               response.write("selected")          
           end if           
        end if           
                  
        %> ><%=rst1("Name")%></option>                                                     
       <%                                                    
       rst1.movenext                                                    
       loop                                                    
      set rst1=nothing                                                    
        %>                                                    
                                                     
      </select>&nbsp;&nbsp;&nbsp;&nbsp; <input type="button" value="查询" onclick="check1()" class="hand" style="background-color: #D1D1D1; border-style: solid; border-width: 1"  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    
      <a href="G_mainexec.asp">返回</a>      
      
      </p>       
       
    </td>                                                                              
 </tr>                                                                             
</table>                                                                      
                                                                          
 <%           
 if rstp.eof then%>           
<center><p>没有符合条件的记录!<a href=G_mainexec.asp>返回</a></center>            
           
 <% response.end       
else                                                                             
                                                                          
                                                                            
%>             
                                                                          
                                                                                      
<table border="1" cellspacing="0" width="100%" height="30">                                                                              
                                                                                    
  <tr>                                                                                              
                                                                              
     <td width="69" height="24" align="center" bgcolor="#DDD2C4">                                                                            
      <font size="2">计划跟进日期                                                                            
      </font>                                                                            
     </td>                                                                                              
    <td width="53" height="24" align="center" bgcolor="#DDD2C4">                                                                            
     <font size="2">星期                                                                            
     </font>                                                                            
     </td>                                                                                             

⌨️ 快捷键说明

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