📄 undisposedmateriellist.aspx
字号:
<%@ Page language="c#" Codebehind="undisposedMaterielList.aspx.cs" AutoEventWireup="false" Inherits="jpgSoftware_SM.stock.undisposedMaterielList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>未处理物料列表</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)
{
window.showModalDialog('selectModalDialog.aspx?selectMaterielStorage.aspx?id='+menuStr+"&materielID="+materielID,'','dialogWidth:510px;dialogHeight:150px;help:no;scroll:no;status:no');
window.location.href = location.href;
}
function machiningMateriel(menuStr)
{
if(window.confirm('确定要加工该批物料吗?'))
{
window.showModalDialog('selectModalDialog.aspx?selectMaterielStorage.aspx?id='+menuStr,'','dialogWidth:10px;dialogHeight:10px;help:yes;scroll:no;status:no');
}
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';
//------------------------------------
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="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="materielListRp" 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 "> <%#DataBinder.Eval(Container.DataItem,"stockph")%></td>
<td width="93" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"materielID")%>
</td>
<td width="152" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"materielName")%>
</td>
<td width="95" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"spec")%>
</td>
<td width="63" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"unit")%>
<td width="108" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"price")%>
</td>
<td width="100" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"materielClassID")%>
</td>
<td width="74" class="table_botLine table_leftLine " align=center> <a href="#" onClick="javascript:machiningMateriel('<%#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -