2023-10-31

This commit is contained in:
李鹏飞 2023-10-31 10:02:54 +08:00
parent b3a0193a38
commit 175818b56a
4 changed files with 10 additions and 10 deletions

View File

@ -139,7 +139,6 @@ namespace BLL
var pipeline = BLL.PipelineService.GetPipelineByPipelineId(newWeldJoint.PipelineId); var pipeline = BLL.PipelineService.GetPipelineByPipelineId(newWeldJoint.PipelineId);
var project = BLL.ProjectService.GetProjectByProjectId(pipeline.ProjectId); var project = BLL.ProjectService.GetProjectByProjectId(pipeline.ProjectId);
var unitWork = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(pipeline.UnitWorkId); var unitWork = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(pipeline.UnitWorkId);
var unit = BLL.UnitService.GetUnitByUnitId(pipeline.UnitId);
var WeldingDaily = BLL.WeldingDailyService.GetPipeline_WeldingDailyByWeldingDailyId(newWeldJoint.WeldingDailyId); var WeldingDaily = BLL.WeldingDailyService.GetPipeline_WeldingDailyByWeldingDailyId(newWeldJoint.WeldingDailyId);
var ndt = BLL.Base_DetectionTypeService.GetDetectionTypeByDetectionTypeId(pipeline.DetectionType); var ndt = BLL.Base_DetectionTypeService.GetDetectionTypeByDetectionTypeId(pipeline.DetectionType);
var ndtr = BLL.Base_DetectionRateService.GetDetectionRateByDetectionRateId(pipeline.DetectionRateId); var ndtr = BLL.Base_DetectionRateService.GetDetectionRateByDetectionRateId(pipeline.DetectionRateId);
@ -205,7 +204,7 @@ namespace BLL
{ {
new SqlParameter("@ProjectId", project.ProjectId), new SqlParameter("@ProjectId", project.ProjectId),
new SqlParameter("@UnitWorkId", pipeline.UnitWorkId), new SqlParameter("@UnitWorkId", pipeline.UnitWorkId),
new SqlParameter("@UnitId", pipeline.UnitId), new SqlParameter("@UnitId", WeldingDaily.UnitId),
new SqlParameter("@DetectionTypeId", pipeline.DetectionType), new SqlParameter("@DetectionTypeId", pipeline.DetectionType),
new SqlParameter("@DetectionRateId", pipeline.DetectionRateId) new SqlParameter("@DetectionRateId", pipeline.DetectionRateId)
}; };

View File

@ -210,7 +210,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
&& x.PipeArea == PipeArea && x.PipeArea == PipeArea
&& x.PipelineCode.Contains(this.txtPipelineCode.Text.Trim()) && x.PipelineCode.Contains(this.txtPipelineCode.Text.Trim())
orderby x.PipelineCode select x).ToList(); orderby x.PipelineCode select x).ToList();
if (!string .IsNullOrEmpty( drpFlowingSection.SelectedValue)) if (!string .IsNullOrEmpty( drpFlowingSection.SelectedValue)&& drpFlowingSection.SelectedValue!=Const._Null)
{ {
pipeline = pipeline.Where(x => x.FlowingSection == drpFlowingSection.SelectedValue).ToList(); pipeline = pipeline.Where(x => x.FlowingSection == drpFlowingSection.SelectedValue).ToList();
} }
@ -370,6 +370,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
this.drpFlowingSection.DataValueField = "Value"; this.drpFlowingSection.DataValueField = "Value";
this.drpFlowingSection.DataSource = pipeline; this.drpFlowingSection.DataSource = pipeline;
this.drpFlowingSection.DataBind(); this.drpFlowingSection.DataBind();
Funs.FineUIPleaseSelect(drpFlowingSection);
} }
#endregion #endregion

View File

