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

📄 inventorysettingdetail.asp

📁 1 除掉了 时间 限制 2 除掉了 人数 限制 改为 500人 原为5人 3 发现一点小缺陷 增加人员的时候没有判断 登陆名是否重复! 自己写吧~~~:) 4 又 是一点缺陷
💻 ASP
字号:
<!--#include file="../config.ini" -->
<!--#include file="../commfunction.inc" -->
<%
	Dim objcheck
	Set objcheck=Server.CreateObject("SmartSales.CheckFunction")
	objcheck.CheckUserFunction "inventory","read"
	set objcheck=nothing

	dim connq
	set connq=server.CreateObject("adodb.connection")
	connq.Open connstring
	sql="select * from v_InventorySetting where id="&Request("id")
	set rsq=connq.Execute(sql)
	productid=rsq("productid")
	productcode=rsq("productcode")
	product=rsq("product")
	Safetystock=rsq("Safetystock")
	refcost=rsq("refcost")
	StockCycle=rsq("StockCycle")
	WhseName=rsq("WhseName")
	whseid=rsq("whseid")
	lastdate=rsq("lastdate")

	rsq.Close
	set rsq=nothing
	connq.Close
	set connq=nothing
%>
<html>
<head>
<LINK href="../global.css" rel=STYLESHEET type=text/css>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>安全库存</title>
</head>
<script language=javascript>
function closewindow(){
	//window.opener.location.reload();
	window.close();
}
</script>
<body leftmargin="10" rightmargin="10" topmargin="10">
<%'库存设定#############################################################################################################%>
  
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="FFFFFF" align="center">
  <tr> 
    <td height="25" colspan=3 align="left" class=title>安全库存</td>
    <td height="25" align="right">
	<a href="newinventorysetting.asp?id=<%=Request("id")%>&sign=1"><img src="../images/button_edit.gif" style="cursor:hand" border=0></a>&nbsp;&nbsp;	
	<a href="../delete.asp?inventorysettingid=<%=Request("id")%>"><img src="../images/delete.gif" style="cursor:hand" border=0></a>&nbsp;&nbsp;	
      <img src="../images/button_close.gif" style="cursor:hand" border=0 onClick="javascript:closewindow();"></td>
  </tr>
  <tr> 
    <td height="16" colspan="4" background="../images/title.gif">&nbsp;</td>
  </tr>
  <tr> 
    <td  colspan="4" height=4></td>
  </tr>
  <tr> 
    <td width="15%" height="25" align=center bgcolor="DEDFDE">型号</td>
    <td height="25" colspan="3" align="left" valign="middle" bgcolor="efefef"><font color=red><%=product%></font> 
    </td>
  </tr>
  <tr valign="middle"> 
    <td width="15%" height="25" align=center bgcolor="DEDFDE">货号</td>
    <td width="35%" height="25" align=left bgcolor="efefef"><%=productcode%></td>
    <td width="15%" height="25" align=center bgcolor="DEDFDE">参考成本</td>
    <td height="25" align=left bgcolor="efefef"><%=refcost%></td>
  </tr>
  <tr valign="middle"> 
    <td width="15%" height="25" align=center bgcolor="DEDFDE">安全库存</td>
    <td width="35%" height="25" bgcolor="efefef"><%=Safetystock%></td>
    <td width="15%" bgcolor="DEDFDE" align="center">库存周期</td>
    <td bgcolor="efefef"><%if isnull(StockCycle) then response.write "N/A" else response.write StockCycle&"个工作日"%></td>
  </tr>
  <tr valign="middle"> 
    <td height="25" align=center bgcolor="DEDFDE">仓库</td>
    <td height="25" bgcolor="efefef"><%=whsename%></td>
    <td bgcolor="DEDFDE" align="center">最近库存更新</td>
    <td height="25" bgcolor="efefef"><%=lastdate%></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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