📄 outhistory.asp
字号:
<%@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;}
.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 { color:#ffffff;border-top:solid 0px #fff;border-left:solid 0px #fff;border-right:solid 1px #d6d3ce;border-bottom:solid 1px #d6d3ce;}
.onover { 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 { 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{ 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';
tr.className = 'tr_clicked'
form.box_.checked = true;
}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('outview.asp?saleid='+document.form.box_.value,'outview',screen.availWidth-50,screen.availHeight-100,'');
}else{
for(i_che = 0 ;i_che < che_len;i_che++) {
if(document.form.box_[i_che].checked == true) {
WindowOpen('outview.asp?saleid='+document.form.box_[i_che].value,'outview',screen.availWidth-50,screen.availHeight-100,'');
}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>
</head>
<body style = 'margin:0px;border-style:none;' scroll = 'no'>
<div style = 'text-align:center;'>
<table border = '0' cellspacing = '0' cellpadding = '2' borderColorLight='#848284' borderColorDark='#eeeeee' style = 'width:100%;height:auto; border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow;color: #FF9900;border-top: 0px solid buttonhighlight; border-bottom: 1px solid buttonshadow;padding: 1px ;'/>
<tr>
<!--#include file="../topleft.asp"-->
<td style = 'width:auto;'> </td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:che('m');" /><img src="../images/mingxi00.gif" width="35" height="33" border="0" alt="明细"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:che('m');" /><img src="../images/update00.gif" width="35" height="33" border="0" alt="修改"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:form.Options.value = 'delTrue';form.submit();" onclick = "javascript:return che('del');" /><img src="../images/del00.gif" width="35" height="33" border="0" alt="删除"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:che('reload');" /><img src="../images/reload00.gif" width="35" height="33" border="0" alt="刷新"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:SDD('<%=HOME_PATH%>Logout.asp','Logout',400,150,'');" /><img src="../images/exit00.gif" width="35" height="33" border="0" alt="退出"></div></td>
<td style = 'width:10px;'></td>
</tr>
</table>
<%
Call DateSearch(DateStar,DateEnd,DateSQL,"ALL",Dateinfo)
Rselsupplierid = GetText("selsupplierid","G","number",1,10,0)
key_ = trim(Request("key"))
keySQL = ""
BadStr = " ~`!@#$%^&*()-_+=|\{}[][]:;" & chr(34) & chr(39) & "<,>.?/"
viewBadStr = ""
key__ = Check(BadStr,key_,viewBadStr,"0")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -