299 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			299 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| <%@ Page Language="C#" EnableViewState="true" AutoEventWireup="true" CodeBehind="ContactFormEdit.aspx.cs" Inherits="FineUIPro.Web.CQMS.Information.ContactFormEdit" %>
 | |
| 
 | |
| <!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>
 | |
|     <style type="text/css">
 | |
|         .labcenter {
 | |
|             text-align: center;
 | |
|         }
 | |
| 
 | |
|         .f-grid-row .f-grid-cell-inner {
 | |
|             white-space: normal;
 | |
|             word-break: break-all;
 | |
|         }
 | |
| 
 | |
|         .f-grid-row.red {
 | |
|             background-color: #FF7575;
 | |
|             background-image: none;
 | |
|         }
 | |
| 
 | |
|         .fontred {
 | |
|             color: #FF7575;
 | |
|             background-image: none;
 | |
|         }
 | |
|     </style>
 | |
| </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:HiddenField ID="hdContactSheetId" runat="server"></f:HiddenField>
 | |
|                         <f:HiddenField ID="hdCreateMan" runat="server"></f:HiddenField>
 | |
|                         <f:ToolbarFill ID="ToolbarFill1" runat="server">
 | |
|                         </f:ToolbarFill>
 | |
|                         <f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave" runat="server" ToolTip="保存">
 | |
|                         </f:Button>
 | |
|                         <f:Button ID="btnSubmit" OnClick="btnSubmit_Click" Icon="SystemSaveNew" runat="server" ToolTip="提交" ValidateForms="SimpleForm1">
 | |
|                         </f:Button>
 | |
|                         <f:HiddenField ID="hdId" runat="server">
 | |
|                         </f:HiddenField>
 | |
|                         <f:HiddenField ID="hdAttachUrl" runat="server">
 | |
|                         </f:HiddenField>
 | |
|                     </Items>
 | |
|                 </f:Toolbar>
 | |
|             </Toolbars>
 | |
|             <Rows>
 | |
|                 <f:FormRow>
 | |
|                     <Items>
 | |
|                         <f:ContentPanel ID="ContentPanel2" Title="现场联系单" ShowBorder="true"
 | |
|                             BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
 | |
|                             runat="server">
 | |
|                             <f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
 | |
|                                 BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
 | |
|                                 <Rows>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:TextBox ID="txtDName" ShowRedStar="true" runat="server" Label="主题" Required="true" LabelAlign="Right" LabelWidth="170px">
 | |
|                                             </f:TextBox>
 | |
|                                            
 | |
|                                              <f:DropDownList ID="dpShipIds" runat="server" Label="联络单编号" EnableEdit="true"  EmptyText="--请选择--"  OnItemDataBound="dpShipIds_ItemDataBound" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" >
 | |
|                                             </f:DropDownList>
 | |
| 
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:RadioButtonList runat="server" ID="IsPo" Label="联系单类型" ShowRedStar="true" AutoPostBack="true" LabelWidth="170px">
 | |
|                                                 <f:RadioItem Text="分包合同范围内" Value="Y" Selected="true" />
 | |
|                                                 <f:RadioItem Text="分包合同范围外" Value="N" />
 | |
|                                             </f:RadioButtonList>
 | |
|                                             <f:TextBox ID="txtContactSheetCode" ShowRedStar="true" runat="server" Label="联系单编号" Required="true" LabelAlign="Right" LabelWidth="170px">
 | |
|                                             </f:TextBox>
 | |
| 
 | |
| 
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
| 
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:TextBox ID="txtOwnerCode" ShowRedStar="true" runat="server" Label="业主编号" Required="true" LabelAlign="Right" LabelWidth="170px">
 | |
|                                             </f:TextBox>
 | |
| 
 | |
|                                             <f:TextBox ID="txtDocCode" ShowRedStar="true" runat="server" Label="文件编号" Required="true" LabelAlign="Right" LabelWidth="170px">
 | |
