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

📄 dx_defective_list.asp

📁 功能介绍: 1、产品入库
💻 ASP
字号:
<!--#include file="inc/config.asp"-->
<!--#include file="inc/Dx_admin_check.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link href="Css/style.css" rel="stylesheet" type="text/css">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=WebName%></title>
</head>
<script>
function CheckAll(form)  {
  for (var i=0;i<form.elements.length;i++)    {
    var e = form.elements[i];
    if (e.name != 'chkall')       
	e.checked = form.chkall.checked; 
   }
  }
</script>

<script>
function Show(dx_ToDepot_product,dx_ToDepot_buy_count,dx_ToDepot_buy_price) {
window.opener.document.form1.dx_defective_produce.value = dx_ToDepot_product;
window.opener.document.form1.dx_defective_price.value = dx_ToDepot_buy_price;
window.opener.document.form1.dx_defective_buy_count.value = dx_ToDepot_buy_count;
window.close();}
</script>
<body>
<form name="form1" action=""> 
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED">
  <tr>
    <td><img src="Images/r_1.gif" alt="" /></td>
    <td width="100%" background="Images/r_0.gif"><table cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td>&nbsp;选择商品</td>
        <td align="right">&nbsp;</td>
      </tr>
    </table></td>
    <td><img src="Images/r_2.gif" alt="" /></td>
  </tr>
  <tr>
    <td></td>
    <td class="category"> <!--startprint-->
      <table width="100%" border="1" cellspacing="1" cellpadding="4" class="toptable grid">
        <tr class="category">
          <td align="center"><strong>商品编号</strong></td>
          <td align="center"><strong>进货价</strong></td>
          <td align="center"><strong>售货价</strong></td>
          <td align="center"><strong>进货数量</strong></td>
          <td align="center"><strong>次品回库</strong></td>
          <td align="center"><strong>添加人</strong></td>
          <td width="24%" align="center"><strong>添加时间</strong></td>
          </tr>
<%
sql="select * from dx_todepot order by dx_todepot_id"
rs.open sql,conn,1,1
if not rs.eof then
 while not rs.eof
%>
        <tr onmouseover="this.className='highlight'" onmouseout="this.className=''" 
		ondblclick="Show(<%=rs("dx_ToDepot_product")%>,<%=rs("dx_ToDepot_buy_count")%>,<%=rs("dx_ToDepot_buy_price")%>);">
          <td width="12%" align="center"><%=rs("dx_ToDepot_product")%></td>
          <td width="11%" align="center"><%=rs("dx_ToDepot_buy_price")%></td>
          <td width="11%" align="center"><%=rs("dx_ToDepot_sell_price")%></td>
          <td width="12%" align="center"><%=rs("dx_ToDepot_buy_count")%></td>
          <td width="14%" align="center"><%=rs("dx_ToDepot_ToNew")%></td>
          <td width="16%" align="center"><%=rs("dx_ToDepot_user")%></td>
          <td align="center" valign="middle"><%=rs("dx_ToDepot_time")%></td>
          </tr>
<%
rs.movenext
wend
%>
        <tr class="category">
          <td colspan="7" align="right">&nbsp;</td>
        </tr>
<%
else
%>
        <tr class="category">
          <td colspan="7" align="center"><strong style="color:#FF0000">没找到记录</strong></td>
        </tr>
<%
end if
rs.close
%>
      </table>
      <!--endprint--></td>
    <td></td>
  </tr>
  <tr>
    <td><img src="Images/r_4.gif" alt="" /></td>
    <td></td>
    <td><img src="Images/r_3.gif" alt="" /></td>
  </tr>
</table>
</form>
</body>
</html>



⌨️ 快捷键说明

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