2022-09-05 16:36:31 +08:00
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainItemEdit.aspx.cs" Inherits="FineUIPro.Web.ProjectData.MainItemEdit" %>
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head runat="server">
|
2026-11-02 11:16:43 +08:00
|
|
|
<title><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_项目主项 %>" /></title>
|
2022-09-05 16:36:31 +08:00
|
|
|
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<form id="form1" runat="server">
|
|
|
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
|
|
|
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
|
|
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
|
|
|
<Toolbars>
|
|
|
|
|
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
|
|
|
|
<Items>
|
|
|
|
|
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
|
|
|
|
</f:ToolbarFill>
|
2024-09-24 11:28:27 +08:00
|
|
|
<f:TextBox runat="server" ID="hdCoordinate" Hidden="true"></f:TextBox>
|
2022-09-05 16:36:31 +08:00
|
|
|
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave"
|
2026-11-02 11:16:43 +08:00
|
|
|
runat="server" Text="<%$ Resources:UiText, T_保存 %>" ValidateForms="SimpleForm1">
|
2022-09-05 16:36:31 +08:00
|
|
|
</f:Button>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:Toolbar>
|
|
|
|
|
</Toolbars>
|
|
|
|
|
<Rows>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
|
|
|
|
<f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
2024-09-24 11:28:27 +08:00
|
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" LabelWidth="110px">
|
2022-09-05 16:36:31 +08:00
|
|
|
<Rows>
|
|
|
|
|
<f:FormRow runat="server">
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtProjectName" runat="server" Label="<%$ Resources:UiText, T_项目 %>" MaxLength="70" Readonly="true">
|
2022-09-05 16:36:31 +08:00
|
|
|
</f:TextBox>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow runat="server">
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtMainItemCode" runat="server" Label="<%$ Resources:UiText, T_主项编号 %>"
|
2024-09-24 11:28:27 +08:00
|
|
|
Required="true" MaxLength="70" ShowRedStar="true" AutoPostBack="true" OnTextChanged="txtMainItemCode_TextChanged">
|
2022-09-05 16:36:31 +08:00
|
|
|
</f:TextBox>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtMainItemName" runat="server" Label="<%$ Resources:UiText, T_主项名称 %>"
|
2024-09-24 11:28:27 +08:00
|
|
|
Required="true" MaxLength="70" ShowRedStar="true">
|
2022-09-05 16:36:31 +08:00
|
|
|
</f:TextBox>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:DropDownBox runat="server" Label="<%$ Resources:UiText, T_包含设计专业 %>" ShowRedStar="true"
|
|
|
|
|
Required="true" ID="txtCarryUnit" EmptyText="<%$ Resources:UiText, T_请选择_2 %>" EnableMultiSelect="true" MatchFieldWidth="true">
|
2022-09-05 16:36:31 +08:00
|
|
|
<PopPanel>
|
|
|
|
|
<f:Grid ID="gvCarryUnit" DataIDField="DesignProfessionalId"
|
|
|
|
|
EnableMultiSelect="true" KeepCurrentSelection="true" Height="300px" Hidden="true" SortField="DesignProfessionalId" DataTextField="ProfessionalName"
|
|
|
|
|
ShowBorder="true" ShowHeader="false" ForceFit="true"
|
|
|
|
|
runat="server" EnableCheckBoxSelect="true">
|
|
|
|
|
<Columns>
|
|
|
|
|
<f:BoundField Width="100px" DataField="DesignProfessionalId" SortField="DesignProfessionalId" DataFormatString="{0}" Hidden="true" />
|
|
|
|
|
<f:BoundField Width="100px" DataField="ProfessionalName" SortField="ProfessionalName" DataFormatString="{0}"
|
2026-11-02 11:16:43 +08:00
|
|
|
HeaderText="<%$ Resources:UiText, T_专业名称 %>" />
|
2022-09-05 16:36:31 +08:00
|
|
|
</Columns>
|
|
|
|
|
</f:Grid>
|
|
|
|
|
</PopPanel>
|
|
|
|
|
</f:DropDownBox>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextArea runat="server" ID="txtRemark" Label="<%$ Resources:UiText, T_备注 %>"></f:TextArea>
|
2024-09-24 11:28:27 +08:00
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow ColumnWidths="5% 15% 80%">
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:Label runat="server" ID="Label1" Label="<%$ Resources:UiText, T_位置选择 %>" LabelWidth="150px"></f:Label>
|
|
|
|
|
<f:Button runat="server" ID="Button1" OnClick="btnMap_Click" Text="<%$ Resources:UiText, T_选择 %>"></f:Button>
|
2024-09-24 11:28:27 +08:00
|
|
|
<f:HiddenField runat="server" ID="HiddenField1"></f:HiddenField>
|
2022-09-05 16:36:31 +08:00
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
</Rows>
|
|
|
|
|
</f:Form>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
</Rows>
|
|
|
|
|
</f:Form>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:Window ID="Window2" Title="<%$ Resources:UiText, T_位置选择 %>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
2024-09-24 11:28:27 +08:00
|
|
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window2_Close"
|
|
|
|
|
Width="860px" Height="660px">
|
|
|
|
|
</f:Window>
|
2022-09-05 16:36:31 +08:00
|
|
|
</form>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|