📄 tempmateriellist.aspx
字号:
<%@ Page language="c#" Codebehind="tempMaterielList.aspx.cs" AutoEventWireup="false" Inherits="jpgSoftware_SM.stock.tempMaterielList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>tempMaterielList</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 deleteMateriel(menuStr)
{
if(window.confirm('确定要删除该物料信息吗?'))
{
window.showModalDialog('selectModalDialog.aspx?tempMateriel_Delete.aspx?id='+menuStr,'','dialogWidth:10px;dialogHeight:10px;help:yes;scroll:no;status:no');
}
// window.location.href = location.href;
window.parent.frames["tempMateriel"].location.href = window.parent.frames["tempMateriel"].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;
}
function materielAdd()
{
window.showModalDialog('selectModalDialog.aspx?tempMateriel_Add.aspx?ph='+window.parent.document.Form1.stockPh.value,'s','dialogWidth:650px;dialogHeight:230px;help:no;scroll:no;status:no');
window.parent.frames["tempMateriel"].location.href = window.parent.frames["tempMateriel"].location.href;
//window.location.href = location.href;
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout" topmargin="0" leftmargin="0">
<form id="Form1" method="post" runat="server">
<table width="620" border="0">
<tr>
<td></td>
</tr>
<tr>
<td class="contentFont">物料详细信息 <a href="javascript:materielAdd()">新增</a>
</td>
</tr>
</table>
<table width="620" height="90%" border="0" cellpadding="0" cellspacing="0" class="hTable_cro">
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" id=storageTable>
<asp:repeater id="materielListRp" runat="server">
<HeaderTemplate>
<tr class="table_botLine" align="center" bgcolor="#CCCCCC">
<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>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr id="NM<%#DataBinder.Eval(Container.DataItem,"ID")%>" onMouseOver="this.bgColor='LemonChiffon'" onMouseOut="this.bgColor=''" )"
>
<td width="82" class="table_botLine"> <%#DataBinder.Eval(Container.DataItem,"materielID")%> </td>
<td width="185" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"materielName")%> </td>
<td width="109" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"spec")%> </td>
<td width="75" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"unit")%>
<td width="76" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"price")%></td>
<td width="76" class="table_botLine table_leftLine"> <%#DataBinder.Eval(Container.DataItem,"materielNum")%></td>
<td width="69" class="table_botLine table_leftLine " align=center> <a href="#" onClick="javascript:deleteMateriel('<%#DataBinder.Eval(Container.DataItem,"ID")%>')"><img src=../Image/delete.gif width=12 height=13 border=0 alt="删除物料信息"></a></td>
</tr>
</ItemTemplate>
</asp:repeater></table>
</td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -