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

📄 enter.asp

📁 仓库管理系统
💻 ASP
字号:
<%@ LANGUAGE="VBScript"%>
<html>
<head>
<title>入库</title>
<style type="text/css">
<!--
body {background-image: url(images/1.gif);}
.STYLE1 {font-size: 36px;color: #0000FF;font-family: "方正姚体";}
.STYLE2 {color: #FFFFFF}
.STYLE5 {font-size: 12px}
-->
</style></head>
<body topmargin="0" onload=this.document.input.in_num.focus();
<p>&nbsp;</p>
  <!--#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="&session("name_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

%>

<form action="save_enter.asp" method="POST" name="input">
  <p align=left class="STYLE1"><span class="STYLE2"><img src="images/2.gif" width="89" height="133"></span>库存管理系统  
  <p>
<table align=center border=0>
<tr>
   <td align=right nowrap class="STYLE5">目前库存:</td>
   <td class="STYLE5"><%=session("now_stock")%></td>
 </tr>

 <tr>
   <td align=right nowrap class="STYLE5">数量:</td>
   <td class="STYLE4"><input name="in_num" type=textbox class=STYLE5 value=''>   </td>
 </tr>
 <tr>
   <td align=right nowrap class="STYLE5">单价:</td>
   <td class="STYLE4"><input name="in_price" type=textbox class=STYLE5 value=''>   </td>
 </tr>
 <tr>
   <td valign="top" class="STYLE4"><div align="right" class="STYLE5">备注:</div></td>
   <td class="STYLE4"><textarea name=zy cols=40 rows=3 class=STYLE5></textarea>   </td>
 </tr>
 <tr>
   <td align=right nowrap class="STYLE5">种类:</td>
   <td class="STYLE4"><input name="zl" type=textbox class=STYLE5 value=' '></td>
 </tr>
 <tr>
   <td align=right nowrap class="STYLE5">号数:</td>
   <td class="STYLE4"><input name="hs" type=textbox class=STYLE5 value=' '></td>
 </tr>

 <tr>
   <td align=right nowrap class="STYLE5">供应商:</td>
   <td class="STYLE4">
     <span class="STYLE5">
     <%ShowProvider%>
  
     [ <a href=addprovider.asp target=_blank>添加供应商</a> ]</span> </td>
 </tr>

 <tr>
   <td class="STYLE4">
   <td class="STYLE4"><br><input class=STYLE5 type=submit name=ok value=添加> 
    <input class=STYLE5 type=reset name=reset value=取消>
    <input class=STYLE3 type=button name=retu value=返回 onclick=history.go(-1) >  </tr>
</table>
</form>
<span class="STYLE4">
<%
else
  session("name_id")=0
  showerror("你还没有登录!")
end if
%>
</span>
</body>
</html>

⌨️ 快捷键说明

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