From e701bbb0b83037cb945cdd66d7f943b68c88f004 Mon Sep 17 00:00:00 2001
From: yuyou_x <2336760928@qq.com>
Date: 星期四, 07 三月 2024 12:56:37 +0800
Subject: [PATCH] Merge branch 'yyk'

---
 Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
index a77991b..2e0ef38 100644
--- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
+++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
@@ -141,6 +141,7 @@
                             SupplierLot = stocks.First().SupplierLot,
                             IsWave = "0",
                             WaveNo = "",
+                            IsIssueLotNo = string.IsNullOrWhiteSpace(d.LotNo)? "0":"1",
 
                             CreateUser = 0,
                         };
@@ -2818,6 +2819,15 @@
                         d.Status = "0";
                         d.UpdateUser = userId;
                         d.UpdateTime = DateTime.Now;
+
+                        if (notice.Type == "1" || notice.Type == "5" || notice.Type == "6" || notice.Type == "7" || notice.Type == "8")//1锛氶鏂欏嚭搴撱��
+                        {
+                            if (d.IsIssueLotNo != "1")
+                            {
+                                d.LotNo = "";
+                            }
+                            
+                        }
                     }
                     notice.Status = "0";
                     notice.UpdateUser = userId;

--
Gitblit v1.8.0