machiningmateriellist.aspx

来自「进销存管理软件,包括服装,制造型销售企业等」· ASPX 代码 · 共 122 行

ASPX
122
字号
<%@ Page language="c#" Codebehind="machiningMaterielList.aspx.cs" AutoEventWireup="false" Inherits="jpgSoftware_SM.stock.machiningMaterielList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

<html>
  <head>
    <title>machiningMaterielList</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 disposeMateriel(menuStr,materielID)
		   {  

             // clss = 1 未分类原料库直接调拨; class = 2 加工后物料调拨
		     window.showModalDialog('selectModalDialog.aspx?selectMaterielStorage.aspx?id='+menuStr+"&materielID="+materielID+"&class=2",'','dialogWidth:510px;dialogHeight:150px;help:no;scroll:no;status:no');
		     window.location.href = location.href; 
		   }
		   
		   function machiningMateriel(menuStr)
		   {
		   
		     window.showModalDialog('selectModalDialog.aspx?selectMachiningMateriel.aspx?id='+menuStr,'','dialogWidth:650px;dialogHeight:300px;help:yes;scroll:no;status:no');
		     window.location.href = location.href;
		   }
		   
		   function machiningMaterielOK(menuStr)
		   {
			if(window.confirm('确定此批物料已加工好吗?'))
					{
					  window.showModalDialog('selectModalDialog.aspx?chanageMachiningMaterielStatus.aspx?id='+menuStr,'s','dialogWidth:10px;dialogHeight:10px;help:no;scroll:no;status:yes');
			           
					}
			 window.location.href = location.href;
		      
		   }
		     
		  function addMateriel()
		   {
		        window.showModalDialog('selectModalDialog.aspx?materiel_Add.aspx','','dialogWidth:650px;dialogHeight:450px;help:no;scroll:no;status:yes');
		      window.location.href = location.href;
		      
		   }
		 
		  
		 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';
				
				//------------------------------------
				
				
			}
		</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="760" 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="machiningMaterielListRp" 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="71" class="table_botLine  ">&nbsp;<%#DataBinder.Eval(Container.DataItem,"stockph")%></td>
										<td width="93" class="table_botLine  table_leftLine" align="center">&nbsp;<%#DataBinder.Eval(Container.DataItem,"materielID")%>
									  </td>
										<td width="198" class="table_botLine  table_leftLine" align="center">&nbsp;<%#DataBinder.Eval(Container.DataItem,"materielName")%>
									  </td>
										<td width="91" class="table_botLine  table_leftLine" align="center">&nbsp;<%#DataBinder.Eval(Container.DataItem,"spec")%>
									  </td>
										<td width="58" class="table_botLine  table_leftLine" align="center">&nbsp;<%#DataBinder.Eval(Container.DataItem,"unit")%>
									  <td width="59" class="table_botLine  table_leftLine" align="center">&nbsp;<%#DataBinder.Eval(Container.DataItem,"num")%>
									  </td>
										
									  <td width="105" class="table_botLine  table_leftLine" align=center><font color=#ff0000><%#DataBinder.Eval(Container.DataItem,"status1")%></font>
									  </td>
										<td width="81" class="table_botLine  table_leftLine " align=center> <a href="#" onClick="javascript:machiningMaterielOK('<%#DataBinder.Eval(Container.DataItem,"FormID")%>')">加工好
												</a>  |  <a href="#" onClick="javascript:disposeMateriel('<%#DataBinder.Eval(Container.DataItem,"FormID")%>','<%#DataBinder.Eval(Container.DataItem,"materielID")%>')">调拨</a></td>
									</tr>
								</ItemTemplate>
							
							</asp:repeater></table>
					</td>
				</tr>
		  </table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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