|                                             </f:TextBox>
 | |
| 
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:DropDownList ID="drpDraftReasonType" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpDraftReasonType_SelectedIndexChanged" Label="一级原因" EnableEdit="true" EmptyText="--请选择--" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" ShowRedStar="true" Required="true">
 | |
|                                             </f:DropDownList>
 | |
|                                             <f:DropDownList ID="drpDraftReasonType1" runat="server" Label="二级原因" EnableEdit="true" EmptyText="--请选择--" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" ShowRedStar="true" Required="true">
 | |
|                                             </f:DropDownList>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:DropDownList ID="drpInstallation" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpInstallation_SelectedIndexChanged" Label="所属装置" EnableEdit="true" EmptyText="--请选择--" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" ShowRedStar="true" Required="true">
 | |
|                                             </f:DropDownList>
 | |
|                                             <f:DropDownList ID="drpUnitWork" runat="server" Label="单位工程" EnableEdit="true" EmptyText="--请选择--" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" ShowRedStar="true" Required="true">
 | |
|                                             </f:DropDownList>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
| 
 | |
|                                             <f:DropDownList ID="drpCNProfessional" runat="server" Label="所属专业" EnableEdit="true" EmptyText="--请选择--" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" ShowRedStar="true" Required="true">
 | |
|                                             </f:DropDownList>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
| 
 | |
|                                     <f:FormRow runat="server">
 | |
|                                         <Items>
 | |
|                                             <f:TextArea ID="txtContents" runat="server" Label="变更内容" MaxLength="3000" LabelWidth="170px">
 | |
|                                             </f:TextArea>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:TextBox ID="txtArtificialInput" ShowRedStar="true" runat="server" Label="预估费用(元)" Required="true" LabelAlign="Right" LabelWidth="170px">
 | |
|                                             </f:TextBox>
 | |
| 
 | |
|                                             <f:TextBox ID="txtAuditArtificialInput" ShowRedStar="true" runat="server" Label="审核费用(元)" Required="true" LabelAlign="Right" LabelWidth="170px">
 | |
|                                             </f:TextBox>
 | |
| 
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:DropDownList ID="DropCompany" runat="server" Label="发起单位" EnableEdit="true" EmptyText="--请选择--" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" ShowRedStar="true" Required="true">
 | |
|                                             </f:DropDownList>
 | |
|                                             <f:DropDownList ID="DropReceiver" runat="server" Label="送达单位" EnableEdit="true" EmptyText="--请选择--" AutoSelectFirstItem="false" LabelAlign="right" LabelWidth="170px" ShowRedStar="true" Required="true">
 | |
|                                             </f:DropDownList>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow runat="server">
 | |
|                                         <Items>
 | |
|                                             <f:DatePicker ID="dpCreatDate" ShowRedStar="true" runat="server" Label="发起时间" Required="true" LabelAlign="Right" AutoPostBack="true"
 | |
|                                                 EnableEdit="true" LabelWidth="170px" OnTextChanged="txtMaterialPlanReachDate_TextChanged">
 | |
|                                             </f:DatePicker>
 | |
|                                             <f:DatePicker ID="dpRealCompletDate" ShowRedStar="true" runat="server" Label="计划完成时间" Required="true" LabelAlign="Right" AutoPostBack="true"
 | |
|                                                 EnableEdit="true" LabelWidth="170px" OnTextChanged="txtMaterialPlanReachDate_TextChanged">
 | |
|                                             </f:DatePicker>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:Panel ID="Panel2" Width="300px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
 | |
|                                                 <Items>
 | |
|                                                     <f:Label ID="Label1" runat="server" Label="附件"
 | |
|                                                         LabelWidth="170px">
 | |
|                                                     </f:Label>
 | |
|                                                     <f:Button ID="btnAttach1" Icon="TableCell" EnablePostBack="true" Text="启动条件" runat="server" OnClick="btnAttach_Click1">
 | |
