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

📄 product_shouldin.aspx

📁 金苹果进销存管理系统-是一个用C#.net编写的非常使用而且功能强大的进销存的B/S系统
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="product_shouldIn.aspx.cs" AutoEventWireup="false" Inherits="jpgSoftware_SM.user.storage.product_in" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>product_in</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	<link href="../../styCss/sty1.css" rel="stylesheet" type="text/css">
		<link href="../../styCss/fontsty.css" rel="stylesheet" type="text/css">
		<script language="javascript" type="text/javascript">
		   
		   
		   function confirmInStorage(menuStr)
		   {
		     
		        if(window.confirm('确定该产品入库吗?'))
		        {
		           window.showModalDialog('selectModalDialog.aspx?product_shouldInConfirm.aspx?id='+menuStr,'','dialogWidth:10px;dialogHeight:10px;help:yes;scroll:no;status:no');
		        }
		     window.location.href = location.href;
		   }
		   
		  
		 function RandomNum()
			{
					var today = new Date();
					var yy = eval(today.getYear())+'';
					var mon = eval(today.getMonth()) + '';
					//mm=(mm.length>1)?mm:0+mm;
					var dd = eval(today.getDate()) + '';
					var hh = eval(today.getHours()) + '';
					var mm = eval(today.getMinutes()) + '';
					var ss = eval(today.getSeconds()) +'';
						
					var vrand = Math.round(Math.random()*1000000);
					//var vrand1 = Math.round(Math.random()*1000000);
					//alert(ss.length);

					if(mon.length==1)
					{
						mon = '0' + mon;
					//	alert(mon);
					}
					//alert(yy + mon + dd + hh + mm + ss + vrand);
					return yy + mon +dd + "-" + hh + mm + ss + "-" + vrand;
			}
		   
		   var SelEmpl = '';
			function SelectEmpl(eid)
			{
				if (SelEmpl != '')
				{
					document.all['NM'+SelEmpl].style.backgroundColor = '';
					document.all['NM'+SelEmpl].style.color = '';
				}
				
				SelEmpl = eid;				
				document.all['NM'+eid].style.backgroundColor = 'gold';
				document.all['NM'+SelEmpl].style.color = 'black';
				
				//------------------------------------
				var returnValue1="";
				var reportID = "";
				var TableRows=document.Form1.all["storageTable"].rows;
			    var ids = eid-1;
					if(TableRows[ids].cells[0].childNodes[0].tagName=="INPUT")
					{
						
					 returnValue1 = TableRows[ids].cells[0].childNodes[0].value;
							
					}
				
			}
		 
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout" topmargin="0" leftmargin="0">
		<form id="Form1" method="post" runat="server">
			<table height="5">
				<tr>
					<td></td>
				</tr>
			</table>
			<table width="100%" height="98%" border="0" cellpadding="0" cellspacing="0" class="hTable_cro">
				<tr>
					<td valign="top">
						<table width="100%" cellpadding="0" cellspacing="0"  id="storageTable">
							<tr>
								<td height="20" colspan="8" align="center" background="../../Image/titleLine.gif" class="whitFont">未入库产品列表</td>
							</tr>
							<asp:repeater id="inStorageListRp" runat="server">
								<HeaderTemplate>
									<tr class="table_botLine" align="center">
										<td class="table_botLine table_topLine ">图标</td>
										<td class="table_botLine table_leftLine table_topLine">出库编号</td>
										<td class="table_botLine table_leftLine table_topLine">产品名称</td>
										<td class="table_botLine table_leftLine table_topLine">产品型号</td>
										<td class="table_botLine table_leftLine table_topLine">产品规格</td>
										<td class="table_botLine table_leftLine table_topLine">接收地</td>
										<td class="table_botLine table_leftLine table_topLine">数 量</td>
										<td class="table_botLine table_leftLine table_topLine ">事件</td>
									</tr>
								</HeaderTemplate>
								<ItemTemplate>
									<tr id="NM<%#DataBinder.Eval(Container.DataItem,"formID")%>" onMouseOver="this.bgColor='LemonChiffon'"   onMouseOut="this.bgColor=''" onClick="javascript:SelectEmpl('<%#DataBinder.Eval(Container.DataItem,"formID")%>')">
										<td width="72" class="table_botLine  ">&nbsp;</td>
										<td width="98" class="table_botLine  table_leftLine">&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"outstorageID")%>
									  </td>
										<td width="213" class="table_botLine  table_leftLine">&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"productName")%>
									  </td>
										<td width="133" class="table_botLine  table_leftLine">&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"productType")%>
									  </td>
										<td width="171" class="table_botLine  table_leftLine">&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"productSpec")%>
									  <td width="256" class="table_botLine  table_leftLine">&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"inwhere")%>
										
									  <td width="164" class="table_botLine  table_leftLine">&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem,"productNum")%>
									  </td>
										<td width="123" class="table_botLine  table_leftLine " align="center">&nbsp;&nbsp; 
												<a href=# onClick="javascript:confirmInStorage('<%#DataBinder.Eval(Container.DataItem,"formID")%>')" >入库</a>
											 |  <a href="#" onClick="">退回</a></td>
									</tr>
								</ItemTemplate>
								</asp:repeater>
								
							</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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