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 |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Tiger.Business.WMS/ERP/U9C_WMS.cs b/Tiger.Business.WMS/ERP/U9C_WMS.cs
index 346b9f2..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;
                 }
 
                 //淇濆瓨鍒版暟鎹簱
@@ -239,7 +239,7 @@
         }
 
         /// <summary>
-        /// 鍚屾鏀惰揣鍗旳sn淇℃伅
+        /// 鍚屾鏀惰揣鍗曚俊鎭�
         /// </summary>
         /// <param name="input"></param>
         /// <returns></returns>
@@ -349,7 +349,7 @@
 
 
         /// <summary>
-        /// 鍚屾閫�璐у崟Asn淇℃伅
+        /// 鍚屾閫�璐у崟淇℃伅
         /// </summary>
         /// <param name="input"></param>
         /// <returns></returns>
@@ -455,7 +455,5 @@
             }
             return action;
         }
-
-
     }
 }

--
Gitblit v1.9.3