20260428 批量增加焊口验证
This commit is contained in:
parent
e4111cee3c
commit
e3bd464715
|
|
@ -9,176 +9,193 @@
|
|||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:TextBox ID="txtJointNoS" runat="server" Label="焊口代号" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:Button ID="btnCopy" Icon="DiskDownload" runat="server" Text="引用" OnClick="btnCopy_Click">
|
||||
</f:Button>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="提交" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtJointNo" Label="焊口代号" runat="server" FocusOnPageLoad="true" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
<f:NumberBox ID="txtJointNo1" Label="起" runat="server" LabelWidth="100px" NoDecimal="true"
|
||||
NoNegative="true" ShowRedStar="true" Required="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtJointNo2" Label="止" runat="server" LabelWidth="40px" NoDecimal="true"
|
||||
NoNegative="true" CompareControl="txtJointNo1" CompareType="Int" CompareMessage="止数应大于等于起数"
|
||||
CompareOperator="GreaterThanEqual" ShowRedStar="true" Required="true">
|
||||
</f:NumberBox>
|
||||
<f:Label ID="Label1" runat="server">
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpInstallationId" Label="装置" runat="server" EnableEdit="true"
|
||||
ShowRedStar="true" Required="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlSTE1" Label="材质1" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px" AutoPostBack="true" OnSelectedIndexChanged="ddlSTE1_SelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlSTE2" Label="材质2" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlWLO_CODE" Label="焊接区域" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlJOTY_ID" Label="焊缝类型" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px" AutoPostBack="true" OnSelectedIndexChanged="ddlJOTY_ID_SelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlJST_ID" Label="坡口类型" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlJointAttribute" Label="焊口属性" runat="server" ShowRedStar="true"
|
||||
Required="true" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlWME_ID" Label="焊接方法" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtDia" Label="外径" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true" ShowRedStar="true" Required="true" AutoPostBack="true" OnTextChanged="txtText_TextChanged">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtSize" Label="寸径" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true" ShowRedStar="true" Required="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtSch" Label="壁厚" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true" ShowRedStar="true" Required="true" AutoPostBack="true" OnTextChanged="txtText_TextChanged">
|
||||
</f:NumberBox>
|
||||
<f:TextBox ID="txtJointDesc" Label="焊口规格" ShowRedStar="true" Required="true" runat="server"
|
||||
LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtLastTemp" Label="后热温度" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtCellTemp" Label="层间温度" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtPrepareTemp" Label="预热温度" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:TextBox ID="txtElectricity" Label="焊接电流" runat="server" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpIsSpecial" Label="是否特殊" runat="server" LabelWidth="100px">
|
||||
<f:ListItem Value="0" Text="否" />
|
||||
<f:ListItem Value="1" Text="是" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpNDTR_ID" runat="server" Label="探伤比例" LabelWidth="100px" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpJOT_QualifiedLevel" runat="server" Label="合格等级" LabelWidth="100px"
|
||||
EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtHardQuaStandard" runat="server" Label="硬度合格标准" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlWeldSilk" Label="焊丝牌号" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlWeldMat" Label="焊条牌号" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpIS_Proess" Label="是否热处理" runat="server" LabelWidth="100px"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpIS_Proess_SelectedIndexChanged">
|
||||
<f:ListItem Value="0" Text="否" />
|
||||
<f:ListItem Value="1" Text="是" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownBox runat="server" Label="热处理类型" ID="drpProessTypes" DataControlID="RadioButtonList1"
|
||||
EnableMultiSelect="true" Required="true" ShowRedStar="true" LabelAlign="Right"
|
||||
LabelWidth="100px" Hidden="true">
|
||||
<PopPanel>
|
||||
<f:SimpleForm ID="SimpleForm3" BodyPadding="10px" runat="server" AutoScroll="true"
|
||||
ShowBorder="True" ShowHeader="false" Hidden="true">
|
||||
<Items>
|
||||
<f:Label ID="Label10" runat="server" Text="请选择热处理类型:">
|
||||
</f:Label>
|
||||
<f:CheckBoxList ID="RadioButtonList1" ColumnNumber="1" runat="server">
|
||||
<f:CheckItem Value="1" Text="预热" />
|
||||
<f:CheckItem Value="2" Text="消氢" />
|
||||
<f:CheckItem Value="3" Text="后热" />
|
||||
<f:CheckItem Value="4" Text="消应力热处理" />
|
||||
<f:CheckItem Value="5" Text="稳定化处理" />
|
||||
</f:CheckBoxList>
|
||||
</Items>
|
||||
</f:SimpleForm>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
<f:Label runat="server" ID="lb1">
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="25% 25% 50%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtPressureTestPackageNo" Label="试压包号" runat="server" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
<f:NumberBox ID="txtWeldL" Label="非常规焊缝:L(mm)" runat="server" LabelWidth="100px"
|
||||
AutoPostBack="true" OnTextChanged="txtWeldL_TextChanged" NoDecimal="true" NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:Label ID="lbDef" runat="server" Label="备注" Text="非常规焊缝:仅限于支架、横缝、纵缝、环缝等焊口。非上述焊口请保持空白"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Form ID="SimpleForm2" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Label ID="lbUnitName" Label="单位" runat="server" LabelWidth="85px">
|
||||
</f:Label>
|
||||
<f:Label ID="txtISONO" Label="管线号" runat="server" LabelWidth="85px">
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:TextBox ID="txtJointNoS" runat="server" Label="焊口代号" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:Button ID="btnCopy" Icon="DiskDownload" runat="server" Text="引用" OnClick="btnCopy_Click">
|
||||
</f:Button>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="提交" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtJointNo" Label="焊口代号" runat="server" FocusOnPageLoad="true" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
<f:NumberBox ID="txtJointNo1" Label="起" runat="server" LabelWidth="100px" NoDecimal="true"
|
||||
NoNegative="true" ShowRedStar="true" Required="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtJointNo2" Label="止" runat="server" LabelWidth="40px" NoDecimal="true"
|
||||
NoNegative="true" CompareControl="txtJointNo1" CompareType="Int" CompareMessage="止数应大于等于起数"
|
||||
CompareOperator="GreaterThanEqual" ShowRedStar="true" Required="true">
|
||||
</f:NumberBox>
|
||||
<f:Label ID="Label1" runat="server">
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpInstallationId" Label="装置" runat="server" EnableEdit="true"
|
||||
ShowRedStar="true" Required="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlSTE1" Label="材质1" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px" AutoPostBack="true" OnSelectedIndexChanged="ddlSTE1_SelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlSTE2" Label="材质2" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlWLO_CODE" Label="焊接区域" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlJOTY_ID" Label="焊缝类型" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px" AutoPostBack="true" OnSelectedIndexChanged="ddlJOTY_ID_SelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlJST_ID" Label="坡口类型" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlJointAttribute" Label="焊口属性" runat="server" ShowRedStar="true"
|
||||
Required="true" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlWME_ID" Label="焊接方法" runat="server" ShowRedStar="true" Required="true"
|
||||
EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtDia" Label="外径" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true" ShowRedStar="true" Required="true" AutoPostBack="true" OnTextChanged="txtText_TextChanged">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtSize" Label="寸径" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true" ShowRedStar="true" Required="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtSch" Label="壁厚" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true" ShowRedStar="true" Required="true" AutoPostBack="true" OnTextChanged="txtText_TextChanged">
|
||||
</f:NumberBox>
|
||||
<f:TextBox ID="txtJointDesc" Label="焊口规格" ShowRedStar="true" Required="true" runat="server"
|
||||
LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtLastTemp" Label="后热温度" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtCellTemp" Label="层间温度" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtPrepareTemp" Label="预热温度" runat="server" LabelWidth="100px" DecimalPrecision="4"
|
||||
NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:TextBox ID="txtElectricity" Label="焊接电流" runat="server" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtVoltage" Label="焊接电压" runat="server" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="ddlComponent1" Label="组件1号" runat="server" EnableEdit="true"
|
||||
LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlComponent2" Label="组件2号" runat="server" EnableEdit="true"
|
||||
LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpIsSpecial" Label="是否特殊" runat="server" LabelWidth="100px">
|
||||
<f:ListItem Value="0" Text="否" />
|
||||
<f:ListItem Value="1" Text="是" />
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpNDTR_ID" runat="server" Label="探伤比例" LabelWidth="100px" EnableEdit="true" Required="true" ShowRedStar="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpJOT_QualifiedLevel" runat="server" Label="合格等级" LabelWidth="100px" Required="true" ShowRedStar="true"
|
||||
EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtHardQuaStandard" runat="server" Label="硬度合格标准" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="drpIsGold" Label="是否黄金口" runat="server" LabelWidth="100px"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpIsGold_SelectedIndexChanged">
|
||||
<f:ListItem Value="0" Text="否" />
|
||||
<f:ListItem Value="1" Text="是" />
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlWeldSilk" Label="焊丝牌号" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlWeldMat" Label="焊条牌号" runat="server" EnableEdit="true" LabelWidth="100px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpIS_Proess" Label="是否热处理" runat="server" LabelWidth="100px"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpIS_Proess_SelectedIndexChanged">
|
||||
<f:ListItem Value="0" Text="否" />
|
||||
<f:ListItem Value="1" Text="是" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownBox runat="server" Label="热处理类型" ID="drpProessTypes" DataControlID="RadioButtonList1"
|
||||
EnableMultiSelect="true" Required="true" ShowRedStar="true" LabelAlign="Right"
|
||||
LabelWidth="100px" Hidden="true">
|
||||
<PopPanel>
|
||||
<f:SimpleForm ID="SimpleForm3" BodyPadding="10px" runat="server" AutoScroll="true"
|
||||
ShowBorder="True" ShowHeader="false" Hidden="true">
|
||||
<Items>
|
||||
<f:Label ID="Label10" runat="server" Text="请选择热处理类型:">
|
||||
</f:Label>
|
||||
<f:CheckBoxList ID="RadioButtonList1" ColumnNumber="1" runat="server">
|
||||
<f:CheckItem Value="1" Text="预热" />
|
||||
<f:CheckItem Value="2" Text="消氢" />
|
||||
<f:CheckItem Value="3" Text="后热" />
|
||||
<f:CheckItem Value="4" Text="消应力热处理" />
|
||||
<f:CheckItem Value="5" Text="稳定化处理" />
|
||||
</f:CheckBoxList>
|
||||
</Items>
|
||||
</f:SimpleForm>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
<f:Label runat="server" ID="lb1">
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="25% 25% 50%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtPressureTestPackageNo" Label="试压包号" runat="server" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
<f:NumberBox ID="txtWeldL" Label="非常规焊缝:L(mm)" runat="server" LabelWidth="100px"
|
||||
AutoPostBack="true" OnTextChanged="txtWeldL_TextChanged" NoDecimal="true" NoNegative="true">
|
||||
</f:NumberBox>
|
||||
<f:Label ID="lbDef" runat="server" Label="备注" Text="非常规焊缝:仅限于支架、横缝、纵缝、环缝等焊口。非上述焊口请保持空白"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Form ID="SimpleForm2" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Label ID="lbUnitName" Label="单位" runat="server" LabelWidth="85px">
|
||||
</f:Label>
|
||||
<f:Label ID="txtISONO" Label="管线号" runat="server" LabelWidth="85px">
|
||||
</f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -131,6 +131,20 @@
|
|||
this.ddlWeldMat.DataSource = BLL.HJGL_ConsumablesService.GetMaterialList("2");
|
||||
this.ddlWeldMat.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.ddlWeldMat);
|
||||
|
||||
///组件1号
|
||||
this.ddlComponent1.DataTextField = "COM_Name";
|
||||
this.ddlComponent1.DataValueField = "COM_ID";
|
||||
this.ddlComponent1.DataSource = BLL.HJGL_ComponentsService.GetComponentNameList();
|
||||
this.ddlComponent1.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.ddlComponent1);
|
||||
|
||||
///组件2号
|
||||
this.ddlComponent2.DataTextField = "COM_Name";
|
||||
this.ddlComponent2.DataValueField = "COM_ID";
|
||||
this.ddlComponent2.DataSource = BLL.HJGL_ComponentsService.GetComponentNameList();
|
||||
this.ddlComponent2.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.ddlComponent2);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
@ -251,6 +265,16 @@
|
|||
Alert.ShowInTop("请选择焊接方法!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (this.drpNDTR_ID.SelectedValue==BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择探伤比例!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (this.drpJOT_QualifiedLevel.SelectedValue==BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择合格等级!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
int startInt = Funs.GetNewIntOrZero(this.txtJointNo1.Text.Trim());
|
||||
int endInt = Funs.GetNewIntOrZero(this.txtJointNo2.Text.Trim());
|
||||
if (endInt < startInt)
|
||||
|
|
@ -356,6 +380,24 @@
|
|||
{
|
||||
newJointInfo.WeldL = Convert.ToInt32(this.txtWeldL.Text);
|
||||
}
|
||||
if (this.ddlComponent1.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
newJointInfo.JOT_Component1 = this.ddlComponent1.SelectedValue;
|
||||
}
|
||||
if (this.ddlComponent2.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
newJointInfo.JOT_Component2 = this.ddlComponent2.SelectedValue;
|
||||
}
|
||||
newJointInfo.JOT_Voltage = this.txtVoltage.Text.Trim();
|
||||
if (this.drpIsGold.SelectedValue == "1")
|
||||
{
|
||||
newJointInfo.IsGold = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
newJointInfo.IsGold = false;
|
||||
}
|
||||
|
||||
for (int i = startInt; i <= endInt; i++)
|
||||
{
|
||||
//if (i < 10)
|
||||
|
|
@ -554,6 +596,10 @@
|
|||
}
|
||||
|
||||
this.txtPressureTestPackageNo.Text = jointInfo.PressureTestPackageNo;
|
||||
this.drpIsGold.SelectedValue = jointInfo.IsGold.ToString();
|
||||
this.ddlComponent1.SelectedValue = jointInfo.JOT_Component1;
|
||||
this.ddlComponent2.SelectedValue = jointInfo.JOT_Component2;
|
||||
this.txtVoltage.Text = jointInfo.JOT_Voltage;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -706,6 +752,22 @@
|
|||
this.drpProessTypes.Hidden = true;
|
||||
}
|
||||
}
|
||||
protected void drpIsGold_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpIsGold.SelectedValue == "1")
|
||||
{
|
||||
this.drpNDTR_ID.SelectedValue = "e2612188-fc99-492a-937c-74c7a0151656"; //黄金口检测比例100%
|
||||
this.drpNDTR_ID.Enabled = false;
|
||||
this.txtJointNo.Text = this.txtJointNo.Text.Trim() + "H";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.drpNDTR_ID.SelectedValue = BLL.Const._Null;
|
||||
this.drpNDTR_ID.Enabled = true;
|
||||
this.txtJointNo.Text = this.txtJointNo.Text.Trim().Substring(0, this.txtJointNo.Text.Trim().Length - 1);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -7,10 +7,12 @@
|
|||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingManage {
|
||||
namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
|
||||
|
||||
public partial class JointInfoBatchEdit {
|
||||
public partial class JointInfoBatchEdit
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
|
|
@ -264,6 +266,33 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtElectricity;
|
||||
|
||||
/// <summary>
|
||||
/// txtVoltage 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtVoltage;
|
||||
|
||||
/// <summary>
|
||||
/// ddlComponent1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlComponent1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlComponent2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlComponent2;
|
||||
|
||||
/// <summary>
|
||||
/// drpIsSpecial 控件。
|
||||
/// </summary>
|
||||
|
|
@ -300,6 +329,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHardQuaStandard;
|
||||
|
||||
/// <summary>
|
||||
/// drpIsGold 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpIsGold;
|
||||
|
||||
/// <summary>
|
||||
/// ddlWeldSilk 控件。
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<FineUIPro DebugMode="false" Theme="Cupertino"/>
|
||||
<appSettings>
|
||||
<!--连接字符串-->
|
||||
<add key="ConnectionString" value="Server=.\MSSQLSERVER01;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
|
||||
<add key="ConnectionString" value="Server=.\SQL2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
|
||||
<!--系统名称-->
|
||||
<add key="SystemName" value="诺必达焊接管理系统"/>
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue