📄 allporder.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="BaseInfo_AllPOrder, App_Web_eihb9n8s" %>
<html>
<head>
<title>物料需求计划单采购情况</title>
<link rel="stylesheet" href="../css/master.css" type="text/css" />
<script language=javascript src="JScript.js"></script>
<script language=vbscript src="stuff3.vbs"></script>
<script language=vbscript src="stuff2.vbs"></script>
<style>
.div
{
border-color:#a6a6a6; border-style:solid; scrollbar-base-color:#ffffff; scrollbar-face-color:none; scrollbar-arrow-color:none; scrollbar-track-color:#ffffff; scrollbar-3dlight-color:#ffffff; scrollbar-darkshadow-color:#ffffff; scrollbar-highlight-color:#a6a6a6; scrollbar-shadow-color:#a6a6a6;
}
</style>
</head>
<body topmargin="3" leftmargin="3" rightmargin="0" bottommargin="0" style="background-color:#ffffff">
<table cellspacing="0">
<tr>
<td>
物料需求计划单:
</td>
<td>
<input class="underLineTextBox" value="<%=rno %>" />
</td>
<td>日期:</td>
<td>
<input class="underLineTextBox" value="<%=dt %>" />
</td>
</tr>
<tr>
<td colspan="4" style="color:#891212">本需求计划单已开的采购单:</td>
</tr>
</table>
<!--=================================================================================-->
<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="width:560; overflow-x:auto;overflow-y:auto;height:200;background-color:#ffffff; border-color:#a3a3a3"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:0">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>采购单ID</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:70">
<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>
<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>
<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>
</tr>
<asp:Repeater ID="rptDetails" runat="server">
<ItemTemplate>
<tr style="height:20; white-space:nowrap;background-Color:#ffffff" onmouseover="javascript:RowMouseOver(this);" onmouseout="javascript:RowMouseOut(this);" onclick="javascript:modifyRecord(this);">
<td class="td1"> <%#DataBinder.Eval(Container.DataItem, "PKID") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "PONo")%> </td>
<td class="td1"><%# GetShortDate((DataBinder.Eval(Container.DataItem, "PurchaseData")).ToString())%> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"CustomerName") %> </td>
<td class="td1" align="center"><img src="../images/details.gif" style="cursor:hand" onclick="javascript:window.open('NewPOReport.aspx?poid=<%#DataBinder.Eval(Container.DataItem, "PKID") %>&pop=1&supplier=<%#DataBinder.Eval(Container.DataItem,"CustomerName") %>')"/></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>
<!--=================================================================================-->
<font style="color:#891212;font-size:12px">需求物料明细</font>
<!--=================================================================================-->
<span id=span6 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="span4" style="width:560; overflow-x:auto;overflow-y:auto;height:200;background-color:#ffffff; border-color:#a3a3a3"onscroll="vbs:HScroll2">
<table border=0 cellspacing=0 cellpadding=0 id=Table1 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:0">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>物料ID</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tzt me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:70">
<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:tzt 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:tzt 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:tzt 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:tzt 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:tzt 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:tz2 me"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
</tr>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<tr style="height:20; white-space:nowrap;background-Color:#ffffff" onmouseover="javascript:RowMouseOver(this);" onmouseout="javascript:RowMouseOut(this);" onclick="javascript:modifyRecord(this);">
<td class="td1"> <%#DataBinder.Eval(Container.DataItem, "StuffId") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "StuffNo")%> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"StuffName") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"Specification") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"Quantity") %> </td>
<td class="td1" style="border-right-color:Green;color:Green"><%#DataBinder.Eval(Container.DataItem, "PurchasingCount")%> </td>
<td class="td1" style="border-right-color:#891212;color:#891212"></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</div>
<!--=================================================================================-->
<span id=span5 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_Move2" onmouseup="vbs:m_up2"></span>
<!--=================================================================================-->
</body>
</html>
<script language="javascript" defer>
var rows=0;
rows=document.all("Table1").rows.length;
for(var i=1;i<rows;i++)
{
document.all("Table1").rows[i].cells[6].innerText=(parseFloat(document.all("Table1").rows[i].cells[4].outerText)-parseFloat(document.all("Table1").rows[i].cells[5].outerText)).toFixed(3);
}
</script>
<script language=vbscript>
titleResize
titleResize2
'剪切函数
function vbTrim(str)
vbTrim=trim(str)
end function
sub validate(byval retValue,byref isAvailable,byref msg)
tmp=split(retValue,"|")
isAvailable=tmp(0)
msg=tmp(1)
end sub
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -