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

📄 default.asp

📁 进销存软件源代码
💻 ASP
字号:
<!-- #include virtual="/eB3KTransaction.asp" -->
<!-- #include file="Common.asp" --><%
dim eBD,rs
dim bdTitle, bdIServerFun

Set eBD = Server.CreateObject("eB3KCommon.BillDocument")
if eBD.bdGetDetailByType(Conn, CLng(bdType), rs) = 1 then
	bdTitle = CStr(rs("BillName"))
	bdIServerFun = CStr(rs("ISVRFUN"))
	set rs = nothing
end if
set eBD = Nothing
%><HTML><HEAD><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><LINK REL=stylesheet HREF="/Client/All.css" TYPE="text/css"><script src="/Client/ebComm.js"></script></HEAD>
<script>
var RootID='<%=bdIServerFun%>';
</script>
<script src="/Client/ebo.js"></script>
<script src="/Client/Request.js"></script>
<script src="/Client/IClient.js"></script>
<script src="/Client/IServer.js"></script>
<script src="/Client/grid.js"></script>
<script src="/Client/cbLib.js"></script>
<script src="/Client/datectrl.js"></script>
<script>
function printClick(fun){
	if (bdID.value.length==0) alert ('请打开要打印的单据!!');
	else
		if (!fun) window.open('/server/'+RootID+'/Print/default.asp?ID='+bdID.value+'&t='+new Date().valueOf(),'_blank');
		else window.open('/server/'+RootID+'/Print/default.asp?Preview=1&ID='+bdID.value+'&t='+new Date().valueOf(),'_blank');
}
</script>
<BODY>
<div id=bdMenu>
</div>

<div id=bdHead>
<INPUT type=hidden id=bdID>
<TABLE cellSpacing=1 cellPadding=1 width=100%>
<TR><TD colspan=3 align=center><%=bdTitle%></TD></TR>
<TR><TD width=33%>仓库:<input type=hidden id=bdhStock><input id=bdhStockText size=20>&nbsp;<INPUT type="button" value="搜索" onclick="stockClick(this,bdhStockText,bdhStock)"></TD>
<TD width=34%>自编号:<INPUT id=bdhUserID size=6></TD></TR>
</TABLE>
<TABLE cellSpacing=1 cellPadding=1 width=100%>
<TR><TD width=66%>备注:<input id=bdhMemo size=60></TD>
<TD width=34%>日期:<input id=bdhDate size=20>&nbsp;<input type=button value="↓" onclick="dateShow(bdhDate)"></TD></TR>
</TABLE>
</div>

<div id=bdBodyDetail width=100%></div>

<div id=bdFoot>
<TABLE cellSpacing=1 cellPadding=1 width=100%>
<TD>制单:<input id=bdfOwner size=10></TD>
<TD>审核:<input id=bdfAuditor size=10></TD></TR>
</TABLE>
</div>
<br>
<div id=bdControl>
搜索:<input type=text size=40 id=txtSearchInput  onfocus="select()" onkeypress="EnterKeyPublic()">&nbsp;<input type=button value="Go" onclick="productClick(this,txtSearchInput)"><input id=GetProduct type=button style="display: none" onclick="GetPro()">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=button value="保存" onclick="saveClick(this)">&nbsp;<input type=button value="打开" onclick="openClick(this)">&nbsp;<input type=button value="审核" onclick="auditClick(this)">&nbsp;<input type=button value="预览" onclick="printClick(1)">&nbsp;<input type=button value="打印" onclick="printClick(0)">&nbsp;<input type=button value="新建" onclick="newClick()">
</div>
<iframe id=bdSelectArea width=500 height=500 style="display: none" border=0 frameborder=0 framespacing=0 marginheight=0 marginwidth=0></iframe>
<iframe id=bdSelectArea2 width=500 height=500 style="display: none" border=0 frameborder=0 framespacing=0 marginheight=0 marginwidth=0></iframe>
<iframe id=bdLoadSave width=500 height=500 style="display: none" border=0 frameborder=0 framespacing=0 marginheight=0 marginwidth=0></iframe>
<div id=bdPanel width=100 height=60 style="position:absolute; display:none; border:1 solid #000000">
<div id=bdPanelMemo><input id=txtMemo size=30 OnFocus="this.select()" OnKeyPress="EnterKeyDo(panelMemoModify)">&nbsp;<input type=button value="确定" onclick="panelMemoModify()">&nbsp;<input type=button value="删除" onclick="panelDelete()"></div>
<div id=bdPanelNumeric><input id=txtNumeric size=10 OnFocus="this.select()" OnKeyPress="EnterKeyDo(panelNumericModify)">&nbsp;<input type=button value="确定" onclick="panelNumericModify()">&nbsp;<input type=button value="删除" onclick="panelDelete()"></div>
<div id=bdPanelProduct><input type=button value="删除" onclick="panelDelete()"></div>
</div>
</BODY>
<script>
txtSearchInput.focus();
function GetPro(){
	IServer(bdLoadSave,'Product.GetPro','Find='+txtSearchInput.value,cbProduct);
}
function EnterKeyPublic(){
	if (window.event.keyCode==13)
		 productClick(this,txtSearchInput);	
}
</script>
<script src="SaleUnTrend.js"></script>
<script title=eboReg>
eboReg('ID',bdID,'',deftextproc);
eboReg('UserID',bdhUserID,'',deftextproc);
//eboReg('Operator',bdhOperator,'',deftextproc);
//eboReg('OperatorText',bdhOperatorText,'',deftextproc);
eboReg('Stock',bdhStock,'',deftextproc);
eboReg('StockText',bdhStockText,'',deftextproc);
eboReg('Date',bdhDate,'',deftextproc);
eboReg('Memo',bdhMemo,'',deftextproc);
eboReg('Owner',bdfOwner,'',deftextproc);
eboReg('Auditor',bdfAuditor,'',deftextproc);
eboReg('Detail',gDetail,'',productdetailproc);
</script>
</HTML>

⌨️ 快捷键说明

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