|                                                     </f:Button>
 | |
|                                                     <f:Button ID="btnAttach2" Icon="TableCell" EnablePostBack="true" Text="附件"   MarginLeft="10px"  runat="server" OnClick="btnAttach_Click2">
 | |
|                                                     </f:Button>
 | |
|                                                     <f:Button ID="btnAttach3" Icon="TableCell" EnablePostBack="true" Text="费用清单"  MarginLeft="10px"  runat="server" OnClick="btnAttach_Click3">
 | |
|                                                     </f:Button>
 | |
|                                                 </Items>
 | |
|                                             </f:Panel>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow> 
 | |
|                                 </Rows>
 | |
|                             </f:Form>
 | |
| 
 | |
|                         </f:ContentPanel>
 | |
|                     </Items>
 | |
| 
 | |
|                 </f:FormRow>
 | |
| 
 | |
|                 <f:FormRow>
 | |
|                     <Items> 
 | |
|                         <f:Grid ID="Distribute" IsFluid="true" CssClass="blockpanel" Title="分发人员" EnableCollapse="false" ShowBorder="true" ShowHeader="true" EnableCheckBoxSelect="true"
 | |
|                             SortField="UserName" DataIDField="UserId"
 | |
|                             runat="server" DataKeyNames="UserId">
 | |
|                             <Toolbars>
 | |
|                             </Toolbars>
 | |
|                             <Columns> 
 | |
|                                 <f:RowNumberField HeaderText="序号" /> 
 | |
|                                 <f:BoundField ExpandUnusedSpace="true" MinWidth="150px" DataField="UserName" DataFormatString="{0}"
 | |
|                                     HeaderText="用户名称" />
 | |
|                                 <f:BoundField ExpandUnusedSpace="true" MinWidth="150px" DataField="UnitName" DataFormatString="{0}"
 | |
|                                     HeaderText="单位名称" />
 | |
|                                 <f:BoundField ExpandUnusedSpace="true" MinWidth="150px" DataField="RoleName" DataFormatString="{0}"
 | |
|                                     HeaderText="项目角色" />
 | |
| 
 | |
| 
 | |
|                             </Columns>
 | |
|                         </f:Grid>
 | |
| 
 | |
|                     </Items>
 | |
| 
 | |
|                 </f:FormRow>
 | |
| 
 | |
|                 <f:FormRow ID="next">
 | |
|                     <Items>
 | |
|                         <f:ContentPanel ID="ContentPanel4" Title="现场联系单审批 " runat="server" ShowHeader="true" EnableCollapse="true"
 | |
|                             BodyPadding="0px">
 | |
| 
 | |
|                             <f:Form ID="Form6" ShowBorder="false" ShowHeader="false" AutoScroll="true"
 | |
|                                 BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
 | |
|                                 <Rows>
 | |
|                                     <f:FormRow runat="server" ID="rblIsAgree">
 | |
|                                         <Items>
 | |
|                                             <f:Panel ID="Panel1" Width="300px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
 | |
|                                                 <Items>
 | |
|                                                     <f:RadioButtonList runat="server" ID="RadioButtonList1" Label="是否同意" ShowRedStar="true" AutoPostBack="true" LabelWidth="170px" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
 | |
|                                                         <f:RadioItem Text="同意" Value="true" Selected="true" />
 | |
|                                                         <f:RadioItem Text="不同意" Value="false" />
 | |
|                                                     </f:RadioButtonList>
 | |
|                                                 </Items>
 | |
|                                             </f:Panel>
 | |
| 
 | |
|                                             <f:Label runat="server" CssStyle="display:none" LabelWidth="170px"></f:Label>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
|                                     <f:FormRow>
 | |
|                                         <Items>
 | |
|                                             <f:DropDownList ID="drpHandleType" LabelWidth="170px" AutoPostBack="true" runat="server" Label="办理步骤" LabelAlign="Right" EnableEdit="true" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged">
 | |
