2022-11-03 焊接修改,二次焊口设计增加新增焊口类型
This commit is contained in:
@@ -46,6 +46,10 @@
|
||||
EmptyText="输入查询条件" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:DropDownList runat="server" ID="DropTwoJointType" Label="二次新增类型" LabelAlign="Right" LabelWidth="140px" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
<f:ListItem Text="新增口" Value="新增口" />
|
||||
<f:ListItem Text="修改口" Value="修改口" />
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSelectColumn" Text="选择显示列" Icon="ShapesManySelect"
|
||||
@@ -105,6 +109,9 @@
|
||||
<f:RenderField HeaderText="焊口号" ColumnID="WeldJointCode" DataField="WeldJointCode" SortField="WeldJointCode" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Width="100px" Locked="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="二次新增类型" ColumnID="TwoJointType" DataField="TwoJointType" SortField="TwoJointType" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Width="100px" Locked="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="材质1" ColumnID="Material1Code" DataField="Material1Code" SortField="Material1Code" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Width="90px">
|
||||
</f:RenderField>
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
Funs.FineUIPleaseSelect(DropTwoJointType, "请选择");
|
||||
this.InitTreeMenu();//加载树
|
||||
|
||||
}
|
||||
@@ -197,7 +198,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT WeldJointId,WeldJointCode,PipelineId,PipelineCode,JointAttribute,
|
||||
string strSql = @"SELECT WeldJointId,WeldJointCode,PipelineId,PipelineCode,JointAttribute,TwoJointType,
|
||||
ComponentsCode1,ComponentsCode2,IsWelding,IsHotProessStr,Material1Code,Material2Code,
|
||||
WeldTypeCode,Specification,HeartNo1,HeartNo2,Size,Dia,Thickness,GrooveTypeCode,
|
||||
WeldingMethodCode,WeldingWireCode,WeldingRodCode,WeldingDate,WeldingDailyCode,
|
||||
@@ -218,6 +219,11 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
strSql += " AND WeldJointCode LIKE @WeldJointCode";
|
||||
listStr.Add(new SqlParameter("@WeldJointCode", "%" + this.txtWeldJointCode.Text.Trim() + "%"));
|
||||
}
|
||||
if (DropTwoJointType.SelectedValue!=BLL.Const._Null)
|
||||
{
|
||||
strSql += " AND TwoJointType = @TwoJointType";
|
||||
listStr.Add(new SqlParameter("@TwoJointType", DropTwoJointType.SelectedValue));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
@@ -826,5 +832,6 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -113,6 +113,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWeldJointCode;
|
||||
|
||||
/// <summary>
|
||||
/// DropTwoJointType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropTwoJointType;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -61,6 +61,10 @@
|
||||
CompareMessage="止数应大于等于起数" CompareOperator="GreaterThanEqual"
|
||||
ShowRedStar="true" Required="true" LabelWidth="100px">
|
||||
</f:NumberBox>
|
||||
<f:DropDownList runat="server" ID="DropTwoJointType" Label="二次新增类型" LabelAlign="Right" LabelWidth="100px" AutoPostBack="true">
|
||||
<f:ListItem Text="新增口" Value="新增口" />
|
||||
<f:ListItem Text="修改口" Value="修改口" />
|
||||
</f:DropDownList>
|
||||
<%-- <f:TextBox ID="txtZhanwei"
|
||||
runat="server" LabelWidth="100px" Hidden="true">
|
||||
</f:TextBox>--%>
|
||||
@@ -103,6 +107,7 @@
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
|
||||
<f:DropDownList ID="drpJointAttribute" Label="焊口属性" runat="server" Hidden="true"
|
||||
LabelWidth="100px" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
BLL.Base_WeldingMethodService.InitWeldingMethodDropDownList(this.drpWeldingMethodId, true, "请选择");//焊接方法
|
||||
BLL.Base_ConsumablesService.InitConsumablesDropDownList(this.drpWeldingRod, true, "2", "请选择");//焊丝类型
|
||||
BLL.Base_ConsumablesService.InitConsumablesDropDownList(this.drpWeldingWire, true, "1", "请选择");//焊条类型
|
||||
Funs.FineUIPleaseSelect(DropTwoJointType, "请选择");
|
||||
|
||||
// 焊口属性
|
||||
this.drpJointAttribute.DataTextField = "Text";
|
||||
@@ -98,6 +99,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
drpWeldTypeCode.SelectedValue = joint.WeldTypeId;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(joint.TwoJointType))
|
||||
{
|
||||
DropTwoJointType.SelectedValue = joint.TwoJointType;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(joint.DetectionTypeId))
|
||||
{
|
||||
List<Model.Base_DetectionType> dList = new List<Model.Base_DetectionType>();
|
||||
@@ -319,6 +324,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
joint.WeldTypeId = drpWeldTypeCode.SelectedValue;
|
||||
}
|
||||
if (this.DropTwoJointType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
joint.TwoJointType = DropTwoJointType.SelectedValue;
|
||||
}
|
||||
joint.PreTemperature = this.txtPreTemperature.Text;
|
||||
joint.Specification = this.txtSpecification.Text;
|
||||
//var DetectionType = BLL.Base_DetectionTypeService.GetDetectionTypeIdByDetectionTypeCode(this.txtDetectionTypeId.Text.Trim());
|
||||
|
||||
@@ -140,6 +140,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtWeldJointCode2;
|
||||
|
||||
/// <summary>
|
||||
/// DropTwoJointType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropTwoJointType;
|
||||
|
||||
/// <summary>
|
||||
/// drpMaterial1 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -90,7 +90,10 @@
|
||||
<f:TextBox ID="txtRemark" runat="server" Label="备注" MaxLength="200" LabelAlign="Right"
|
||||
LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
<f:Label runat="server"></f:Label>
|
||||
<f:DropDownList runat="server" ID="DropTwoJointType" Label="二次新增类型" LabelAlign="Right" LabelWidth="140px" AutoPostBack="true">
|
||||
<f:ListItem Text="新增口" Value="新增口" />
|
||||
<f:ListItem Text="修改口" Value="修改口" />
|
||||
</f:DropDownList>
|
||||
<f:Label runat="server"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
BLL.Base_WeldingMethodService.InitWeldingMethodDropDownList(this.drpWeldingMethodId, true, "请选择");//焊接方法
|
||||
BLL.Base_ConsumablesService.InitConsumablesDropDownList(this.drpWeldingRod, true, "2", "请选择");//焊丝类型
|
||||
BLL.Base_ConsumablesService.InitConsumablesDropDownList(this.drpWeldingWire, true, "1", "请选择");//焊条类型
|
||||
Funs.FineUIPleaseSelect(DropTwoJointType, "请选择");
|
||||
|
||||
// 焊口属性
|
||||
//this.drpJointAttribute.DataTextField = "Text";
|
||||
@@ -121,6 +122,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
drpWeldTypeCode.SelectedValue = joint.WeldTypeId;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(joint.TwoJointType))
|
||||
{
|
||||
DropTwoJointType.SelectedValue = joint.TwoJointType;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(joint.DetectionTypeId))
|
||||
{
|
||||
List<Model.Base_DetectionType> dList = new List<Model.Base_DetectionType>();
|
||||
@@ -379,6 +384,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
joint.WeldTypeId = drpWeldTypeCode.SelectedValue;
|
||||
}
|
||||
if (this.DropTwoJointType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
joint.TwoJointType = DropTwoJointType.SelectedValue;
|
||||
}
|
||||
joint.PreTemperature = this.txtPreTemperature.Text;
|
||||
joint.Specification = this.txtSpecification.Text;
|
||||
//var DetectionType = BLL.Base_DetectionTypeService.GetDetectionTypeIdByDetectionTypeCode(this.txtDetectionTypeId.Text.Trim());
|
||||
|
||||
@@ -221,6 +221,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// DropTwoJointType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropTwoJointType;
|
||||
|
||||
/// <summary>
|
||||
/// GroupPanel2 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -212,7 +212,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
colorModel = BLL.Project_SysSetService.GetColorModel(this.CurrUser.LoginProjectId);
|
||||
parameter3D.ColorModel = colorModel;
|
||||
parameter3D.TagNum = "";
|
||||
parameter3D.ButtonType = "0,3";
|
||||
parameter3D.ButtonType = "3";
|
||||
|
||||
if (this.tvControlItem.SelectedNode.CommandName == "单位工程")
|
||||
{
|
||||
@@ -350,7 +350,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
Model.ColorModel colorModel = new Model.ColorModel();
|
||||
colorModel = BLL.Project_SysSetService.GetColorModel(this.CurrUser.LoginProjectId);
|
||||
parameter3D.ColorModel = colorModel;
|
||||
parameter3D.ButtonType = "0,3";
|
||||
parameter3D.ButtonType = "3";
|
||||
if (this.tvControlItem.SelectedNode.CommandName == "单位工程")
|
||||
{
|
||||
parameter3D.ModelName = HJGL_DataImportService.Getlatest3DModelNameByUnitWorkId(tvControlItem.SelectedNodeID);
|
||||
|
||||
Reference in New Issue
Block a user