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

📄 c_salepromotionlist.asp

📁 一个很好的在线购物系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
      <td width="4%" align="center" height="28" bgcolor="#DDD2C4">                                                                                         
        <input type="checkbox" name="C0" value="ON" onclick="selectclick()">                                                                                        
      </td>                                                                                      
      <td width="19%" align="center" height="28" bgcolor="#DDD2C4">                                                                                        
        <font size="2">促销主题</font>                                                                                     
      </td>                                                                                   
      <td width="13%" align="center" height="28" bgcolor="#DDD2C4">                                                                                     
        <p style="line-height: 120%"><font size="2">活动日期</font></td>                                                                                 
      <td width="16%" align="center" height="28" bgcolor="#DDD2C4">                                                                                    
        <font size="2">客户名称</font></td>                                                                                 
      <td width="10%" align="center" height="28" bgcolor="#DDD2C4">                                                                                  
        <p style="line-height: 120%"><font size="2">计划费用</font>                                                                                  
      </td>                                                                                
      <td width="10%" align="center" height="28" bgcolor="#DDD2C4">                                                                                  
        <p style="line-height: 120%"><font size="2">实际费用</font>                                                                                  
      </td>                                                                                
      <td width="10%" align="center" height="28" bgcolor="#DDD2C4">                                                                                  
        <font size="2">销售额</font>                                                                                 
      </td>                                                                               
      <td width="10%" align="center" height="28" bgcolor="#DDD2C4">                                                                                  
        <font size="2">业务员</font>                                                                                 
      </td>                                                                               
    </tr>                                                                              
                                                            
    <% For i=1 to RowCount                                                       
         if I MOD 2=1  then                                                       
            rowcolor=firstcolor                                                      
         else                                                      
            rowcolor=secondcolor                                                      
         end if                                                      
                                                               
         if i<=DataRow then %>                                             
           <tr>                                                                                                            
           <td width="4%" align="center" height="18" bgcolor="<%=rowcolor%>">                                                                                
           <input type="checkbox" name=<%="C"+cstr(i)%>  value="<%=keyitem(i,1)%>">                                                     
           </td>                                                      
                                                                                  
           <td width="19%" align="center" height="18" bgcolor="<%=rowcolor%>">                                                                                
           <p align="center" style="line-height: 120%; margin-left: 2">                                                     
            <font size="2"> <a href="C_SalePromotion.asp?ID=<%=keyitem(i,1)%>&Mode=ScanMode"><%=keyitem(i,2)%></a></font> </p>                                                                               
           </td>                                                    
                                                                                
           <td width="13%" align="center" height="18" bgcolor="<%=rowcolor%>">                                                                       
           <p style="line-height: 120%" align="center"><font size="2">                
           <%=keyitem(i,3)+"-"+keyitem(i,4)+"-"+keyitem(i,5)%></font>  </td>                                                                          
                                                            
           <td width="16%" align="center" height="18" bgcolor="<%=rowcolor%>">                                                                       
           <font size="2"><%=keyitem(i,6)%></font>  </td>                                                                          
                                                            
           <td width="10%" align="center" height="18" bgcolor="<%=rowcolor%>"><font size="2">                                                                         
           <p style="line-height: 120%"><%=keyitem(i,7)%></font></td>                                                                            
                                                                                
           <td width="10%" align="center" height="18" bgcolor="<%=rowcolor%>"> <font size="2">                                                                             
            <p style="line-height: 120%"><%=keyitem(i,8)%></font></td>           
                                                                            
           <td width="10%" align="center" height="18" bgcolor="<%=rowcolor%>"><font size="2">                                                                         
           <p style="line-height: 120%"><%=keyitem(i,9)%></font></td>                                                                            
             <%
             ywysql="select name from a_stuffinfo where stuffnum='"&keyitem(i,10)&"'"
             set ywyrs=pubconn.execute(ywysql)
             %>                                                                   
           <td width="10%" align="center" height="18" bgcolor="<%=rowcolor%>"><font  size="2">                                                                        
            <p style="line-height: 120%"><%=ywyrs("name")%></font></td>                                                                    
          </tr>                                                  
       <% else %>                                                  
   		  <tr>                                                                          
           <td width="4%" align="center" height="20" bgcolor="<%=rowcolor%>">                                                                            
                                                                                       
           </td>                                                   
                                                                               
           <td width="19%" align="center" height="20" bgcolor="<%=rowcolor%>">                                                                            
           <font size="2">                                                                           
           &nbsp</font>                                                                           
           </td>                                                   
                                                                               
           <td width="13%" align="center" height="20" bgcolor="<%=rowcolor%>">                                                                      
           <p style="line-height: 120%">&nbsp </td>                                                                           
                                                           
           <td width="16%" align="center" height="20" bgcolor="<%=rowcolor%>">                                                                      
             </td>                                                                  
                                                  
           <td width="10%" align="center" height="20" bgcolor="<%=rowcolor%>"><font size="2">                                                               
           <p style="line-height: 120%">&nbsp </font></td>                                                                  
                                                                      
           <td width="10%" align="center" height="20" bgcolor="<%=rowcolor%>"> </td>                                                                  
                                                                      
           <td width="10%" align="center" height="20" bgcolor="<%=rowcolor%>"><font size="2">                                                               
           <p style="line-height: 120%">&nbsp </font></td>                                                                  
                                                                      
           <td width="10%" align="center" height="20" bgcolor="<%=rowcolor%>"> </td>                                                                  
                                                                      
          </tr>	                                                            
   <% end if                                         
   next  %>                                                                 
 </table>                                                                
         
 <table border="0" cellpadding="0" cellspacing="0" width="100%" height="20">                                                            
   <tr>                                                                    
    <td width="59%" height="33" valign="middle">                                                                         
      <p style="line-height: 120%" align="left"><font size="2">第<%=curpage%>页 共<%=totalpage%>页     
        
      <a href="JavaScript:GoToPage('first')">首页</a>&nbsp; <% if curpage>1 then %>                                                                     
          <a href="JavaScript:GoToPage('prev')">上页</a>&nbsp;                                                 
      <% else %>   
      上页&nbsp;    
      <% end if %>                                                                     
                                                                           
      <% if curpage<TotalPage then %>                                                                       
         <a href="JavaScript:GoToPage('next')">下页</a>&nbsp;                                                 
      <% else %>   
      下页&nbsp;&nbsp;    
      <% end if %>                                                                       
        <a href="JavaScript:GoToPage('last')">尾页</a></font>                                                                      
      </td>  
                                                                                                
    <td width="41%" height="33">                                                                                                
      <p align="right" style="margin-right: 20"><font size="2">&nbsp; </font>                                 
      <% if totalpage> 0 then %>                                                                      
        <select size="1" name="GoPage">                                                                                                    
        <% for i=1 to TotalPage %>                                                                   
           <option value="<%=i%>"><%=i%></option>                                                                                              
        <% next %>                                                                  
        </select>                                   
        <input type="button" value="Go" name="GoData" onclick="GoToPage('go')" class=hand style="<%=budStyle%>">   
      <% else %>                                                                           
      	<input type="hidden" name="GoPage" value="">     
      <% end if %>                                                                        
    </td>                                                                                   
  <tr>                                                                                    
    <td width="100%" height="7" colspan="2">                                                                                       
      <hr size="1">                                                                                       
    </td>                                                                                    
  </tr>                                                                                    
  <tr>                                                                                    
    <td width="59%" height="30">                                                                                       
      <p align="left"><input type="button" value="新增" name="AddData"  onclick="AddDataClick()" class=hand  style="<%=budStyle%>">                                                             
      <% if totalpage> 0 then %>                                                           
          <input type="button" value="删除" name="DelData" onclick="DelDataClick" class=hand style="<%=budStyle%>">                                                                                        
      <% end if %>                                                           
    </td>                                                                                    
    <td width="41%" height="30">                                                                                       
      <p align="right" style="margin-right: 20"><font size="2"><a href="C_SaleSum.asp">统计分析</a></font>                                                          
    </td>                                                                                
  </tr>                                                                                
  <tr>                                                                                   
    <td width="100%" height="30" colspan="2">                   
    <% if DelSucc=0 then %>                                                                                     
      <p align="center"><font size="2" color="#FF0000">存在不能删除的相关子记录!! !</font>                                                          
    <% end if %>                   
    </td>                                                                                   
  </tr>                                                                                
 </table>                                                                              
                                                                                   
 <input type="hidden" name="DelFlag" value="">                                           
 <input type="hidden" name="Curpage" value="">                              
 <input type="hidden" name="Condition" value="">                             
 </form>                                                                          
                                                                           
 <p></p>                                 
                          
</body>                          
                          
</html>                        
     
     
     
     
     
     

⌨️ 快捷键说明

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