diff --git a/.vs/SGGL_SeDin/v17/.wsuo b/.vs/SGGL_SeDin/v17/.wsuo index 7646ab3c..b771a094 100644 Binary files a/.vs/SGGL_SeDin/v17/.wsuo and b/.vs/SGGL_SeDin/v17/.wsuo differ diff --git a/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx b/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx index 65753ae2..a5fedbe1 100644 --- a/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx +++ b/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -89,7 +89,7 @@ namespace FastReport } - + @@ -216,7 +216,7 @@ namespace FastReport - + @@ -241,7 +241,7 @@ namespace FastReport - + @@ -272,8 +272,8 @@ namespace FastReport - - + + @@ -297,7 +297,7 @@ namespace FastReport - + @@ -338,7 +338,7 @@ namespace FastReport - + diff --git a/SGGL/FineUIPro.Web/HJGL/PointTrust/TrustBatch.aspx.cs b/SGGL/FineUIPro.Web/HJGL/PointTrust/TrustBatch.aspx.cs index 5759a0ad..f1d2860d 100644 --- a/SGGL/FineUIPro.Web/HJGL/PointTrust/TrustBatch.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/PointTrust/TrustBatch.aspx.cs @@ -622,6 +622,14 @@ namespace FineUIPro.Web.HJGL.PointTrust // Model.View_Batch_BatchTrust trust = BLL.Batch_BatchTrustService.GetBatchTrustViewByPointBatchId(this.tvControlItem.SelectedNodeID); // Model.HJGL_Batch_PointBatch batch = BLL.PointBatchService.GetPointBatchById(this.tvControlItem.SelectedNodeID); var trust = BLL.Batch_BatchTrustService.GetBatchTrustViewByPointBatchId(reportId); + var CH_WeldMethod = (from batch in Funs.DB.View_Batch_BatchTrustItem + join joint in Funs.DB.View_HJGL_WeldJoint on batch.WeldJointId equals joint.WeldJointId + where batch.TrustBatchId == trust.TrustBatchId + select joint.WeldingMethodCode).Distinct().ToList(); + var CH_SlopeType = (from batch in Funs.DB.View_Batch_BatchTrustItem + join joint in Funs.DB.View_HJGL_WeldJoint on batch.WeldJointId equals joint.WeldJointId + where batch.TrustBatchId == trust.TrustBatchId + select joint.GrooveTypeCode).Distinct().ToList(); if (trust != null) { string varValue = string.Empty; @@ -633,7 +641,15 @@ namespace FineUIPro.Web.HJGL.PointTrust dr["CH_CheckUnit"] = BLL.UnitService.GetUnitNameByUnitId(trust.NDEUnit).ToString(); } - + + if (CH_WeldMethod.Count>0) + { + dr["CH_WeldMethod"] = string.Join(",", CH_WeldMethod); + } + if (CH_SlopeType.Count > 0) + { + dr["CH_SlopeType"] = string.Join(",", CH_SlopeType); + } if (!string.IsNullOrEmpty(trust.TrustBatchCode)) { dr["CH_TrustCode"] = trust.TrustBatchCode; @@ -654,7 +670,7 @@ namespace FineUIPro.Web.HJGL.PointTrust var list = BLL.Base_DetectionRateService.GetDetectionRateByDetectionRateId(trust.DetectionRateId); if (list != null) { - dr["CH_NDTRate"] = list.DetectionRateCode; + dr["CH_NDTRate"] = list.DetectionRateValue+"%"; }