@ -117,7 +117,7 @@
DataField="BackingWelderCode" FieldType="String" HeaderTextAlign="Center" DataField="BackingWelderCode" FieldType="String" HeaderTextAlign="Center"
TextAlign="Center" Width="90px"> TextAlign="Center" Width="90px">
</f:RenderField> </f:RenderField>
<f:RenderField HeaderText="焊口机动化程度" ColumnID="WeldingMode" DataField="WeldingMode" <f:RenderField HeaderText="焊口机动化程度" ColumnID="WeldingMode" DataField="WeldingMode" Hidden="True"
FieldType="String" HeaderTextAlign="Center" TextAlign="Center" Width="150px"> FieldType="String" HeaderTextAlign="Center" TextAlign="Center" Width="150px">
</f:RenderField> </f:RenderField>
<f:RenderField HeaderText="材质1" ColumnID="Material1Code" <f:RenderField HeaderText="材质1" ColumnID="Material1Code"
@ -154,11 +154,11 @@
TextAlign="Center" Width="160px"> TextAlign="Center" Width="160px">
</f:RenderField> </f:RenderField>
<f:RenderField HeaderText="焊丝" ColumnID="WeldingWireCode" <f:RenderField HeaderText="焊丝" ColumnID="WeldingWireCode" Hidden="True"
DataField="WeldingWireCode" FieldType="String" HeaderTextAlign="Center" DataField="WeldingWireCode" FieldType="String" HeaderTextAlign="Center"
TextAlign="Center" Width="150px"> TextAlign="Center" Width="150px">
</f:RenderField> </f:RenderField>
<f:RenderField HeaderText="焊条" ColumnID="WeldingRodCode" DataField="WeldingRodCode" <f:RenderField HeaderText="焊条" ColumnID="WeldingRodCode" DataField="WeldingRodCode" Hidden="True"
FieldType="String" HeaderTextAlign="Center" TextAlign="Center" Width="150px"> FieldType="String" HeaderTextAlign="Center" TextAlign="Center" Width="150px">
</f:RenderField> </f:RenderField>
<f:RenderField HeaderText="焊口属性" ColumnID="JointAttribute" <f:RenderField HeaderText="焊口属性" ColumnID="JointAttribute"

View File

@ -59,11 +59,11 @@
<f:HiddenField runat="server" ID="hdItemsString"></f:HiddenField> <f:HiddenField runat="server" ID="hdItemsString"></f:HiddenField>
<f:HiddenField runat="server" ID="hdTaskWeldJoint"></f:HiddenField> <f:HiddenField runat="server" ID="hdTaskWeldJoint"></f:HiddenField>
<f:Button runat="server" ID="CreatWeldableWeldJoint" Icon="ChartPie" Text="生成可焊焊工" OnClick="CreatWeldableWeldJoint_Click"></f:Button> <f:Button runat="server" ID="CreatWeldableWeldJoint" Icon="ChartPie" Text="生成可焊焊工" OnClick="CreatWeldableWeldJoint_Click"></f:Button>
<f:Button ID="btnSelectWelder" runat="server" Text="选择焊工批量填充" OnClick="btnSelectWelder_Click"> <f:Button ID="btnSelectWelder" runat="server" Text="选择焊工批量填充" OnClick="btnSelectWelder_Click" Hidden="True">
</f:Button> </f:Button>
<f:DropDownList ID="drpCanWelder" EnableEdit="true" runat="server" LabelWidth="140px"> <f:DropDownList ID="drpCanWelder" EnableEdit="true" runat="server" LabelWidth="140px" Hidden="True">
</f:DropDownList> </f:DropDownList>
<f:Button ID="btnSaveWelder" Icon="Accept" runat="server" Text="确认" OnClick="btnSaveWelder_Click"></f:Button> <f:Button ID="btnSaveWelder" Icon="Accept" runat="server" Text="确认" OnClick="btnSaveWelder_Click" Hidden="True"></f:Button>
<f:TextBox ID="txtPipelineCode" runat="server" Label="管线号" EmptyText="输入查询条件" LabelAlign="Right"></f:TextBox> <f:TextBox ID="txtPipelineCode" runat="server" Label="管线号" EmptyText="输入查询条件" LabelAlign="Right"></f:TextBox>
<f:Button runat="server" ID="btnSearch" Icon="SystemSearch" ToolTip="查询" Text="查询" OnClick="btnSearch_Click"> <f:Button runat="server" ID="btnSearch" Icon="SystemSearch" ToolTip="查询" Text="查询" OnClick="btnSearch_Click">