Files
SGGL_SHJ/SGGL/FineUIPro.Web/HJGL/PreDesign/MaterialManageIn.aspx
T
lpf e30bb4b1b7 feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
2026-11-02 11:16:43 +08:00

69 lines
4.2 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaterialManageIn.aspx.cs" Inherits="FineUIPro.Web.HJGL.PreDesign.MaterialIn" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" OnCustomEvent="PageManager1_CustomEvent" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:HiddenField ID="hdFileName" runat="server">
</f:HiddenField>
<f:Button ID="btnAudit" Icon="ApplicationEdit" runat="server" ToolTip="<%$ Resources:UiText, T_审核 %>" ValidateForms="SimpleForm1" Text="<%$ Resources:UiText, T_审核 %>"
OnClick="btnAudit_Click">
</f:Button>
<f:Button ID="btnImport" Icon="ApplicationGet" runat="server" ToolTip="<%$ Resources:UiText, T_导入 %>" ValidateForms="SimpleForm1" Text="<%$ Resources:UiText, T_导入 %>"
OnClick="btnImport_Click">
</f:Button>
<f:Button ID="btnDownLoad" runat="server" Icon="ApplicationGo" ToolTip="<%$ Resources:UiText, T_下载模板 %>" OnClick="btnDownLoad_Click" Text="<%$ Resources:UiText, T_下载模板 %>">
</f:Button>
<f:HiddenField ID="hdCheckResult" runat="server">
</f:HiddenField>
</Items>
</f:Toolbar>
</Toolbars>
<Rows>
<f:FormRow>
<Items>
<f:FileUpload runat="server" ID="fuAttachUrl" EmptyText="<%$ Resources:UiText, T_选择要导入的文件 %>" Label="<%$ Resources:UiText, T_选择要导入的文件 %>"
LabelWidth="150px">
</f:FileUpload>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="gvErrorInfo" ShowBorder="true" EnableAjax="false" ShowHeader="false" Title="<%$ Resources:UiText, T_材料信息 %>" EnableCollapse="true"
runat="server" BoxFlex="1" AllowCellEditing="true" ClicksToEdit="2" AllowSorting="true"
SortDirection="DESC" EnableColumnLines="true" ForceFit="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10"
EnableRowDoubleClickEvent="true" AllowFilters="true" EnableTextSelection="True">
<Columns>
<f:TemplateField ColumnID="tfPageIndex" Width="55px" HeaderText="<%$ Resources:UiText, T_序号 %>" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="lblPageIndex" runat="server" Text='<%# gvErrorInfo.PageIndex * gvErrorInfo.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:BoundField DataField="Row" HeaderText="<%$ Resources:UiText, T_错误行号 %>">
</f:BoundField>
<f:BoundField DataField="Column" HeaderText="<%$ Resources:UiText, T_错误列 %>">
</f:BoundField>
<f:BoundField DataField="Reason" HeaderText="<%$ Resources:UiText, T_错误类型 %>">
</f:BoundField>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</form>
</body>
</html>