📄 billofsellprint.ascx
字号:
<%@ Register TagPrefix="cc2" Namespace="xImageButton" Assembly="xImageButton" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="BillOfSellPrint.ascx.cs" Inherits="Storage.BillPrint.ASCX.BillOfSellPrint" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script language="javascript">
function fnPrintAddress()
{
if(document.forms[0].PrintAddress[1].checked)
{
document.getElementById("DivAddress").style.display = "";
}
else
{
document.getElementById("DivAddress").style.display = "none";
}
}
</script>
<table class="noprint" cellSpacing="0" cellPadding="0" width="100%" background="../images/button/in.gif"
border="0">
<tr>
<td width="30"><IMG src="../images/button/left.gif" width="27"></td>
<td><span class="STYLE1"><asp:label id="lblCaption" runat="server" CssClass="noprint">销售单</asp:label></span></td>
<td width="60"><FONT face="宋体"><cc2:mouseimage class="noprint" id="miPreview" runat="server" ChangeImgUrl="../images/button/btnPreview_2.gif"
returnImgUrl="../images/button/btnPreview.gif" ImageUrl="../../images/button/btnPreview.gif"></cc2:mouseimage></FONT></td>
<td width="60"><FONT face="宋体"><cc2:mouseimage class="noprint" id="miPrintSetup" runat="server" ChangeImgUrl="../images/button/btnPrintsetup_2.gif"
returnImgUrl="../images/button/btnPrintsetup.gif" ImageUrl="../../images/button/btnPrintsetup.gif"></cc2:mouseimage></FONT></td>
<td width="60"><FONT face="宋体"><cc2:mouseimage class="noprint" id="miPrint" runat="server" ChangeImgUrl="../images/button/btnPrint_2.gif"
returnImgUrl="../images/button/btnPrint.gif" ImageUrl="../../images/button/btnPrint.gif"></cc2:mouseimage></FONT></td>
<td width="60"><FONT face="宋体"><cc2:mouseimage class="noprint" id="miClose" runat="server" ChangeImgUrl="../images/button/btnClose_2.gif"
returnImgUrl="../images/button/btnClose.gif" ImageUrl="../../images/button/btnClose.gif"></cc2:mouseimage></FONT></td>
</tr>
<tr>
<td colspan="6">
是否打印邮寄地址: <input name="PrintAddress" value="0" onclick="fnPrintAddress()" type="radio" checked>不打印
<input name="PrintAddress" value="1" type="radio" onclick="fnPrintAddress()">打印
</td>
</tr>
</table>
<table cellSpacing="0" borderColorDark="#ffffff" width="100%" borderColorLight="#000000"
border="0">
<tr>
<td colspan="3">
<div id="DivAddress" style="DISPLAY:none">
<asp:TextBox id="TextBox1" runat="server" Width="100%" BorderWidth="1px" Font-Size="13px" Font-Bold="True"
Height="64px" TextMode="MultiLine"></asp:TextBox></div>
</td>
</tr>
<tr>
<td vAlign="middle" align="center" width="15%" height="35"><asp:image id="imgLogo" runat="server" CssClass="noPrint"></asp:image></td>
<td align="center" width="65%" height="35">
<P align="center"><asp:label id="lblTitle" runat="server" Font-Bold="True" Font-Size="Large"> 销售单</asp:label></P>
</td>
<td align="center" width="20%" height="35"><b><asp:label id="lblOrderNo" runat="server" ForeColor="Red" Font-Size="Medium"></asp:label></b></td>
</tr>
</table>
<table cellSpacing="0" borderColorDark="#ffffff" width="100%" borderColorLight="#000000"
border="0">
<tr>
<td style="HEIGHT: 31px" vAlign="top"><STRONG> </STRONG> <b>开单日期:</b><asp:textbox id="txSellDate" runat="server" Font-Bold="True" ReadOnly="True" Width="80px">销售日期</asp:textbox> <STRONG> 送货单位电话:
028-85018883</STRONG></td>
</tr>
<tr>
<td></td>
</tr>
</table>
<table cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="100%" borderColorLight="#000000"
border="0">
<tr>
<td vAlign="top" height="30">
<table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" bordercolordark="#ffffff"
cellpadding="0">
<tr>
<td style="WIDTH: 37px" width="37" rowSpan="2"><b>购货<br>
单位</b></td>
<td style="WIDTH: 81px" align="right" width="81"><b>名 称 </b></td>
<td><b><asp:textbox id="txCustomerName" runat="server" Font-Bold="True" ReadOnly="True" Width="100%">客户名称</asp:textbox></b></td>
</tr>
<tr>
<td style="WIDTH: 81px" align="right"><b>地址、电话 </b></td>
<td><b><asp:textbox id="txAddress" runat="server" Font-Bold="True" ReadOnly="True" Width="100%">地址</asp:textbox></b></td>
</tr>
</table>
</td>
</tr>
<TR>
<TD valign="top"><asp:datagrid id="dgList" runat="server" Width="100%" AutoGenerateColumns="False" BorderColor="Black"
BorderWidth="1px">
<ItemStyle Height="18px"></ItemStyle>
<HeaderStyle Font-Size="Medium" Font-Bold="True" HorizontalAlign="Center"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="GoodsName" ReadOnly="True" HeaderText="商品名称">
<HeaderStyle Font-Size="13px" Font-Bold="True" Width="35%"></HeaderStyle>
<ItemStyle Font-Size="13px"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="GoodsCode" ReadOnly="True" HeaderText="商品条码">
<HeaderStyle Font-Size="13px" Font-Bold="True" Width="15%"></HeaderStyle>
<ItemStyle Font-Size="13px"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="UnitName" ReadOnly="True" HeaderText="单 位">
<HeaderStyle Font-Size="13px" Font-Bold="True" Width="10%"></HeaderStyle>
<ItemStyle Font-Size="13px" HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Nums" ReadOnly="True" HeaderText="数 量">
<HeaderStyle Font-Size="13px" Font-Bold="True" Width="10%"></HeaderStyle>
<ItemStyle Font-Size="13px" HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Price" ReadOnly="True" HeaderText="单 价" DataFormatString="{0} 元 ">
<HeaderStyle Font-Size="13px" Font-Bold="True" Width="12%"></HeaderStyle>
<ItemStyle Font-Size="13px" HorizontalAlign="Right"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="FactMoney" ReadOnly="True" HeaderText="货 款" DataFormatString="{0} 元 ">
<HeaderStyle Font-Size="13px" Font-Bold="True" Width="13%"></HeaderStyle>
<ItemStyle Font-Size="13px" HorizontalAlign="Right"></ItemStyle>
</asp:BoundColumn>
</Columns>
</asp:datagrid></TD>
</TR>
<tr>
<td height="30">
<table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" bordercolordark="#ffffff"
cellpadding="0">
<tr>
<td>
<b>合计大写:
<asp:label id="lblCapTotal" runat="server">大写合计</asp:label></b></td>
</tr>
<tr>
<td>
<b> 备注:
<asp:label id="lblMemo" runat="server" Width="80%">备注信息</asp:label></b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</TR></FONT></TD></TR></TABLE>
<table cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="100%" borderColorLight="#000000"
border="0">
<tr>
<td height="45">
<br>
<P><b> 客户签名:
仓管:
<asp:label id="lblStoreMan" runat="server">仓库管理员</asp:label>
业务员:
<asp:label id="lblSeller" runat="server">业务员</asp:label>
开单人:
<asp:label id="lblWriteMan" runat="server">开单人</asp:label></b><br>
<br>
<br>
<b>白色为结算联,粉红色为客户联,蓝色为库房存根联,黄色为存根联。</b>
</P>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -