From 790a4d7dfac741de4ca682301d86a7678e044b09 Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Sat, 2 May 2026 11:28:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=97=A0=E6=8D=9F=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E5=8D=95=E5=BD=95=E5=85=A5=E6=A0=91=E8=8A=82=E7=82=B9=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=82=B9=E5=8F=A3=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/HJGL/NDT/NDTBatch.aspx.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SGGL/FineUIPro.Web/HJGL/NDT/NDTBatch.aspx.cs b/SGGL/FineUIPro.Web/HJGL/NDT/NDTBatch.aspx.cs index fa692eda..56e627f6 100644 --- a/SGGL/FineUIPro.Web/HJGL/NDT/NDTBatch.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/NDT/NDTBatch.aspx.cs @@ -310,12 +310,16 @@ namespace FineUIPro.Web.HJGL.NDT } foreach (var trust in trusts) { + string code = string.Empty; + Model.HJGL_Batch_PointBatch batch = BLL.PointBatchService.GetPointBatchById(trust.PointBatchId); + var pointBatch = PointBatchService.GetPointBatchById(batch.PointBatchId); + code = "DK-" + pointBatch.PointBatchCode.Substring(pointBatch.PointBatchCode.Length - 4) + "【" + string.Format("{0:yyyy-MM-dd}", pointBatch.StartDate) + "】" + "【" + UnitService.GetUnitNameByUnitId(pointBatch.UnitId) + "】"; + TreeNode newNode = new TreeNode(); - string code = trust.TrustBatchCode; + //string code = trust.TrustBatchCode; // 未检测委托红色显示 if (BLL.Batch_NDEService.GetNDEViewByTrustBatchId(trust.TrustBatchId) == null) { - Model.HJGL_Batch_PointBatch batch = BLL.PointBatchService.GetPointBatchById(trust.PointBatchId); if (batch != null && batch.IsClosed == true) { newNode.Text = code;