From e7864a4dcecba72ccbb06dfb6a3d4a77c65f2a3c Mon Sep 17 00:00:00 2001
From: Demo <Demo@DESKTOP-CPA90BF>
Date: 星期四, 07 三月 2024 11:25:38 +0800
Subject: [PATCH] 合并代码

---
 HTML/views/SOSetting/ExportNotice.html |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/HTML/views/SOSetting/ExportNotice.html b/HTML/views/SOSetting/ExportNotice.html
index 69f012b..bb7e808 100644
--- a/HTML/views/SOSetting/ExportNotice.html
+++ b/HTML/views/SOSetting/ExportNotice.html
@@ -1252,7 +1252,7 @@
 										$('.DivPickingArea2').show()
 									}										
 											
-									outFunction()
+									outFunction(data.SONo)
 								} else { //涓嶆垚鍔�
 									layer.msg(res.msg, {
 										icon: 2,
@@ -1269,7 +1269,7 @@
 							
 							$('.DivLoadingArea').hide()
 
-							outFunction()
+							outFunction(data.SONo)
 						}
 						
 						
@@ -1371,7 +1371,7 @@
 				});
 				
 				//閫夋嫨鍑哄簱鍙e脊绐楁柟娉�
-				function outFunction(){
+				function outFunction(soNo){
 					layer.open({
 						type: 1,
 						title: '纭鍑哄簱鍙�',
@@ -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,21 @@
 											icon: 2,
 											time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 										});
+										isChongFu= true;
+										return;
+									}
+								}
+								console.log($("#PickingArea").val())
+								if($("#PickingArea").val() == '')
+								{
+									layer.msg("璇烽�夋嫨鍑哄簱鍙�", {
+										icon: 2,
+										time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+									});
+									isChongFu= true;
+									return;
+								}
+										isChongFu= true;
 										return;
 									}
 									if(isNeedUnpack=='1'){
@@ -1406,6 +1422,7 @@
 												icon: 2,
 												time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 											});
+											isChongFu= true;
 											return;
 										}
 									}
@@ -1415,11 +1432,12 @@
 											icon: 2,
 											time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 										});
+										isChongFu= true;
 										return;
 									}
 								}
 								var param = {
-									soNo: data.SONo, 
+									soNo: soNo, 
 									unstackingMode:$('#UnstackWay').val(),
 									outMode: pa,
 									loadingAddre:$('#LoadingArea').val()

--
Gitblit v1.8.0