📄 lsadd.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LSAdd.aspx.cs" Inherits="TSLS_LSAdd" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>零售信息汇总</title>
<link href="page.css" type="text/css" rel="stylesheet" />
</head>
<body style="font-size: 12pt">
<form id="form1" runat="server">
<div>
<span style="font-size: 11pt">
<strong>零售出库信息</strong> </span><strong><big style="font-size:11pt">营业员:<span
style="font-size: 11pt; color:Red">
<%=Session["DispUser"]%> </span><strong><big style="font-size:11pt"></big></strong>应收:<asp:Label ID="ys" runat="server" ForeColor="Red" Font-Size="11pt" Height="18px"></asp:Label>
<span style="font-size: 11pt">实收:</span><asp:TextBox ID="ss" runat="server" class="input_text" Font-Bold="True"
Font-Size="11pt" Height="15px" Width="62px"></asp:TextBox>
<asp:Button ID="jsBtn" runat="server" CausesValidation="False" class="input_button"
OnClick="js_Click" Text="计 算" />
<span style="font-size: 11pt">找<span>零:</span></span><asp:Label ID="yb" runat="server" ForeColor="Red" Font-Size="Smaller" Width="25px"></asp:Label><span style="font-size: 11pt"> </span>
</big></strong>
<hr size="1" />
<table id="search" align="center" border="0" cellpadding="0" cellspacing="1" width="100%">
<tbody>
<tr class="tr2">
<td style="padding-left: 5px; height: 20px;" width="30%">
出库时间:
<asp:TextBox ID="DDate" runat="server" class="input_text" Width="100"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DDate"
ErrorMessage="必 填"></asp:RequiredFieldValidator>
</td>
<td style="padding-left: 5px; height: 20px;" width="35%">
<strong>备 注: </strong>
<asp:TextBox ID="memo" runat="server" class="input_text" Width="200" Font-Size="Small"></asp:TextBox>
</td>
<td align="right" style="padding-right: 5px; height: 20px;" width="35%">
<asp:Button ID="ClearBtn" runat="server" CausesValidation="False" class="input_button"
OnClick="Clear_Click" Text="清 除" />
<asp:Button ID="SaveBtn" runat="server" class="input_button" OnClick="Save_Click"
Text="保 存" />
<asp:Button ID="tjBtn" runat="server" CausesValidation="False" class="input_button"
OnClick="tj_Click" Text="统 计" />
</td>
</tr>
<tr>
<td colspan="3" height="25" style="padding-left: 5px">
<asp:DataGrid ID="DataGrid2" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" BorderColor="Black" CellPadding="2" font-name="verdana"
Font-Names="verdana" Font-Size="8pt" HeaderStyle-BackColor="#F8FAFC" OnCancelCommand="Grid_Cancel"
OnDeleteCommand="Grid_Delete" OnEditCommand="Grid_Edit" OnPageIndexChanged="Grid2_PageIndexChanged"
OnUpdateCommand="Grid_Update" PageSize="6" Width="100%">
<HeaderStyle BackColor="#F8FAFC" Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
<PagerStyle Font-Bold="True" Font-Names="宋体" ForeColor="Blue" HorizontalAlign="Right"
Mode="NumericPages" NextPageText="下一页" Position="Top" PrevPageText="上一页" />
<EditItemStyle BackColor="#E9F0F8" />
<Columns>
<asp:BoundColumn DataField="Code" HeaderText="图书编号" ReadOnly="True" Visible="False">
</asp:BoundColumn>
<asp:BoundColumn DataField="Name" HeaderText="图书名称" ReadOnly="True">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
<HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
</asp:BoundColumn>
<asp:BoundColumn DataField="cbs" HeaderText="版别" ReadOnly="True"></asp:BoundColumn>
<asp:BoundColumn DataField="author" HeaderText="作者" ReadOnly="True"></asp:BoundColumn>
<asp:BoundColumn DataField="price" DataFormatString="{0:C}" HeaderText="定价" ReadOnly="True">
</asp:BoundColumn>
<asp:BoundColumn DataField="discount" HeaderText="折扣"></asp:BoundColumn>
<asp:BoundColumn DataField="outnum" HeaderText="出库数"></asp:BoundColumn>
<asp:EditCommandColumn CancelText="取消" EditText="编辑" HeaderText="编辑"
UpdateText="更新"></asp:EditCommandColumn>
<asp:ButtonColumn CommandName="Delete" HeaderText="删除" Text="删除"></asp:ButtonColumn>
</Columns>
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:DataGrid>
</td>
</tr>
</tbody>
</table>
<br />
<span style="font-size: 11pt">
<b>图书信息查询</b> </span>
<hr size="1" />
<table id="Table1" align="center" border="0" cellpadding="0" cellspacing="1" class=""
width="100%">
<tbody>
<tr class="tr2">
<td height="25" style="padding-left: 5px">
检索条件:
<asp:DropDownList ID="query_tj" runat="server" class="input_text" Width="97">
<asp:ListItem Selected="True" Value="name">图书名称</asp:ListItem>
<asp:ListItem Value="ISBN">图书ISBN</asp:ListItem>
<asp:ListItem Value="author">作者</asp:ListItem>
<asp:ListItem Value="selfcode">自编码</asp:ListItem>
<asp:ListItem Value="memo">备注</asp:ListItem>
</asp:DropDownList>
检索内容:
<asp:TextBox ID="query_content" runat="server" class="input_text" Width="120" Font-Size="11pt"></asp:TextBox>
<asp:Button ID="QueryBtn" runat="server" CausesValidation="False" class="input_button"
OnClick="Query_Click" Text="查 询" />
</td>
</tr>
<tr>
<td style="padding-left: 5px; text-align: right; height: 25px;">
<asp:DataGrid ID="DataGrid1" runat="server"
AutoGenerateColumns="False" BorderColor="Black" CellPadding="2" Font-Names="宋体" Font-Size="10pt" HeaderStyle-BackColor="#F8FAFC" OnItemCommand="AddToSub_Click"
OnPageIndexChanged="Grid1_PageIndexChanged" PageSize="5" Width="100%" >
<HeaderStyle BackColor="#F8FAFC" Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
<Columns>
<asp:BoundColumn DataField="Code" HeaderText="图书编号" ReadOnly="True" Visible="False">
<FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
</asp:BoundColumn>
<asp:BoundColumn DataField="Name" HeaderText="图书名称">
<HeaderStyle Width="130px" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Left" />
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
</asp:BoundColumn>
<asp:BoundColumn DataField="abbrname" HeaderText="版别" ReadOnly="True">
<HeaderStyle Width="40px" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
</asp:BoundColumn>
<asp:BoundColumn DataField="price" DataFormatString="{0:C}" HeaderText="定价">
<HeaderStyle Width="30px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="author" HeaderText="作者">
<HeaderStyle Width="40px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="version" HeaderText="版次"></asp:BoundColumn>
<asp:BoundColumn DataField="storeamountz" HeaderText="总店库存" ReadOnly="True">
<HeaderStyle Width="60px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="storeamounta" HeaderText="门市库存" ReadOnly="True">
<HeaderStyle Width="60px" />
</asp:BoundColumn>
<asp:ButtonColumn CommandName="addtoout" HeaderText="操作" Text="添加至出库单" ButtonType="PushButton">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
<FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" Wrap="False" />
</asp:ButtonColumn>
</Columns>
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
<FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" Wrap="False" />
<PagerStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" Wrap="False" />
</asp:DataGrid><webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True"
BackColor="White" BorderColor="White" ButtonImageAlign="Middle" CssClass="p_num"
CurrentPageButtonClass="p_num_currentPage" CustomInfoClass="" CustomInfoStyle=""
FirstPageText="[首页]" Font-Size="11pt" Font-Underline="False" InputBoxStyle="p_input"
LastPageText="[末页]" NextPageText="[下页]" NumericButtonCount="8" NumericButtonTextFormatString="[{0}]"
OnPageChanged="AspNetPager1_PageChanged" PageSize="6" PrevPageText="[上页]" ShowInputBox="Never"
ShowNavigationToolTip="True" ToolTip="快速方便的导航" Width="100%" EnableTheming="True" PagingButtonSpacing="0px">
</webdiyer:AspNetPager>
</td>
</tr>
</tbody>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -