From 74f4d54e15111db46e15680cb47ba7bec847fc3b Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期五, 14 三月 2025 15:47:45 +0800
Subject: [PATCH] 增加送货单(U9)清点和收货单(U9)上架的Controller

---
 Tiger.Business.WMS/ERP/U9C_WMS.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Tiger.Business.WMS/ERP/U9C_WMS.cs b/Tiger.Business.WMS/ERP/U9C_WMS.cs
index 1041691..31b18dc 100644
--- a/Tiger.Business.WMS/ERP/U9C_WMS.cs
+++ b/Tiger.Business.WMS/ERP/U9C_WMS.cs
@@ -41,7 +41,7 @@
                     item.Segment5 = barcode.ItemCode;
                     item.PROD_DATE = barcode.DateCode.ToDateTime();
                     item.Unit = barcode.Unit;
-                    item.LotNo= barcode.LotNo;
+                    item.LotNo= barcode.LotNo.IsNullOrEmpty() ? item.Segment7 : barcode.LotNo;
                 }
 
                 //淇濆瓨鍒版暟鎹簱

--
Gitblit v1.9.3