Basf_FCL/FCL/FineUIPro.Web/SES/CQualityPunishEdit.aspx

200 lines
13 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CQualityPunishEdit.aspx.cs" Inherits="FineUIPro.Web.SES.CQualityPunishEdit" %>
<!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" />
<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="180px" DateFormatString="yyyy-MM-dd" ShowRedStar="true" Required="true"></f:DatePicker>
<f:DatePicker ID="txtPunishTime" runat="server" Label="Time" LabelAlign="Right" LabelWidth="180px" DateFormatString="HH:mm" DisplayType="Time" ShowRedStar="true" Required="true"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="50% 23% 27%">
<Items>
<f:TextBox ID="txtFO_No" runat="server" Label="Contract No." LabelAlign="Right" LabelWidth="180px" ShowRedStar="true" Required="true" AutoPostBack="true" OnTextChanged="txtText_TextChanged"></f:TextBox>
<f:TextBox ID="txtItemNo" runat="server" Label="序号" LabelWidth="180px" Readonly="true" ></f:TextBox>
<f:RadioButtonList ID="rbIsFrame" runat="server" Label="Is Frame Contract" LabelAlign="Right" LabelWidth="160px" Readonly="true">
<f:RadioItem Text="是" Value="1" />
<f:RadioItem Text="否" Value="0" />
</f:RadioButtonList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtContractor" runat="server" Label="Contractor" LabelAlign="Right" LabelWidth="180px" ShowRedStar="true" Required="true">
</f:TextBox>
<f:TextBox ID="txtDiscispline" runat="server" Label="Discispline" LabelWidth="180px" ShowRedStar="true" Required="true"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtLocation" runat="server" Label="Location" LabelAlign="Right" MaxLength="500" LabelWidth="180px" ShowRedStar="true" Required="true">
</f:TextBox>
<f:TextBox ID="txtViolationPerson" runat="server" Label="Violation Person" LabelAlign="Right" LabelWidth="180px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDescription" runat="server" Label="Violation Description" LabelAlign="Right" MaxLength="500" LabelWidth="180px" ShowRedStar="true" Required="true">
</f:TextBox>
<f:DropDownList ID="drpViolationClause" runat="server" Label="Violation Clause" EnableEdit="true" LabelAlign="Right" LabelWidth="180px" EnableGroup="true"
AutoPostBack="true" OnSelectedIndexChanged="drpViolationClause_OnSelectedIndexChanged" ShowRedStar="true" Required="true"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpViolationDegree" runat="server" Label="Violation Degree" LabelAlign="Right" LabelWidth="180px">
<f:ListItem Value="1" Text="一般违章" />
<f:ListItem Value="2" Text="严重违章" />
<f:ListItem Value="3" Text="零容忍违章" />
</f:DropDownList>
<f:NumberBox ID="txtCompany" runat="server" Label="Company (RMB)" LabelAlign="Right" LabelWidth="180px" DecimalPrecision="2" AutoPostBack="true" OnTextChanged="txtPunish_OnTextChanged" ShowRedStar="true" Required="true"></f:NumberBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:NumberBox ID="txtIndividual" runat="server" Label="Individual (RMB)" LabelAlign="Right" DecimalPrecision="2" LabelWidth="180px" AutoPostBack="true" OnTextChanged="txtPunish_OnTextChanged" ShowRedStar="true" Required="true"></f:NumberBox>
<f:NumberBox ID="txtBackcharge" runat="server" Label="Backcharge (RMB)" LabelAlign="Right" DecimalPrecision="2" LabelWidth="180px" Readonly="true"></f:NumberBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtContractAdmin" runat="server" Label="Contract Admin" LabelAlign="Right" LabelWidth="180px" Readonly="true">
</f:TextBox>
<f:TextBox ID="txtMainCoordinator" runat="server" Label="Main Coordinator" LabelAlign="Right" LabelWidth="180px" Readonly="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtMCDept" runat="server" Label="M.C.Dept" LabelAlign="Right" LabelWidth="180px" Readonly="true">
</f:TextBox>
<f:TextBox ID="txtUserRepresentative" runat="server" Label="User Representative" LabelAlign="Right" LabelWidth="180px" Readonly="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpViolationInspector" runat="server" Label="Violation Inspector" EnableEdit="true" EnableGroup="true" LabelAlign="Right" LabelWidth="180px"
Readonly="true"></f:DropDownList>
<f:TextBox ID="txtInspectionDep" runat="server" Label="Inspection Department" LabelAlign="Right" LabelWidth="180px" Readonly="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpBYC_RU" runat="server" Label="BYC Resp. Dept" LabelAlign="Right" LabelWidth="180px" ShowRedStar="true" Required="true"></f:DropDownList>
<f:TextBox ID="txtViolationRelatedSes" runat="server" Label="Violation Related SES" LabelAlign="Right" LabelWidth="180px" >
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpRequisitioner" runat="server" Label="Contract Requisitioner" EnableEdit="true" EnableGroup="true" LabelAlign="Right" LabelWidth="180px"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Panel ID="Panel3" Width="500px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
<Items>
<f:Label ID="lblAttach" runat="server" Label="Upload Attach" LabelAlign="Right" LabelWidth="180px">
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="Upload File" runat="server" OnClick="btnAttach_Click">
</f:Button>
</Items>
</f:Panel>
</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="180px" Width="510px" 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 UserBYC Resp. Dept.部门)填写" Layout="Anchor" runat="server">
<Items>
<f:Form ShowBorder="false" ShowHeader="false" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtViolationRelatedSes1" runat="server" Label="Violation Related SES" LabelAlign="Right" LabelWidth="180px" Width="510px">
</f:TextBox>
<f:Label runat="server"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:GroupPanel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:GroupPanel ID="GPAudit" Title="审核" Layout="Anchor" runat="server" Hidden="true">
<Items>
<f:Form ShowBorder="false" ShowHeader="false" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow ColumnWidths="33% 67%">
<Items>
<f:RadioButtonList ID="rbIsPass" runat="server" Label="审核结果" LabelWidth="140px" Width="240px">
<f:RadioItem Value="1" Text="通过" Selected="true" />
<f:RadioItem Value="0" Text="拒绝" />
</f:RadioButtonList>
<f:Label runat="server"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtAuditResult" runat="server" Label="通过/拒绝描述" LabelWidth="140px"></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:HiddenField ID="hdId" runat="server"></f:HiddenField>
<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>
</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>
</body>
</html>