diff --git a/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user index fe476a8..be04f2f 100644 --- a/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/HJGL/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -2,7 +2,7 @@ ProjectFiles - Release|Any CPU + Debug|Any CPU true diff --git a/HJGL/FineUIPro.Web/WeldingProcess/CheckManage/RepairAndExpand.aspx.cs b/HJGL/FineUIPro.Web/WeldingProcess/CheckManage/RepairAndExpand.aspx.cs index 4b37d22..8f634a6 100644 --- a/HJGL/FineUIPro.Web/WeldingProcess/CheckManage/RepairAndExpand.aspx.cs +++ b/HJGL/FineUIPro.Web/WeldingProcess/CheckManage/RepairAndExpand.aspx.cs @@ -534,9 +534,13 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage Model.Repair_RepairRecord repairRecord = BLL.RepairRecordService.GetRepairRecordById(repairRecordId); var pipe = BLL.Pipeline_WeldJointService.GetViewWeldJointById(repairRecord.WeldJointId); string pipelineId = string.Empty; + string weldingMethodId = string.Empty; + string grooveTypeId = string.Empty; if (pipe != null) { pipelineId = pipe.PipelineId; + weldingMethodId= pipe.WeldingMethodId; + grooveTypeId = pipe.GrooveTypeId; } var t = from x in Funs.DB.Batch_BatchTrustItem where x.RepairRecordId == repairRecordId select x; if (t.Count() == 0) @@ -557,6 +561,8 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage newRepairTrust.WorkAreaId = repairRecord.WorkAreaId; newRepairTrust.DetectionTypeId = repairRecord.DetectionTypeId; newRepairTrust.PipelineId = pipelineId; + newRepairTrust.WeldingMethodId = weldingMethodId; + newRepairTrust.GrooveTypeId= grooveTypeId; BLL.Batch_BatchTrustService.AddBatchTrust(newRepairTrust); // 新增返修委托单 Model.Batch_BatchTrustItem newRepairTrustItem = new Model.Batch_BatchTrustItem(); @@ -572,6 +578,7 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage var exp = BLL.RepairRecordService.GetExportItem(repairRecordId); if (exp != null) { + var jot = BLL.Pipeline_WeldJointService.GetWeldJointByWeldJointId(exp.First().WeldJointId); string exportTrustCode = string.Empty; if (repairRecord.RepairRecordCode.Substring(repairRecord.RepairRecordCode.Length - 4) == "K1R2") { @@ -600,6 +607,8 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage newExportTrust.WorkAreaId = repairRecord.WorkAreaId; newExportTrust.DetectionTypeId = repairRecord.DetectionTypeId; newExportTrust.PipelineId = pipelineId; + newExportTrust.WeldingMethodId = jot.WeldingMethodId; + newExportTrust.GrooveTypeId = jot.GrooveTypeId; BLL.Batch_BatchTrustService.AddBatchTrust(newExportTrust); // 新增扩透委托单 foreach (var q in exp) diff --git a/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx b/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx index 4b55589..a559c5f 100644 --- a/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx +++ b/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx @@ -13,8 +13,8 @@ ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch"> diff --git a/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx.designer.cs b/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx.designer.cs index af3fb3c..0c0e3ae 100644 --- a/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx.designer.cs +++ b/HJGL/FineUIPro.Web/WeldingProcess/WeldingReport/NDTByWelder.aspx.designer.cs @@ -2,16 +2,18 @@ // <自动生成> // 此代码由工具生成。 // -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.WeldingProcess.WeldingReport { - - - public partial class NDTByWelder { - +namespace FineUIPro.Web.WeldingProcess.WeldingReport +{ + + + public partial class NDTByWelder + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// Grid1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// Toolbar1 控件。 /// @@ -56,16 +58,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - - /// - /// drpProjectId 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DropDownList drpProjectId; - + /// /// drpUnitId 控件。 /// @@ -74,7 +67,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpUnitId; - + /// /// drpInstallationId 控件。 /// @@ -83,43 +76,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpInstallationId; - - /// - /// ToolbarFill1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.ToolbarFill ToolbarFill1; - - /// - /// BtnAnalyse 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Button BtnAnalyse; - - /// - /// btnOut 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Button btnOut; - - /// - /// Toolbar2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Toolbar Toolbar2; - + /// /// drpWorkAreaId 控件。 /// @@ -128,16 +85,34 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpWorkAreaId; - + /// - /// ToolbarFill2 控件。 + /// ToolbarFill1 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.ToolbarFill ToolbarFill2; - + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// BtnAnalyse 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button BtnAnalyse; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + /// /// labNumber 控件。 /// @@ -146,7 +121,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label labNumber; - + /// /// ToolbarSeparator1 控件。 /// @@ -155,7 +130,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; - + /// /// ToolbarText1 控件。 /// @@ -164,7 +139,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarText ToolbarText1; - + /// /// ddlPageSize 控件。 /// diff --git a/HJGL/WebApi/WebApi.csproj.user b/HJGL/WebApi/WebApi.csproj.user index 33091aa..6db81e9 100644 --- a/HJGL/WebApi/WebApi.csproj.user +++ b/HJGL/WebApi/WebApi.csproj.user @@ -8,7 +8,7 @@ - Release|Any CPU + Debug|Any CPU FolderProfile