145 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			145 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CSafePunishEdit.aspx.cs" Inherits="FineUIPro.Web.SES.CSafePunishEdit" %>
 | 
						||
 | 
						||
<!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>Contractor Safety Punishment Edit</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">
 | 
						||
            <Rows>
 | 
						||
                <f:FormRow >
 | 
						||
                    <Items>
 | 
						||
                        <f:DatePicker ID="txtPunishDate" runat="server" Label="Date" LabelAlign="Right" LabelWidth="160px" DateFormatString="yyyy-MM-dd" Required="true" ShowRedStar="true"></f:DatePicker>
 | 
						||
                        <f:DatePicker ID="txtPunishTime" runat="server" Label="Time" LabelAlign="Right" LabelWidth="160px" DateFormatString="HH:mm" DisplayType="Time"></f:DatePicker>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                       <f:DropDownList ID="drpContractor" runat="server" Label="Contractor" LabelAlign="Right"  LabelWidth="160px" ShowRedStar="true" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpContractor_SelectedIndexChanged">
 | 
						||
                       </f:DropDownList>
 | 
						||
                       <f:DropDownList ID="drpFO_No" runat="server" Label="Contract No."  EnableEdit="true" LabelAlign="Right" LabelWidth="160px" ShowRedStar="true"  AutoPostBack="true" OnSelectedIndexChanged="drpFO_No_SelectedIndexChanged"></f:DropDownList>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                        <f:TextBox ID="txtDiscispline" runat="server" Label="Discispline"  LabelWidth="160px" Readonly="true"></f:TextBox>
 | 
						||
                        <f:TextBox ID="txtLocation" runat="server" Label="Location" LabelAlign="Right" MaxLength="500" LabelWidth="160px">
 | 
						||
                        </f:TextBox>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                        <f:TextBox ID="txtDescription" runat="server" Label="Violation Description" LabelAlign="Right" MaxLength="500" LabelWidth="160px">
 | 
						||
                        </f:TextBox> 
 | 
						||
                        <f:NumberBox ID="txtCompany" runat="server" Label="Company (RMB)" LabelAlign="Right"  LabelWidth="160px"  DecimalPrecision="2" Required="true" ShowRedStar="true"  AutoPostBack="true"  OnTextChanged="txtPunish_OnTextChanged"></f:NumberBox>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                       <f:NumberBox ID="txtIndividual" runat="server" Label="Individual (RMB)" LabelAlign="Right"  DecimalPrecision="2"  LabelWidth="160px" Required="true" ShowRedStar="true" AutoPostBack="true"  OnTextChanged="txtPunish_OnTextChanged"></f:NumberBox>
 | 
						||
                        <f:NumberBox ID="txtBackcharge" runat="server" Label="Backcharge (RMB)" LabelAlign="Right"  DecimalPrecision="2"  LabelWidth="160px"  Readonly="true"></f:NumberBox>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                 <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                       <f:DropDownList ID="drpViolationDegree" runat="server" Label="Violation Degree"   LabelAlign="Right" LabelWidth="160px" Required="true" ShowRedStar="true">
 | 
						||
                           <f:ListItem  Value="1" Text="一般违章" />
 | 
						||
                           <f:ListItem  Value="2" Text="严重违章" />
 | 
						||
                           <f:ListItem  Value="3" Text="零容忍违章" />
 | 
						||
                       </f:DropDownList> 
 | 
						||
                        <f:TextBox ID="txtContractAdmin" runat="server" Label="Contract Admin" LabelAlign="Right"  LabelWidth="160px" Readonly="true">
 | 
						||
                        </f:TextBox>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                        <f:TextBox ID="txtMainCoordinator" runat="server" Label="Main Coordinator" LabelAlign="Right"  LabelWidth="160px" Readonly="true">
 | 
						||
                        </f:TextBox>
 | 
						||
                        <f:TextBox ID="txtMCDept" runat="server" Label="M.C.Dept" LabelAlign="Right"  LabelWidth="160px" Readonly="true">
 | 
						||
                        </f:TextBox>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                        <f:TextBox ID="txtUserRepresentative" runat="server" Label="User Representative" LabelAlign="Right"  LabelWidth="160px" Readonly="true">
 | 
						||
                        </f:TextBox>
 | 
						||
                        <f:DropDownList ID="drpBYC_RU" runat="server" Label="BYC Resp. Dept." EnableGroup="true" EnableEdit="true" LabelAlign="Right" LabelWidth="160px" Required="true" ShowRedStar="true"></f:DropDownList>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                        <f:DropDownList ID="drpViolationInspector" runat="server" Label="Violation Inspector" EnableEdit="true" EnableGroup="true" LabelAlign="Right" LabelWidth="160px"
 | 
						||
                             AutoPostBack="true" OnSelectedIndexChanged="drpViolationInspector_SelectedIndexChanged" Required="true" ShowRedStar="true"></f:DropDownList>
 | 
						||
                        <f:TextBox ID="txtInspectionDep" runat="server" Label="Inspection Department" LabelAlign="Right"  LabelWidth="160px" Readonly="true">
 | 
						||
                        </f:TextBox>
 | 
						||
                        </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow>
 | 
						||
                    <Items>
 | 
						||
                        <f:GroupPanel ID="GPRole" Title="由 Contract Administrator 角色填写" Layout="Table"  runat="server" >
 | 
						||
                           
 | 
						||
                            <Items>
 | 
						||
                                <f:TextBox ID="txtSESNo" runat="server" Label="Backcharge SES No." LabelAlign="Right" LabelWidth="170px" Width="455px"  ShowRedStar="true" >
 | 
						||
                                </f:TextBox>
 | 
						||
                                <f:DatePicker ID="txtCompletionDate" runat="server" Label="Backcharge Completion Date" LabelAlign="Right" LabelWidth="230px" Width="470px"  ShowRedStar="true"></f:DatePicker>
 | 
						||
                            </Items>
 | 
						||
                        </f:GroupPanel>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
                <f:FormRow >
 | 
						||
                    <Items>
 | 
						||
                        <f:GroupPanel ID="GPDep" Title="End User(BYC Resp. Dept.部门)填写" Layout="Anchor" runat="server" >
 | 
						||
                            <Items>
 | 
						||
                                <f:Form ShowBorder="false" ShowHeader="false"  runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
 | 
						||
                                    <Rows>
 | 
						||
                                        <f:FormRow ColumnWidths="45% 55%">
 | 
						||
                                            <Items>
 | 
						||
                                                <f:DropDownList ID="drpSelectYesNo" runat="server" LabelAlign="Right" Label="是否有关联SES" LabelWidth="160px" Width="400px" AutoPostBack="true" OnSelectedIndexChanged="drpSelectYesNo_SelectedIndexChanged" ShowRedStar="true">
 | 
						||
                                                    <f:ListItem Value="" Text="-请选择-" />
 | 
						||
                                                    <f:ListItem Value="True" Text="是" />
 | 
						||
                                                    <f:ListItem Value="False" Text="否" />
 | 
						||
                                                </f:DropDownList>
 | 
						||
                                                <f:TextBox ID="txtViolationRelatedSes" runat="server" Label="Violation Related SES" LabelAlign="Right" LabelWidth="230px" Width="500px" >
 | 
						||
                                                </f:TextBox>
 | 
						||
                                            </Items>
 | 
						||
                                        </f:FormRow>
 | 
						||
                                        <f:FormRow>
 | 
						||
                                            <Items>
 | 
						||
                                                <f:TextBox ID="txtDef" runat="server" Label="描述" LabelWidth="160px"></f:TextBox>
 | 
						||
                                            </Items>
 | 
						||
                                        </f:FormRow>
 | 
						||
                                    </Rows>
 | 
						||
                                </f:Form>
 | 
						||
                            </Items>
 | 
						||
                        </f:GroupPanel>
 | 
						||
                    </Items>
 | 
						||
                </f:FormRow>
 | 
						||
            </Rows>
 | 
						||
            <Toolbars>
 | 
						||
                <f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
 | 
						||
                    <Items>
 | 
						||
                        <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="Save" ToolTip="Save" ValidateForms="SimpleForm1"
 | 
						||
                            OnClick="btnSave_Click" Hidden="true">
 | 
						||
                        </f:Button>
 | 
						||
                        <f:Button ID="btnClose" EnablePostBack="false" Text="Close" ToolTip="Close" runat="server" Icon="SystemClose">
 | 
						||
                        </f:Button>
 | 
						||
                    </Items>
 | 
						||
                </f:Toolbar>
 | 
						||
            </Toolbars>
 | 
						||
        </f:Form>
 | 
						||
        <script type="text/javascript">
 | 
						||
        function reloadGrid() {
 | 
						||
            __doPostBack(null, 'reloadGrid');
 | 
						||
        }
 | 
						||
    </script>
 | 
						||
    </form>
 | 
						||
</body>
 | 
						||
</html>
 |