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

📄 index.asp

📁 一个比较完整的企业erp系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%@language="vbscript" codepage="936"%>
<%response.buffer = true%>
<%Public HOME_PATH:HOME_PATH = "../"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<%
 Public title:title = "事务安排历史"
'Response.Expires = -1
'Response.ExpiresAbsolute = Now() - 1
'Response.cachecontrol = "no-cache"
%>
<!--#include file="../db.asp"-->
<!--#include file="../inc/function.asp"-->
<html>
<head>
<title><%=title%></title><%
  if isLogin = false then
     Response.Write viewinfo("Logingo","","")
	 Response.end
  end if
%>

<meta http-equiv=content-type content="text/html; charset=gb2312">
<meta content="mshtml 6.00.2800.1528" name=generator>
<meta content=frontpage.editor.document name=progid></head>
<link href="<%=HOME_PATH%>css/style.css" rel="stylesheet" type="text/css">
<script type = 'text/javascript' src = '<%=HOME_PATH%>js/layer00.js'></script>
<script type = 'text/javascript' src = '<%=HOME_PATH%>js/dateselect.js'></script>
<style>
.bar{font:12px;color: #000000;border:1px solid buttonface;cursor:default;behavior:url(<%=HOME_PATH%>css/button.htc);}

.up1{  border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow;color: #FF9900;border-top: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow;padding: 1px }
.down1{  border: 1 inset buttonhighlight;padding: 0;cursor:default; }
.tempA input {height:19px;}
.tempB { border-top:0px solid #ffffff;border-right:0px solid #ffffff;border-left:0px solid #ffffff;border-bottom:1px solid #848284;background-color:transparent;}
.tempC {border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow;color: #FF9900;border-top: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow;}

 tempD {border-top:solid 1px #fff;border-left:solid 1px #fff;border-right:solid 1px #d6d3ce;border-bottom:solid 1px #d6d3ce;}
 .tempE{border-style:none;height:15px;width:100%;}
.tempF {border-top:solid 0px #fff;border-left:solid 0px #fff;border-right:solid 1px #d6d3ce;border-bottom:solid 1px #d6d3ce;}
.tr_tempF td {border-top:solid 0px #fff;border-left:solid 0px #fff;border-right:solid 1px #d6d3ce;border-bottom:solid 1px #d6d3ce;}
</style>

<style type = 'text/css'>
.clicked { background-color:#08246B;color:#ffffff;border-top:solid 0px #fff;border-left:solid 0px #fff;border-right:solid 1px #d6d3ce;border-bottom:solid 1px #d6d3ce;}
.onover { background-color:#ffffff;border-left:1px solid #000;border-top:1px solid #000;border-bottom:1px solid #000;border-right:1px solid #000;line-height:17px;height:20px;text-align:center;}
.onout { background-color:transparent;border-left:1px solid #000;border-top:1px solid #000;border-bottom:1px solid #000;border-right:1px solid #000;line-height:17px;height:20px;text-align:center;}
.tr_clicked td{ background-color:#08246B;color:#ffffff;border-top:solid 0px #fff;border-left:solid 0px #fff;border-right:solid 1px #d6d3ce;border-bottom:solid 1px #d6d3ce;}

</style>

<script language="JavaScript">
<!--
function clicked_(s) {
 var td_len = td_.length;
 if (td_len == undefined) { 
    td_.className = 'clicked';
    form.box_.checked = true;
	tr.className = 'tr_clicked'
    }else{
		for(i_ = 0 ; i_<td_len;i_++) {
			if(s!=i_) {
			   tr[i_].className = ''
			   form.box_[i_].checked = false;
			}else{
			   tr[i_].className = 'tr_clicked'
			   form.box_[i_].checked = true;
			}
		}
    }
}


function checked_(s) {
   var selLen = form.selAnnounce.length ;
   if (selLen==undefined) {
       if(form.selAnnounce.checked == true) {
	      selid_.className = 'clicked' ;
	   }else{
	      selid_.className = 'tempF' ;
	   }
   }else{
      if(form.selAnnounce[s].checked == true) {
         selid_[s].className = 'clicked';
      }else{
         selid_[s].className = 'tempF';
      }
   }
}


function che(sel) {
   if(sel=='m') {
   var che_len = document.form.box_.length
      if(che_len == undefined && document.form.box_.checked == true) {
         WindowOpen('Edit.asp?APid='+document.form.box_.value,'outview',738,480,'Y');
      }else{
           for(i_che = 0 ;i_che < che_len;i_che++) {
               if(document.form.box_[i_che].checked == true) {
			      WindowOpen('Edit.asp?APid='+document.form.box_[i_che].value,'outview',738,480,'Y');
	           }else{
	           }
	       }
	  }
   }

   if(sel=='reload') { location.reload();}
   if(sel=='del') {
      var che_len = document.form.box_.length
      var sel_len = document.form.selAnnounce.length
	  var vinfo = '';
      var vinfo_ = '';
	  var vinfobox = '';
	  var vinfobox_ = '';
	  var vinfosel = '';
	  var vinfosel_ = '';

      if(sel_len==undefined) {
		 var selAnnounceCheck = document.form.selAnnounce.checked
		 var selAnnounceValue = document.form.selAnnounce.value ;
		 var box_Check = document.form.box_.checked ;
		 var box_Value = document.form.box_.value ;
	  	 if(selAnnounceCheck == true) {
			vinfosel = selAnnounceValue ;
		 }else{
			vinfosel = '';
		 }

		 if(box_Check == true) {
			vinfobox = box_Value ;
		 }else{
			vinfobox = '';
		 }

			vinfosel_+=vinfobox
			vinfobox_+=vinfosel

	  }else{

	     for(i_sel = 0; i_sel < sel_len ; i_sel++) {
		     var selAnnounceCheck = document.form.selAnnounce[i_sel].checked
			 var selAnnounceValue = document.form.selAnnounce[i_sel].value + "," ;
		     var box_Check = document.form.box_[i_sel].checked ;
		     var box_Value = document.form.box_[i_sel].value ;

		     if(selAnnounceCheck == true) {
			    vinfosel = selAnnounceValue ;
			 }else{
			    vinfosel = '';
			 }

			 if(box_Check == true) {
			    vinfobox = box_Value ;
			 }else{
			    vinfobox = '';
			 }
			vinfosel_+=vinfosel
			vinfobox_+=vinfobox
		 }
      }



	  if (!vinfosel_ == '') {vinfo_ = vinfosel_;}else{vinfo_ = vinfobox_;}
      if(vinfo_!='') {
		 var vinfo_Split = vinfo_.split(",")
			 vinfo_SplitLen = vinfo_Split.length
		 var str_ = '';
		 for(i = 0 ; i < vinfo_SplitLen-1;i++) {
             if(i!==vinfo_SplitLen-2) {
				str = vinfo_Split[i] + "," ;
			 }else{
				str = vinfo_Split[i] 
			 }

			str_+=str
         }
	  if(str_ == '')str_ = vinfo_ ;
		 document.form.Execute.value = str_ ;
	     con =  confirm('即将删除记录:\n' + str_ + '\n是否继续?');
		 if(con) {form.submit();}else{return false;}
	  }else{
	   return false;
      }

   }
	     
}




//-->
</script>




⌨️ 快捷键说明

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