📄 stuffhistory.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="BaseInfo_StuffHistory, App_Web_eihb9n8s" %>
<html>
<head id="Head1" runat="server">
<title>入库单列表</title>
<link rel="stylesheet" href="../css/master.css" type="text/css" />
<script language="javascript">window.status="入库单列表";</script>
</head>
<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" bgcolor="#ffffff">
<form id="form1" runat="server">
<!--快捷菜单-->
<div style="overflow-x:auto;width:830; overflow-y:auto;height:65;background-color:#ffffff;border-top:#000000 1px solid;border-left:#000000 1px solid;border-bottom:#000000 0px solid;border-right:#000000 1px solid;">
<table cellpadding="0" width="100%" cellspacing="0" style="cursor:default" border=0 style="padding:1px 1px 1px 1px">
<tr>
<td>物料(半成品)编号:</td>
<td><input class="textBox2" id="txtPoNo" value="<%=stuffNo %>" readonly/></td>
<td>物料(半成品)名称:</td>
<td><input class="textBox2" value="<%=stuffName %>"id="txtSupplier" readonly/></td>
</tr>
<tr>
<td>物料(半成品)规格:</td>
<td><input class="textBox2" id="txtDate1" value="<%=stuffSpec %>" readonly/></td>
<td>当前库存:</td>
<td><input class="textBox2" id="txtDate2" value="<%=stock %>" readonly/>期后库存<input id="Text1"
class="textBox2" readonly="readonly" value="<%=jdkc %>" /></td>
</tr>
<tr><td colspan="4" style="color:blue">物料(半成品)跟踪:</td></tr>
</table>
</div>
<!--=================================================================================-->
<span id=span3 style="z-index:4;position:absolute;left:0;top:0;border-top:0px inset;border-left:1px inset;border-bottom:none;border-right:1px inset;overflow-y:hidden;overflow-x:hidden;padding-right:0"></span>
<!--=================================================================================-->
<div id="span1" style="overflow-x:auto;width:830; overflow-y:auto;height:430;background-color:f6f6f6;border-top:#000000 1px solid;border-left:#000000 1px solid;border-bottom:#000000 1px solid;border-right:#000000 1px solid;"onscroll="vbs:HScroll">
<table border=0 cellspacing=0 cellpadding=0 id=tb1 STYLE="table-layout: fixed; background-Color:#ffffff;border-left:buttonface 1px solid;">
<tr style="background-image:url('../images/tr.gif');height:22px">
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>编号</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:80">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>日期</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:75">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>进</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:75">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>出</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:100">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>操作员</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:100">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>单号</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:120">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>类型</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
</tr>
<asp:Repeater ID="rptlist" runat="server">
<ItemTemplate>
<tr>
<td class="td1"> </td>
<td class="td1"> <%#DateTime.Parse(DataBinder.Eval(Container.DataItem,"ArrivalDate").ToString()).ToShortDateString() %></td>
<td class="td1" style="border-right:solid 1px #2a0aa8;color:#2a0aa8"> <%#DataBinder.Eval(Container.DataItem,"entry") %></td>
<td class="td1" style="border-right:solid 1px #fa0000;color:#fa0000"> <%#DataBinder.Eval(Container.DataItem,"out") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"EmpName") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"GodownentryNo") %></td>
<td class="td1" onclick="javascript:openDetails('<%#DataBinder.Eval(Container.DataItem,"Source") %>','<%#DataBinder.Eval(Container.DataItem,"PKID") %>');"> <%#DataBinder.Eval(Container.DataItem,"Source") %></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</div>
<!--=================================================================================-->
<span id=span2 style="border-right:#229900 1px solid;border-left:#cc0000 1px solid;display:none;z-index:10;left:0px;width:0px;position:absolute;top:0px;height:0" onmousemove="vbs:M_Move" onmouseup="vbs:m_up"></span>
</form>
</body>
</html>
<script language=vbscript src="../script/vbscript.vbs"></script>
<script language=vbscript>
titleResize
sub modifyRecord()
if not IsObject(currentTR) then
msgbox "请先选择要修改的"
exit sub
end if
if document.all("tb1").rows.length=1 then
exit sub
end if
document.all("txtId").value=trim(currentTR.cells(0).outerText)
document.all("txtUnit").value=trim(currentTR.cells(1).outerText)
document.all("txtNote").value=trim(currentTR.cells(2).outertext)
showDiv document.all("popDiv")
end sub
sub newRecord(div)
document.all("txtId").value=""
document.all("txtUnit").value=""
document.all("txtNote").value=""
showDiv div
end sub
sub delRecord()
if not IsObject(currentTR) then
msgbox "请先选择要修改的"
exit sub
end if
if document.all("tb1").rows.length=1 then
exit sub
end if
if msgbox("记录删除后将不能恢复,确定删除记录吗?",vbYesNo,"尚洋生产管理系统")=vbYes then
document.all("txtId").value=trim(currentTR.cells(0).outerText)
save "del"
end if
end sub
'
sub validate(byval retValue,byref isAvailable,byref msg)
tmp=split(retValue,"|")
isAvailable=tmp(0)
msg=tmp(1)
end sub
</script>
<script language="javascript" defer>
//添加事件处理
function addMoveEvent(obj)
{
obj.attachEvent("onmouseover",function(){RowMouseOver(obj);});
}
function addOutEvent(obj)
{
obj.attachEvent("onmouseout",function(){RowMouseOut(obj);});
}
function addClickEvent(obj)
{
obj.attachEvent("onclick",function(){chooseTr(obj);});
}
function save(op)
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -