20241021 修改共检通知单

This commit is contained in:
2024-10-21 16:29:59 +08:00
parent 66d458026e
commit abb15b53fc
11 changed files with 1724 additions and 995 deletions
@@ -15,91 +15,56 @@
<Rows>
<f:FormRow>
<Items>
<f:DropDownList ID="drpUnit" runat="server" Label="施工分包商" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px" >
<f:DropDownList ID="drpUnit" runat="server" Label="施工分包商" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px">
</f:DropDownList>
<f:DropDownList ID="drpCNProfessionalId" runat="server" Label="专业" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px" ></f:DropDownList>
<f:DropDownList ID="drpCNProfessionalId" runat="server" Label="专业" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtNoticeCode" runat="server" Label="共检通知单编号" MaxLength="50" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px" ></f:TextBox>
<f:TextBox runat="server" ID="txtAcceptanceSite" Label="验收部位" LabelAlign="Right" LabelWidth="130px" Required="true" ShowRedStar="true" ></f:TextBox>
<f:TextBox ID="txtNoticeCode" runat="server" Label="共检通知单" MaxLength="50" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
<f:DropDownList ID="drpUnitWorkId" runat="server" Label="单位工程" LabelAlign="Right" LabelWidth="130px" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpUnitWorkId_SelectedIndexChanged" Hidden="true"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow ID="fr1" runat="server" Hidden="true">
<Items>
<f:DropDownList ID="drpUnitWorkId" runat="server" Label="单位工程" LabelAlign="Right" LabelWidth="130px" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpUnitWorkId_SelectedIndexChanged"></f:DropDownList>
<f:DropDownList ID="drpChirldUnitWorkId" runat="server" Label="单位工程" LabelAlign="Right" LabelWidth="130px" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpChirldUnitWorkId_SelectedIndexChanged"></f:DropDownList>
<f:DropDownList ID="drpBranch" runat="server" Label="分部工程" LabelAlign="Right" LabelWidth="130px" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpBranch_SelectedIndexChanged"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow ID="fr2" runat="server" Hidden="true">
<Items>
<f:DropDownList ID="drpChildBranch" runat="server" Label="子分部工程" LabelAlign="Right" LabelWidth="130px" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpChildBranch_SelectedIndexChanged"></f:DropDownList>
<f:DropDownList ID="drpProEngineering" runat="server" Label="分项工程" LabelAlign="Right" LabelWidth="130px" EnableEdit="true"></f:DropDownList>
<f:Label ID="Lable1" runat="server"></f:Label>
</Items>
</Items>
</f:FormRow>
<%--<f:FormRow ColumnWidths="95% 5%">
<f:FormRow>
<Items>
<f:TextBox ID="txtUnitWork" Label="单位工程名称" runat="server" Readonly="true" LabelAlign="Right" LabelWidth="130px">
</f:TextBox>
<f:Button ID="btnSearch" OnClick="btnSearch_Click" ToolTip="搜索" Icon="Find" EnablePostBack="true" runat="server">
<f:TextBox runat="server" ID="txtAcceptanceSite" Label="验收部位" LabelAlign="Right" LabelWidth="130px" Required="true" ShowRedStar="true"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="50% 10% 30%">
<Items>
<f:DropDownList ID="drpAcceptanceCheckMan" runat="server" Label="检查人" EnableCheckBoxSelect="true" LabelWidth="130px"
EnableMultiSelect="true">
</f:DropDownList>
<f:Label ID="Label1" runat="server" Label="上传附件"
LabelWidth="130px" LabelAlign="Right">
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" ID="txtBranch" Label="分部" Readonly="true" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" ID="txtControlPointType" Label="控制点内容" LabelAlign="Right" LabelWidth="130px" Readonly="true"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" ID="txtClass" Label="控制点等级" LabelAlign="Right" LabelWidth="130px" Readonly="true"></f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow ColumnWidths="50% 10% 30%">
<Items>
<f:DropDownList ID="drpAcceptanceCheckMan" runat="server" Label="检查人" EnableCheckBoxSelect="true" LabelWidth="130px"
EnableMultiSelect="true">
</f:DropDownList>
<%-- <f:TextBox runat="server" ID="txtAcceptanceCheckMan" Label="检查人" LabelAlign="Right" LabelWidth="130px" ></f:TextBox>--%>
<f:Label ID="Label1" runat="server" Label="上传附件"
LabelWidth="130px" LabelAlign="Right" >
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click" >
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
<Items>
</Items>
</f:Panel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" Title="共检内容列表" EnableCollapse="false" runat="server"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" Title="共检内容列表" EnableCollapse="false" runat="server"
BoxFlex="1" DataKeyNames="InspectionDetailId,ControlPointType" AllowCellEditing="true" EnableColumnLines="true"
ClicksToEdit="1" DataIDField="InspectionDetailId" OnRowCommand="Grid1_RowCommand" AllowSorting="true" ForceFit="true" SortField="CreateDate"
EnableTextSelection="True" >
EnableTextSelection="True">
<Toolbars>
<f:Toolbar ID="Toolbar4" ToolbarAlign="Right" runat="server">
<Items>
@@ -110,8 +75,7 @@
</Toolbars>
<Columns>
<f:RowNumberField Width="40px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" />
<f:TemplateField ColumnID="UnitWork" Width="120px" HeaderText="单位工程名称" HeaderTextAlign="Center" TextAlign="Center"
>
<f:TemplateField ColumnID="UnitWork" Width="120px" HeaderText="单位工程名称" HeaderTextAlign="Center" TextAlign="Center">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# ConvertUnitWork(Eval("UnitWorkId")) %>'></asp:Label>
</ItemTemplate>