|                                             </f:DropDownList>
 | |
|                                             <f:DropDownList ID="drpHandleMan" runat="server" Label="办理人员" Required="true" LabelAlign="Right" EnableEdit="true" LabelWidth="170px" ShowRedStar="true">
 | |
|                                             </f:DropDownList>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
| 
 | |
|                                     <f:FormRow ID="HideOptions" runat="server">
 | |
|                                         <Items>
 | |
|                                             <f:TextArea ID="txtOpinions" runat="server" Label="我的意见" MaxLength="3000" LabelWidth="170px">
 | |
|                                             </f:TextArea>
 | |
|                                         </Items>
 | |
|                                     </f:FormRow>
 | |
| 
 | |
|                                 </Rows>
 | |
|                             </f:Form>
 | |
| 
 | |
|                         </f:ContentPanel>
 | |
|                     </Items>
 | |
|                 </f:FormRow>
 | |
|                 <f:FormRow ID="plApprove2">
 | |
|                     <Items>
 | |
|                         <f:ContentPanel Title="设计变更审批列表" ShowBorder="true"
 | |
|                             BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
 | |
|                             runat="server">
 | |
|                             <f:Grid ID="gvApprove" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false" DataIDField="ContactSheetAuditId" SortField="AuditDate" SortDirection="ASC"
 | |
|                                 DataKeyNames="ContactSheetAuditId" EnableColumnLines="true" ForceFit="true">
 | |
|                                 <Columns>
 | |
|                                     <f:TemplateField ColumnID="tfPageIndex" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
 | |
|                                         EnableLock="true" Locked="False">
 | |
|                                         <ItemTemplate>
 | |
|                                             <asp:Label ID="lblPageIndex" runat="server" Text='<%# gvApprove.PageIndex * gvApprove.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
 | |
|                                         </ItemTemplate>
 | |
|                                     </f:TemplateField>
 | |
|                                     <f:TemplateField ColumnID="State" Width="250px" HeaderText="办理类型" HeaderTextAlign="Center" TextAlign="Center"
 | |
|                                         EnableLock="true" Locked="False">
 | |
|                                         <ItemTemplate>
 | |
|                                             <asp:Label ID="lbtype" runat="server" Text='<%# ConvertState(Eval("HandleStep")) %>'></asp:Label>
 | |
|                                         </ItemTemplate>
 | |
|                                     </f:TemplateField>
 | |
|                                     <f:BoundField Width="180px" DataField="UserName" HeaderTextAlign="Center" HeaderText="办理人员" TextAlign="Center" />
 | |
|                                     <f:BoundField Width="200px" DataField="AuditDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="办理时间" />
 | |
|                                     <f:BoundField Width="180px" DataField="Opinions" HeaderTextAlign="Center" TextAlign="Center" HeaderText="办理意见" />
 | |
|                                 </Columns>
 | |
|                             </f:Grid>
 | |
|                         </f:ContentPanel>
 | |
|                     </Items>
 | |
|                 </f:FormRow>
 | |
|             </Rows>
 | |
| 
 | |
|         </f:Form>
 | |
|         <f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
 | |
|             Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
 | |
|             Height="500px">
 | |
|         </f:Window>
 | |
|     </form>
 | |
| </body>
 | |
| <script>
 | |
| 
 | |
|     var grid1ClientID = '<%= Distribute.ClientID %>';
 | |
| 
 | |
|     function onQuickSetCheckChange() {
 | |
|         var grid1 = F(grid1ClientID);
 | |
|         var checkboxFieldID = this.getAttr('data-tag'), checked = this.getValue();
 | |
| 
 | |
|         var checkboxEls = grid1.el.find('.f-grid-cell-' + checkboxFieldID + ' .f-grid-checkbox');
 | |
|         checkboxEls.toggleClass('f-checked', checked);
 | |
|     }
 | |
| 
 | |
| 
 | |
| 
 | |
| </script>
 | |
| </html>
 |