📄 print_semiproductreturnreport.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="BaseInfo_print_SemiproductReturnReport, App_Web_eihb9n8s" %>
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="themes/system.css" title="Calendar Theme - system.css">
<link href="doc/css/zpcal.css" rel="stylesheet" type="text/css" />
<link href="doc/css/template.css" rel="stylesheet" type="text/css" />
<!-- import the calendar script -->
<script type="text/javascript" src="src/utils.js"></script>
<script type="text/javascript" src="src/calendar.js"></script>
<!-- import the language module -->
<script type="text/javascript" src="lang/calendar-zh.js"></script>
<script type="text/javascript" src="src/calendar-setup.js"></script>
<link rel="stylesheet" href="../css/master.css" type="text/css" />
<script language=javascript src="JScript.js"></script>
<script language=javascript src="../script/city.js"></script>
<title>
半成品退货单打印
</title>
<style media=print>
.noprint
{
display:none;
}
</style>
</head>
<body topmargin="0" leftmargin="10" rightmargin="0" bottommargin="0" style="background-color:#f6f6f6">
<div style=" position:absolute; width:350; border:none; top:10px;left:10px;">
<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="overflow-x:auto;width:570; overflow-y:auto;height:145;background-color:#f6f6f6;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:2px 1px 1px 1px">
<tr>
<td align="right" width="300" rowspan="3" style="color:red;font-size:16px;"><u>领料单</u></td>
<td align="right" style="font-size:14px">中山尚洋精密工业有限公司</td>
</tr>
<tr>
<td align="right" style="font-size:12px">地址:中山市三乡镇里塘敢开洋厂房</td>
</tr>
<tr>
<td align="right" style="font-size:12px">TEL:0760-6382801 FAX:6382806</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border=0>
<tr>
<td colspan="6"></td>
</tr>
<tr>
<td>领料单编号:</td>
<td><input type=hidden value="999" id="txtPkid" name="txtPkid"/><input class="underLineTextBox" id="txtGNno" readonly style="width:80;border-top:none;border-left:none;background-color:#f6f6f6" value="<%=gono %>"/></td>
<td>领用日期:</td>
<td><input class="underLineTextBox" value="<%=date %>" id="txtDate" style="background-color:#f6f6f6;width:100;border-top:none;border-left:none;border-right:none" readonly/>
<input type="reset" value=" ... " id='Reset3' style="display:none;border:0;width:19;height:20;background-image:url('themes/icons/calendar1.gif');"/></td>
<td>操作员</td>
<td>
<span class=outside style="display:none;width:102;border-top:none;border-left:none;border-right:none;border-bottom:none;background-color:#f6f6f6">
<div class="inset" style="width: 100; border-top: none; border-left: none; border-right: none;">
<select hidefocus id="sltOperator" style="width:141;background-color:#f6f6f6;border-bottom:solid 1px #a3a3a3" disabled>
<option selected value="<%=empid %>"><%=empname %></option>
</select>
</div>
</span>
<input class="underLineTextBox" style="width:100" style="background-color:#f6f6f6" value="<%=operatorname %>"/>
</td>
</tr>
<tr style="display:none">
<td>采购单编号:</td>
<td>
<span style="display:none" class="outside" style="width: 70; border-top: none; border-left: none; border-right: none;border-bottom:none;background-Color:#f6f6f6">
<div class="inset" style="width: 110;border-top:none; border-left: none; border-right: none;">
<select id="sltPONo" hidefocus="hidefocus" onchange="javascript:sltOrderChange();"
style="width: 141; background-color: #f6f6f6;border-bottom:solid 1px #a3a3a3" disabled>
<option selected value=""></option>
</select>
</div>
</span>
<input style="width:80;background-color:#f6f6f6" class="underLineTextBox" value="<%=PONo %>" />
</td>
<td>供应商:</td>
<td><input type=hidden id="txtSupplierId"/><input class="underLineTextBox" id="txtSupplier" readonly style="background-color:#f6f6f6;width:100"/></td>
<td style="visibility:hidden">预到货日期:</td>
<td style="visibility:hidden"><input class="underLineTextBox" id="txtExpectDate" readonly style="background-color:#f6f6f6;width:100" value="<%=arrivaldate %>"/>
</td>
</tr>
<tr>
<td>备注:</td>
<td colspan="5"><input class="underLineTextBox" id="txtRemark"value="<%=remark %>" style="width:300;background-color:#f6f6f6"/></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"></span>
<!--=================================================================================-->
<div id="span1" style="overflow-x:auto;width:570; overflow-y:auto;height:250;background-color:f6f6f6;border-top:#a3a3a3 1px solid;border-left:#a3a3a3 1px solid;border-bottom:#a3a3a3 1px solid;border-right:#a3a3a3 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: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:110">
<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:110">
<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: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"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></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"><img style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></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"><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:40">
<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, "StuffNo")%> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"StuffName") %> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"StuffSpec") %> </td>
<td></td>
<td></td>
<td></td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem, "Quantity")%> </td>
<td class="td1"><%#DataBinder.Eval(Container.DataItem,"UnitName") %> </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>
<!--=================================================================================-->
<!--====================================添加明细=============================================-->
<div style="display:none;overflow-x:auto;width:825; overflow-y:auto;height:60;background-color:#f6f6f6;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="822" style="cursor:default" border=0 style="padding:2px 1px 1px 1px">
<tr height=30 style="display:none">
<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();" style="display:none"><img src="../images/delete.gif"> 删除明细</span>
</td>
</tr>
<tr>
<td>
物料编号:<input class="textBox2" id="txtStuffNo" style="background-Color:#f6f6f6;width:60" 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:#f6f6f6;width:120" readonly/></td>
<td>物料规格:<input class="textBox2" id="txtStuffSpec" style="background-Color:#f6f6f6;width:120" readonly/></td>
<td>入库数量:<input class="textBox2" id="txtEntryQuantity" style="width:40"/></td>
<td>
<span onmouseover="javascript:changeBorder_In(this);" onmouseout="javascript:changeBorder_Out(this);" class="MainMenu" onclick="javascript:operated();" ><img src="../images/save.gif"> 添加/修改</span>
</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>
</table>
</div>
<!--供应商列表-->
<div id="divClientList" 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="tr2" 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('divClientList').style.display='none'"/></td>
</tr>
<tr onmousedown="vbs:window.event.cancelBubble=true">
<td valign="middle" align="center">
<iframe id="frmClient" src="" frameborder="0" width="601" height="400" style="overflow-x:hidden; overflow-y:hidden" ></iframe>
</td>
</tr>
</table>
</div>
<input type=hidden id="txtDetails" />
</body>
</html>
<script language=javascript type="text/javascript">
<!-- to hide script contents from old browsers
var startDate;
var endDate;
var callbacks = 0;
function resetDates() {
startDate = endDate = null;
}
/*
* Given two dates (in seconds) find out if date1 is bigger, date2 is bigger or
* they're the same, taking only the dates, not the time into account.
* In other words, different times on the same date returns equal.
* returns -1 for date1 bigger, 1 for date2 is bigger 0 for equal
*/
function compareDatesOnly(date1, date2) {
var year1 = date1.getYear();
var year2 = date2.getYear();
var month1 = date1.getMonth();
var month2 = date2.getMonth();
var day1 = date1.getDate();
var day2 = date2.getDate();
if (year1 > year2) {
return -1;
}
if (year2 > year1) {
return 1;
}
//years are equal
if (month1 > month2) {
return -1;
}
if (month2 > month1) {
return 1;
}
//years and months are equal
if (day1 > day2) {
return -1;
}
if (day2 > day1) {
return 1;
}
//days are equal
return 0;
/* Can't do this because of timezone issues
var days1 = Math.floor(date1.getTime()/Date.DAY);
var days2 = Math.floor(date2.getTime()/Date.DAY);
return (days1 - days2);
*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -