?? 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="數(shù) 量">
<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>
業(yè)務員:
<asp:label id="lblSeller" runat="server">業(yè)務員</asp:label>
開單人:
<asp:label id="lblWriteMan" runat="server">開單人</asp:label></b><br>
<br>
<br>
<b>白色為結算聯(lián),粉紅色為客戶聯(lián),藍色為庫房存根聯(lián),黃色為存根聯(lián)。</b>
</P>
</td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -