From db727783fda8f1d665f3c116cfab0bd53849ecc5 Mon Sep 17 00:00:00 2001 From: chenwenkai <1084072318@qq.com> Date: Thu, 14 Nov 2024 13:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=B9=E6=AC=A1=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index 0d7c6306..1f10d7be 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -1609,7 +1609,7 @@ namespace Tnb.ProductionMgr //if (parent.is_hand_set_batch == 1) // batch = parent.batch; - batch= parent.batch; + batch = string.IsNullOrEmpty(parent.batch) ? batch : parent.batch; BasMaterial basMaterial = await _db.Queryable().SingleAsync(x=>x.id==parent.material_id); BasMbom basMbom = await _db.Queryable().SingleAsync(x => x.id == item.bom_id);