?? default.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>
<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>自編號:<INPUT id=bdhUserID size=6></TD>
<TD colspan=2>日期:<input id=bdhDate size=20> <input type=button value="↓" onclick="dateShow(bdhDate)" id=button1 name=button1></TD></TR>
<TR><TD colspan=3>備注:<input id=bdhMemo size=80></TD></TR>
</TABLE>
</div>
<div id=bdBodyDetail width=100%></div>
<div id=bdFoot>
<TABLE cellSpacing=1 cellPadding=1 width=100%>
<TR><TD width=33%>制單:<input id=bdfOwner size=10></TD>
<TD width=33%>審核:<input id=bdfAuditor size=10></TD>
<TD width=33%></TD></TR>
</TABLE>
</div>
<br>
<div id=bdControl>
搜索:<input type=text size=40 id=txtSearchInput> <input type=button value="Go" onclick="subjectClick(this,txtSearchInput)">
<input type=button value="保存" onclick="saveClick(this)"> <input type=button value="打開" onclick="openClick(this)"> <input type=button value="新建" onclick="Reset()">
</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=0 height=0 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)"> <input type=button value="確定" onclick="panelMemoModify()"> <input type=button value="刪除" onclick="panelDelete()"></div>
<div id=bdPanelNumeric><input id=txtNumeric size=10 OnFocus="this.select()" OnKeyPress="EnterKeyDo(panelNumericModify)"> <input type=button value="確定" onclick="panelNumericModify()"> <input type=button value="刪除" onclick="panelDelete()"></div>
<div id=bdPanelProduct><input type=button value="刪除" onclick="panelDelete()"></div>
</div>
</BODY>
<script src="default.js"></script>
<script>
function cbSubject(ifrid, fun, data){
if (fun=='data'){
x=Detail.data.length
for(y=0;y<x;y++){
if(Detail.data[y][0]==data[1]){
alert("這個科目已經(jīng)添加");
return;
}
}
Detail.append(data[1],data[2]);
Detail.refreshAll(1,0);
return;
}
return defcbiFrame(ifrid, fun, data);
}
function subjectClick(obj,idCtrl){
obj.disabled=true;
followControl(bdhMemo,getFrameElement(bdSelectArea));
IServer(bdSelectArea,'ExpenseSubject.Open','find='+escape(idCtrl.value),cbSubject);
obj.disabled=false;
}
</script>
<script title=eboReg>
eboReg('ID',bdID,'',deftextproc);
eboReg('UserID',bdhUserID,'',deftextproc);
eboReg('Date',bdhDate,'',deftextproc);
eboReg('Memo',bdhMemo,'',deftextproc);
eboReg('Owner',bdfOwner,'',deftextproc);
eboReg('Auditor',bdfAuditor,'',deftextproc);
eboReg('Detail',Detail,'',sDetailproc);
</script>
</HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -