ZHJA_HJGL/HJGL_ZH/FineUIPro.Web/HJGL/CheckManage/MTReportEdit.aspx

203 lines
13 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MTReportEdit.aspx.cs" Inherits="FineUIPro.Web.HJGL.CheckManage.MTReportEdit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>磁粉检测报告</title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items>
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="磁粉检测报告"
TitleToolTip="磁粉检测报告" AutoScroll="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" Text="提交" ToolTip="提交" ValidateForms="SimpleForm1" Icon="SystemSave"
runat="server" OnClick="btnSave_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtCH_TrustUnit" Label="委托单位" runat="server" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtMTReportCode" runat="server" Label="报告编号" LabelAlign="Right" Required="true"
ShowRedStar="true">
</f:TextBox>
<f:TextBox ID="txtIsoNo" Label="检件编号" runat="server" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtContractUnit" Label="承包单位" runat="server" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtIso_No" Label="检件名称" runat="server" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtSpecifications" Label="检件规格" runat="server" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtSteelCode" Label="检件材质" runat="server" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtCH_NDTCriteria" Label="检测标准" runat="server" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtNDTR_Name" Label="检测比例" runat="server" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCH_AcceptGrade" Label="合格级别" runat="server" LabelAlign="Right">
</f:TextBox>
<f:DropDownList ID="drpTestingTime" Label="检测时机" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
<f:TextBox ID="txtWME_Name" Label="焊接方法" runat="server" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpHotProessState" Label="热处理状态" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
<f:TextBox ID="txtSurfaceState" Label="表面状态" runat="server" LabelAlign="Right">
</f:TextBox>
<f:DropDownList ID="drpTestMethod" Label="磁化方法" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpEquipmentName" Label="设备名称" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
<f:DropDownList ID="drpEquipmentModel" Label="设备型号" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
<f:DropDownList ID="drpSensitivityTestBlock" Label="灵敏度试片" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCurrentType" Label="电流类型" runat="server" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtLiftingPower" Label="提升力/电流" runat="server" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtMagnetizationTime" Label="磁化时间" runat="server" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpMagneticPowderType" Label="磁粉种类" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
<f:DropDownList ID="drpConcentration" Label="磁悬液浓度" runat="server" EnableEdit="true"
ForceSelection="false" LabelAlign="Right">
</f:DropDownList>
<f:TextBox ID="txtImposingMethod" Label="施加方法" runat="server" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtPoleSpacing" runat="server" Label="电/磁极间距" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtPrinter" Label="打印人" runat="server" LabelAlign="Right">
</f:TextBox>
<f:DatePicker ID="txtPrintTime" runat="server" Label="打印时间" LabelAlign="Right">
</f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:CheckBox ID="cbIsPrint" runat="server" Label="是否打印" LabelAlign="Right" AutoPostBack="true"
OnCheckedChanged="cbIsPrint_CheckedChanged">
</f:CheckBox>
<f:HiddenField runat="server" ID="hdReportCode">
</f:HiddenField>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="拍片信息" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="QualityRatingId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="QualityRatingId" AllowSorting="true"
SortField="JOT_JointNo,FilmNum" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true"
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableTextSelection="True" AutoScroll="true">
<Columns>
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
TextAlign="Center" />
<f:RenderField HeaderText="检测部位编号" ColumnID="JOT_JointNo" DataField="JOT_JointNo"
SortField="JOT_JointNo" FieldType="String" HeaderTextAlign="Center" TextAlign="Left"
Width="120px">
</f:RenderField>
<f:RenderField HeaderText="焊工代号" ColumnID="WED_Code" DataField="WED_Code" SortField="WED_Code"
HeaderTextAlign="Center" TextAlign="Left" Width="100px" FieldType="String">
</f:RenderField>
<%--<f:RenderField HeaderText="片位号" ColumnID="FilmNum" DataField="FilmNum" SortField="FilmNum"
HeaderTextAlign="Center" TextAlign="Left" Width="100px" FieldType="String">
</f:RenderField>--%>
<f:RenderField HeaderText="缺陷性质" ColumnID="DefectNature" DataField="DefectNature"
SortField="DefectNature" HeaderTextAlign="Center" TextAlign="Left" Width="120px"
FieldType="String">
</f:RenderField>
<f:RenderField HeaderText="缺陷定量" ColumnID="DefectSize" DataField="DefectSize" SortField="DefectSize"
HeaderTextAlign="Center" TextAlign="Left" Width="120px" FieldType="String">
</f:RenderField>
<f:RenderField HeaderText="评定级别" ColumnID="DefectResult" DataField="DefectResult"
SortField="DefectResult" HeaderTextAlign="Center" TextAlign="Left" Width="110px"
FieldType="String">
</f:RenderField>
<f:RenderField HeaderText="备注" ColumnID="Remark" DataField="Remark" SortField="Remark"
HeaderTextAlign="Center" TextAlign="Left" Width="250px" FieldType="String">
</f:RenderField>
</Columns>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="15" Value="15" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="25" Value="25" />
</f:DropDownList>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
</Items>
</f:Panel>
</form>
<script type="text/javascript">
function reloadGrid() {
__doPostBack(null, 'reloadGrid');
}
</script>
</body>
</html>