📄 out.asp
字号:
<%@ LANGUAGE="VBScript"%>
<html>
<head>
<title>出库</title>
<style type="text/css">
<!--
.STYLE1 {font-size: 12px}
body { background-image: url(images/1.gif);}
.STYLE4 {font-size: 36px;font-family: "方正姚体";color: #0000FF;}
-->
</style>
</head>
<body topmargin="0" onload=this.document.input.out_num.focus();>
<p> </p>
<p class="STYLE1">
<!--#include file="conn.asp"-->
<!--#include file=function.asp-->
<%
getcangku(session("storage"))
if request("id")<>"" then
session("name_id")=request("id")
sql="select * from stock where name_id="&request("id")
rs.open sql,conn,3,2
if not rs.eof then
session("name")=rs("name")
session("now_stock")="<font color=red>"&rs("now_stock")&"</font> "&rs("unit")
rs.close
gettypepath
response.write " -> [ <font color=red>"&session("name")&" </font> ]"
else
showerror("没有找到记录!")
end if
%>
</p>
<p class="STYLE1"><img src="images/2.gif" width="89" height="122"><span class="STYLE4">库存管理系统 </span></p>
<form action="save_out.asp" method="POST" name="input">
<table width="555" border=0 align=center><tr>
<td width="75" align=right nowrap class="STYLE1"><font color=blue> 目前库存:</td>
<td width="388" class="STYLE1"><%=session("now_stock")%></td>
</tr>
<tr>
<td align=right nowrap class="STYLE1"><font color=blue>数量:</td>
<td><input class=STYLE1 type=textbox name="out_num" value=''> </td>
</tr>
<tr>
<td valign="top"><font color=blue>
<div align="right" class="STYLE1"> 备注:</div></td>
<td><textarea class=STYLE1 name=zy rows=3 cols=40></textarea></td>
</tr>
<tr>
<td align=right nowrap class="STYLE1"><font color=blue>种类:</td>
<td><input class=STYLE1 type=textbox name="zl" value=' '></td>
</tr>
<tr>
<td align=right nowrap class="STYLE1"><font color=blue>号数:</td>
<td><input class=STYLE1 type=textbox name="hs" value=' '></td>
</tr>
<tr>
<td align=right nowrap class="STYLE1"><font color=blue>提货商:</td>
<td class="STYLE1">
<%ShowUses%>
<a href=addtihuo.asp target=_blank>添加提货商</a></td>
</tr>
<tr>
<td>
<td><br><input class=STYLE1 type=submit name=ok value=出库>
<input class=STYLE1 type=reset name=reset value=取消>
<input class=STYLE3 type=button name=retu value=返回 onclick=history.go(-1) ></tr>
</table>
</form>
<span class="STYLE1">
<%
else
session("name_id")=0
showerror("你还没有登陆!")
end if
%>
</span>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -