📄 editprice_file_2.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditPrice_File_2.aspx.cs" Inherits="EditPrice_File_2" %>
<!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>
<script language="javascript" type="text/javascript">
function GoBack()
{
if ( !confirm('是否确定退出匹配模块?') )
{
return;
}
parent.frames['Main_Bottom_MenuFrame'].location = 'PriceMenu.aspx';
parent.frames['Main_Bottom_MainFrame'].location = 'Success.aspx';
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="1" style="width: 675px; height: 127px">
<tr>
<td style="width: 100px; height: 26px">
<asp:Label ID="Label1" runat="server" Font-Names="宋体" Font-Size="Small" Text="过滤符号"
Width="60px"></asp:Label></td>
<td style="width: 100px; height: 26px">
<asp:TextBox ID="txtFilter" runat="server" Enabled="False" Height="16px" ReadOnly="True"
Width="82px"></asp:TextBox></td>
<td style="width: 100px; height: 26px">
<asp:Button ID="btnFilter" runat="server" OnClick="btnFilter_Click" Text="显示" /></td>
<td colspan="3" style="height: 26px">
</td>
</tr>
<tr>
<td style="width: 100px; height: 21px">
<asp:Label ID="Label2" runat="server" Font-Names="宋体" Font-Size="Small" Text="零件编号"
Width="60px"></asp:Label></td>
<td style="width: 100px; height: 21px">
<asp:Panel ID="plFilter" runat="server" BackColor="DarkGray" Height="46px" Style="z-index: 110;
left: 124px; position: absolute; top: 51px" Visible="False" Width="195px">
<asp:Button ID="btnFilterMark_1" runat="server" OnClick="btnFilterMark_1_Click" Text="&" />
<asp:Button ID="btnFilterMark_2" runat="server" OnClick="btnFilterMark_2_Click" Text="*" />
<asp:Button ID="btnFilterMark_3" runat="server" OnClick="btnFilterMark_3_Click" Text="." />
<asp:Button ID="btnFilterMark_4" runat="server" OnClick="btnFilterMark_4_Click" Text="+" />
<asp:Button ID="btnFilterMark_5" runat="server" OnClick="btnFilterMark_5_Click" Text="=" />
<asp:Button ID="btnFilterMark_6" runat="server" OnClick="btnFilterMark_6_Click" Text="/" />
<asp:Button ID="btnFilterMark_7" runat="server" OnClick="btnFilterMark_7_Click" Text="%" />
<asp:Button ID="btnFilterMark_8" runat="server" OnClick="btnFilterMark_8_Click" Text="#" />
<asp:Button ID="btnFilterMark_9" runat="server" OnClick="btnFilterMark_9_Click" Text="$" />
<asp:Button ID="btnFilterMark_10" runat="server" OnClick="btnFilterMark_10_Click"
Text="^" />
<asp:Button ID="btnFilterMark_11" runat="server" OnClick="btnFilterMark_11_Click"
Text="\" />
<asp:Button ID="btnFilterMark_12" runat="server" OnClick="btnFilterMark_12_Click"
Text="@" />
<asp:Button ID="btnFilterMark_13" runat="server" OnClick="btnFilterMark_13_Click"
Text="_" />
</asp:Panel>
<asp:TextBox ID="txtPartNum" runat="server" Height="16px" Width="82px"></asp:TextBox></td>
<td style="width: 100px; height: 21px">
<asp:Label ID="Label3" runat="server" Font-Names="宋体" Font-Size="Small" Text="查询范围"
Width="60px"></asp:Label></td>
<td style="width: 100px; height: 21px">
<asp:DropDownList ID="ddlQueryRange" runat="server" Width="75px">
<asp:ListItem Value="-1">全部</asp:ListItem>
<asp:ListItem Value="0">已匹配上</asp:ListItem>
<asp:ListItem Value="1">未匹配上</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 100px; height: 21px">
<asp:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" Text="查询" /></td>
<td style="width: 101px; height: 21px">
<asp:CheckBox ID="chbBlur" runat="server" Font-Names="宋体" Font-Size="Small" Text="模糊匹配" /></td>
</tr>
<tr>
<td colspan="6" style="height: 16px">
</td>
</tr>
<tr>
<td colspan="4" style="height: 30px">
</td>
<td style="width: 100px; height: 30px;">
<asp:Button ID="btnAutoMatch" runat="server" OnClick="btnAutoMatch_Click" Text="自动匹配" /></td>
<td style="width: 101px; height: 30px;">
<input id="Button1" style="width: 78px; height: 24px" type="button" value="返回" onclick="GoBack()" /></td>
</tr>
</table>
<asp:GridView ID="gvPEDSPrice" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" DataKeyNames="ID" EmptyDataText="无查询结果" Font-Names="Arial" Font-Size="Small"
ForeColor="#333333" GridLines="None" Height="40px" OnPageIndexChanging="gvPEDSPrice_PageIndexChanging"
OnRowCancelingEdit="gvPEDSPrice_RowCancelingEdit" OnRowDataBound="gvPEDSPrice_RowDataBound"
OnRowEditing="gvPEDSPrice_RowEditing" OnRowUpdating="gvPEDSPrice_RowUpdating"
PageSize="15" ShowFooter="True" Width="675px">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<EmptyDataRowStyle Font-Names="Arial" Font-Size="Small" />
<Columns>
<asp:CommandField ShowEditButton="True">
<ItemStyle Width="60px" />
</asp:CommandField>
<asp:BoundField DataField="零件编号" HeaderText="零件编号" ReadOnly="True" />
<asp:BoundField DataField="SysPrice" DataFormatString="{0:f2}" HeaderText="PEDS价格"
HtmlEncode="False" ReadOnly="True">
<ItemStyle HorizontalAlign="Right" Width="70px" />
</asp:BoundField>
<asp:TemplateField HeaderText="单价">
<ItemTemplate>
<%# Eval("单价")%>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtEditPrice" runat="server" Height="16px" Text='<%# Eval("单价")%>'
Width="90px"></asp:TextBox>
</EditItemTemplate>
<ItemStyle HorizontalAlign="Right" Width="70px" />
</asp:TemplateField>
<asp:BoundField DataField="MakeName" HeaderText="所属厂牌" ReadOnly="True">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="ModelName" HeaderText="所属车系" ReadOnly="True">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="Remark" HeaderText="备注" ReadOnly="True">
<ItemStyle HorizontalAlign="Center" Width="60px" />
</asp:BoundField>
<asp:BoundField DataField="导入标记" HeaderText="导入标记" ReadOnly="True" Visible="False" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" Font-Names="Arial" Font-Size="Small" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" Font-Names="Arial" Font-Size="Small" ForeColor="#284775" />
<PagerTemplate>
当前页:<asp:Label ID="LabelCurrentPage" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageIndex + 1 %>"></asp:Label>
总页数:<asp:Label ID="LabelPageCount" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageCount %>">总页数:</asp:Label>
<asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page"
Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
<asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev"
CommandName="Page" Visible="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
<asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page"
Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
<asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page"
Visible="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
<asp:TextBox ID="txtNewPageIndex" runat="server" Height="11px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'
Width="24px"></asp:TextBox>
<asp:LinkButton ID="btnGo" runat="server" CausesValidation="False" CommandArgument="-1"
CommandName="Page" Text="GO"></asp:LinkButton>
</PagerTemplate>
</asp:GridView>
<asp:HiddenField ID="hidVersion" runat="server" />
<asp:HiddenField ID="hidModels" runat="server" />
<asp:HiddenField ID="hidTableName" runat="server" />
<asp:HiddenField ID="hidPEDSRowCount" runat="server" />
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -