From 509d63b6e8ec07c63b0c807470fa48984949d968 Mon Sep 17 00:00:00 2001
From: Demo <Demo@DESKTOP-CPA90BF>
Date: 星期四, 07 三月 2024 11:19:17 +0800
Subject: [PATCH] 修改下发出库按钮重复点击标识未更新,取消分配判断批次是否删除

---
 Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs |    5 +++++
 HTML/views/SOSetting/ExportNotice.html        |    6 +++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/HTML/views/SOSetting/ExportNotice.html b/HTML/views/SOSetting/ExportNotice.html
index 63ca827..31361ef 100644
--- a/HTML/views/SOSetting/ExportNotice.html
+++ b/HTML/views/SOSetting/ExportNotice.html
@@ -1386,10 +1386,11 @@
 								isChongFu= false;
 								if(pa == null)
 								{
-									layer.msg("璇峰嬁閲嶅鐐瑰嚮", {
+									layer.msg("璇烽�夋嫨鍑哄簱鍙�", {
 										icon: 2,
 										time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 									});
+									isChongFu= true;
 									return;
 								}
 								if($('#UnstackWay').val()=='0'){
@@ -1398,6 +1399,7 @@
 											icon: 2,
 											time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 										});
+										isChongFu= true;
 										return;
 									}
 									if(isNeedUnpack=='1'){
@@ -1406,6 +1408,7 @@
 												icon: 2,
 												time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 											});
+											isChongFu= true;
 											return;
 										}
 									}
@@ -1415,6 +1418,7 @@
 											icon: 2,
 											time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 										});
+										isChongFu= true;
 										return;
 									}
 								}
diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
index f959f68..3b8cc04 100644
--- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
+++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
@@ -2724,6 +2724,11 @@
                         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锛氶鏂欏嚭搴撱��
+                        {
+                            d.LotNo = "";
+                        }
                     }
                     notice.Status = "0";
                     notice.UpdateUser = userId;

--
Gitblit v1.8.0