📄 print_newporeport.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="BaseInfo_print_NewPOreport, App_Web_eihb9n8s" %>
<html>
<head>
<link rel="stylesheet" href="../css/master.css" type="text/css" />
<script language=javascript src="JScript.js"></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>
<style media=print>
.noprint
{
display:none;
}
</style>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" style="background-color:#ffffff">
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=wb width=0></OBJECT>
<div style=" position:absolute; width:350; border:none; top:10px;left:10px;display:none">
<input type=button value="打印机设置" style="border:solid 1px #a3a3a3; background-color:#e6e6e6;font-size:12px" class="noprint" onclick="javascript:wb.execWB(8,1);"/> <input type=button value="打印预览" style="border:solid 1px #a3a3a3; background-color:#e6e6e6;font-size:12px" class="noprint" onclick="javascript:wb.execWB(7,1);"/> <input type=button value=" 打 印 " style="border:solid 1px #a3a3a3; background-color:#e6e6e6;font-size:12px" class="noprint" onclick="javascript:wb.execWB(6,1);"/>
</div>
<form id="Form1" runat="server">
<div style="width:750;overflow-x:auto; overflow-y:auto;height:230;background-color:#ffffff;border-top:#000000 0px solid;border-left:#000000 0px solid;border-bottom:#000000 0px solid;border-right:#000000 0px solid;">
<table cellpadding="0" cellspacing="0" width="100%" style="cursor:default" border=0 style="padding:0px 0px 0px 0px">
<tr>
<td colspan="2" style="font-size:18px" align="center">
中 山 尚 洋 精 密 工 业 有 限 公 司<br />ZhongShan Shangyang Precision Industries Co.,Ltd.
</td>
</tr>
<tr>
<td colspan="2">地址:中国广东省中山市三乡塘敢开洋厂房</td>
</tr>
<tr>
<td colspan="2">Address:Kaiyang Factory House,LiTangGan Of Sanxiang Town,Zhongshan City,GD,CN</td>
</tr>
<tr>
<td>Tel:0760-6382801/6382805</td>
<td>Fax:0760-6382806</td>
</tr>
<tr>
<td>Email:Shangyang@sy-beauty.com</td>
<td>http://www.sy-beauty.com</td>
</tr>
<tr>
<td colspan="2" style="font-size:2px; padding:4px 4px 4px 4px;"><span style="width:82%;border-bottom:solid 1px #3d3d3d"></span></td>
</tr>
<tr>
<td align=center colspan="2" style="font-size:16px">采购合同</td>
</tr>
<tr>
<td>甲方(需方):中山尚洋精密工业有限公司</td>
<td>订单编号:<input class="underLineTextBox" id="txtPONo" style="width:120" style="background-color:#ffffff;"/></td>
</tr>
<tr>
<td> </td>
<td>电 话:<input class="underLineTextBox" id="txtPhone" style="width:120;background-color:#ffffff;" value="<%=phone %>"/></td>
</tr>
<tr>
<td> </td>
<td>传 真:<input class="underLineTextBox" id="txtFax" style="width:120;background-color:#ffffff;" value="<%=fax %>"/></td>
</tr>
<tr>
<td>乙方(供方):<input class="underLineTextBox" style="width:120;background-color:#ffffff" value="<%=supplier %>"/></td>
<td>日 期:<input class="underLineTextBox" id="txtPurchaseDate" style="background-color:#ffffff;width:120;border-top:none;border-left:none;border-right:none" readonly/><input type="reset" value=" ... " id='Reset1' style="border:0;width:19;height:20;background-image:url('themes/icons/calendar1.gif');display:none"/></td>
</tr>
<tr>
<td colspan="2">甲方谨向乙方订购以下产品,并达成以下协议:</td>
</tr>
<tr style="display:none">
<td colspan="2">
<table width="100%">
<tr>
<td colspan="5"></td>
</tr>
<tr>
<td>供应商:<span class=outside style="width:132;border-style:none;display:none">
<div class=inset style="width:130">
<select hidefocus id="sltSupplier" style="width:131; border-style:none;background-color:#ffffff">
<option selected value=""></option>
</select>
</div>
</span>
</td>
<td>
订购日期:
</td>
<td>
</td>
<td>
收货日期:
</td>
<td>
<input class="underLineTextBox" id="txtExceptDate" style="background-color:#ffffff;width:70;border-top:none;border-left:none;border-right:none" readonly/><input
id='Reset2' style="border: 0; width: 19; height: 20; background-image: url('themes/icons/calendar1.gif');
display: none" type="reset" value=" ... " />
</td>
<td>采购单编号:</td>
<td>
</td>
<td>计划单编号:</td>
<td>
<input class="underLineTextBox" id="Text1" value="<%= rno %>" style="width:70" style="background-color:#ffffff;"/>
</td>
<td><input type=button class="textBox2" style="background-color:#ffffff;display:none;border-bottom:solid 1px #3d3d3d;border-right:solid 1px #3d3d3d;font-size:12px;width:60;padding-top:3px" onclick="javascript:PostToServer('add');" onmouseover="javascript:this.style.backgroundColor='#ffffff';" onmouseout="javascript:this.style.backgroundColor='#e6e6e6'" value=" 保 存 "/></td>
</tr>
</table>
</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" class="noprint"></span>
<!--=================================================================================-->
<div id="span1" style="width:730; overflow-x:auto;overflow-y:auto;height:400;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: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"></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"></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"></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"></td>
</tr>
</table>
</td>
<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>库存数量</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"></td>
</tr>
</table>
</td>
<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>计划数量</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<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"></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<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"></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<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"></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<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"></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"></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, "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,"StuffSpec") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"Stock") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"RQuantity") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"Quantity") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"UnitName") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"UnitPrice") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"Total") %> </td>
<td class="td1"><%#DateTime.Parse(DataBinder.Eval(Container.DataItem,"ArrivalDate").ToString()).ToShortDateString() %> </td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr>
<td class="td1" colspan="11" align="right" id="tdTotal"></td>
</tr>
</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>
<!--=================================================================================-->
<!--====================================添加明细=============================================-->
<div style="display:none;overflow-x:auto;width:550; overflow-y:auto;height:120;background-color:#ffffff;border-top:#000000 0px solid;border-left:#000000 1px solid;border-bottom:#000000 1px solid;border-right:#000000 1px solid;">
<table cellpadding="0" cellspacing="0" width="600" style="cursor:default" border=0 style="padding:2px 1px 1px 1px">
<tr height=30>
<td align="left" colspan="3">
<span onmouseover="javascript:changeBorder_In(this);" onmouseout="javascript:changeBorder_Out(this);" class="MainMenu"style="display:none"><img src="../images/add.gif"> 新增明细</span>
<span class="MainMenu" onclick="javascript:modifyRecord();" onmouseout="javascript:changeBorder_Out(this);"
onmouseover="javascript:changeBorder_In(this);" style="display: none"><img src="../images/modify.gif" > 修改明细</span>
<span onmouseover="javascript:changeBorder_In(this);" onmouseout="javascript:changeBorder_Out(this);" class="MainMenu" onclick="javascript:deleteDetails();"><img src="../images/delete.gif"> 删除明细</span>
<span onmouseover="javascript:changeBorder_In(this);" onmouseout="javascript:changeBorder_Out(this);" class="MainMenu" onclick="javascript:addToPurchaseOrder(document.all('tb1'));"><img src="../images/save.gif"> 添加至明细</span>
</td>
</tr>
<tr>
<td>
物料编号:<input class="textBox2" id="txtStuffNo" style="background-Color:#ffffff;width:75" readonly/><input type=hidden id="txtId" />
<span onclick="javascript:showList();"; onmouseover="javascript:changeBorder_In2(this);" onmouseout="javascript:changeBorder_Out2(this);" style="border-top:solid 1px #c6c6c6;border-left:solid 1px #c6c6c6;border-bottom:solid 1px #3d3d3d;border-right:solid 1px #3d3d3d;"><img src="../images/search.gif"/>搜索 </span>
</td>
<td>物料名称:<input class="textBox2" id="txtStuffName" style="background-Color:#ffffff;width:120" readonly/></td>
<td>物料规格:<input class="textBox2" id="txtStuffSpec" style="background-Color:#ffffff;width:120" readonly/></td>
</tr>
<tr>
<td>采购数量:<input class="textBox2" id="txtQuantity" style="width:120;"/></td>
<td>物料单价:<input class="textBox2" id="txtPrice" style="width:120;"/></td>
<td>物料单位:<input class="textBox2" id="txtUnit" style="background-Color:#ffffff;width:120" readonly/></td>
</tr>
</table>
</div>
</form>
<!--物料列表-->
<div id="divStuffList" onmousedown="vbs:Login_Win_Down me" onmousemove="vbs:Login_Win_Move me" onmouseup="vbs:Login_Win_Up me"
style="display:none;left:0;top:0;position:absolute;width:601;height:430;border-top:solid 1px #000000;border-left:solid 1px #000000;border-bottom:solid 1px #000000;border-right:solid 1px #000000;z-index:10;">
<table cellpadding="0" cellspacing="0" border="0" width="620" height="430" bgcolor="#e6e6e6" >
<tr id="tr1" height="22" style="background-image:url('../images/tr.gif')">
<td style="text-indent:1em;font-weight:bold">选择物料明细</td>
<td align=right><img src="../images/close.gif" onmousedown="vbs:window.event.cancelBubble=true" onclick="vbs:document.all('divStuffList').style.display='none'"/></td>
</tr>
<tr onmousedown="vbs:window.event.cancelBubble=true">
<td valign="middle" align="center">
<iframe id="frmStuff" src="" frameborder="0" width="601" height="400" style="overflow-x:hidden; overflow-y:hidden" ></iframe>
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -