111,097
社区成员




<script language="javascript" type="text/javascript">
function printme() {
var print = this.document.getElementById("print").innerHTML;
print = print + "<br/>";
print = print + '<SCRIPT language=javascript> function printView(){hidden();document.all.WebBrowser.ExecWB(7,1); } function print(){hidden();document.all.WebBrowser.ExecWB(6,6)}function pageSetup(){hidden();document.all.WebBrowser.ExecWB(8,1);}function hidden(){document.all("printView").style.display="none"; document.all("print").style.display="none"; document.all("pageSetup").style.display="none";}<\/script>';
print = print + "<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=21 id=WebBrowser width=87> </OBJECT> ";
print = print + "<input id=printView name=Button onClick=printView() type=button value=打印预览>";
print = print + "<input id = print name=Button onClick=print() type=button value=直接打印>";
print = print + "<input id = pageSetup name=Button onClick= pageSetup() type=button value=页面设置>";
var newWindow = window.open();
newWindow.document.open("text/html");
newWindow.document.write(print);
newWindow.document.close();
}
function closewin() {
window.close();
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="print">
<style type="text/css">
.tableBorder2{
border-style: none;
border-color: inherit;
border-width: medium;
border-collapse:collapse;
height: 127mm;
width: 191mm;
font-size:12px;
}
.tableBorder2 td{
border:solid #4682B4 1px;
text-align: left;
}
.bg{
background-image:url(images/cungen.jpg);
background-repeat:no-repeat;
height:340px;
}
</style>
<table id="table4" class="tableBorder2" style="font-size:14px;">
<tr>
<td style="height:8mm; text-align:center; font-size:22px; font-weight:700;"
colspan="6">XXX工建材厂发货单</td>
<td style="width:6mm; text-align:center;" rowspan="10" class="bg"></td>
</tr>
<tr>
<td style="height:20px; width:20mm; text-align: right;">发货单号:</td>
<td colspan="2" style="height:20px; width:71mm;">
<asp:Label ID="lbsmId" runat="server" Text="Label"></asp:Label>
</td>
<td colspan="2" style="height:20px; width:31mm; text-align: right;"> 收货单位:</td>
<td style="height:20px; width:60mm;">
<asp:Label ID="lbCompamy" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td style="height:20px; width:20mm; text-align: right;">公司地址:</td>
<td colspan="2" style="height:20px; width:71mm;">
<asp:Label ID="lbAddress" runat="server" Text="XXX工园区"></asp:Label>
</td>
<td colspan="2" style="height:20px; width:31mm; text-align: right;"> 收货单位电话:</td>
<td style="height:20px; width:60mm;">
<asp:Label ID="lbClientTel" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td style="height:20px; width:20mm; text-align: right;">公司电话:</td>
<td colspan="2" style="height:20px; width:71mm;">
<asp:Label ID="lbComTel" runat="server" Text="023-40765298 传真:023-40765598"></asp:Label>
</td>
<td colspan="2" style="height:20px; width:31mm; text-align: right;">收货单位地址:</td>
<td style="height:20px; width:60mm;">
<asp:Label ID="clientAddress" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td style="height:20px; width:20mm; text-align: right;">发货日期:</td>
<td colspan="2" style="height:20px; width:71mm;">
<asp:Label ID="lbMakeDate" runat="server" Text="Label"></asp:Label>
</td>
<td colspan="2" style="height:20px; width:31mm; text-align:right;">结算方式:</td>
<td style="height:20px; width:60mm; text-align: left;">
<asp:Label ID="lbPayType" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td style="height:20px; width:20mm; text-align: right;">送货电话:</td>
<td colspan="2" style="height:20px; width:71mm;">
<asp:Label ID="lbTel" runat="server" Text="Label"></asp:Label>
</td>
<td colspan="2" style="height:20px; width:31mm; text-align: right;">收货单位地址:</td>
<td style="height:20px; width:60mm;">
<asp:Label ID="lbCarNo" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td colspan="6" valign="top">
<asp:GridView ID="gvOrder" runat="server" AutoGenerateColumns="False"
Height="30px" PageSize="15" DataKeyNames="sdId"
onrowdeleting="gvOrder_RowDeleting" onrowdatabound="gvOrder_RowDataBound"
ShowFooter="True" Width="100%" >
<Columns>
<asp:BoundField DataField="goodsName" HeaderText="产品名称" >
<ItemStyle Width="150px" />
</asp:BoundField>
<asp:BoundField DataField="spec" HeaderText="规格(kg)" >
<ItemStyle Width="70px" />
</asp:BoundField>
<asp:BoundField DataField="num" HeaderText="销售件数">
<ItemStyle Width="60px" />
</asp:BoundField>
<asp:BoundField DataField="unit" HeaderText="单位" >
<ItemStyle Width="70px" />
</asp:BoundField>
<asp:BoundField DataField="sumNum" HeaderText="销售数量">
<ItemStyle Width="60px" />
</asp:BoundField>
<asp:BoundField DataField="price" DataFormatString="{0:c}" HeaderText="销售单价">
<ItemStyle Width="70px" HorizontalAlign="Right" />
</asp:BoundField>
<asp:BoundField DataField="sumPrice" DataFormatString="{0:c}" HeaderText="小记">
<ItemStyle Width="70px" HorizontalAlign="Right" />
</asp:BoundField>
<asp:BoundField DataField="remarks" HeaderText="备注">
<ItemStyle Width="80px" />
</asp:BoundField>
</Columns>
<EmptyDataTemplate>
<div>
<信息暂无………………></div>
</EmptyDataTemplate>
<HeaderStyle CssClass="datagrid_headrstyle_normal" />
<PagerSettings FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
Mode="NextPreviousFirstLast" PreviousPageText="上一页"
FirstPageImageUrl="images/main_54.gif"
LastPageImageUrl="images/main_60.gif" NextPageImageUrl="images/main_58.gif"
PreviousPageImageUrl="images/main_56.gif" />
<FooterStyle CssClass="datagrid_footerstyle_normal" Height="20px" />
<RowStyle HorizontalAlign="Center" Height="19px" />
</asp:GridView>
</td>
</tr>
<tr>
<td colspan="6" style="height:20px;">金额合计大写:<asp:Label
ID="lbBig" runat="server" Text="Label"></asp:Label></td>
</tr>
<tr>
<td colspan="6" style="height:60px;">
<table id="table11" style="width:100%;height:100%;" cellpadding="0" cellspacing="0">
<tr>
<td style="width:140mm;"rowspan="2"><asp:Label ID="lbRemarks" runat="server"
Text="Label" Font-Size="14pt"></asp:Label></td>
<td style="height:20px; text-align: center;">客户签字</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:5mm;" colspan="2">制单:XXX</td>
<td style="height:5mm;" colspan="2">审核:XXX</td>
<td style="height:5mm;" colspan="2">运货:<asp:Label ID="lbDriver" runat="server"
Text="Label"></asp:Label></td>
</tr>
</table>
</div>
</form>
<p>
<input id="btnPrint" class="button_normal" style="width: 40px;" type="button" onclick="printme()"
value="打印" />
<input id="btnClose" class="button_normal" style="width: 40px;" type="button" onclick="closewin()"
value="关闭" /></p>
</body>
</html>