From 4aa0b9c9c2c56ec1af1dc3ee8ef12c9374b3d1ff Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期四, 27 十一月 2025 11:36:08 +0800
Subject: [PATCH] 修改车间记录列表数据显示异常问题

---
 HTML/views/SOSetting/ExportNotice.html |   46 +++++++++++++++++++++++++++-------------------
 1 files changed, 27 insertions(+), 19 deletions(-)

diff --git a/HTML/views/SOSetting/ExportNotice.html b/HTML/views/SOSetting/ExportNotice.html
index 21277d9..0b70f99 100644
--- a/HTML/views/SOSetting/ExportNotice.html
+++ b/HTML/views/SOSetting/ExportNotice.html
@@ -1376,25 +1376,33 @@
 				} else if (obj.event === 'check') {//澶嶆牳
 					// 浠g爜鍖哄煙
 					layer.confirm('纭畾澶嶆牳姝ゅ崟鎹悧锛�', function (index) {
-						var param = {
-							Id: data.Id,
-						};
-						sendData(IP + "/UpApi/FinishExportNotice", param, 'post', function (res) {
-							if (res.code == 0) { //鎴愬姛
-								layer.msg(res.msg, {
-									icon: 1,
-									time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-								}, function () {
-									refreshTable();
-									doing = true
-								});
-							} else { //涓嶆垚鍔�
-								layer.msg(res.msg, {
-									icon: 2,
-									time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-								}, function () { doing = true });
-							}
-						});
+						if (isChongFu == true) {
+							isChongFu = false;
+							var param = {
+								Id: data.Id,
+							};
+							sendData(IP + "/UpApi/FinishExportNotice", param, 'post', function (res) {
+								if (res.code == 0) { //鎴愬姛
+									layer.msg(res.msg, {
+										icon: 1,
+										time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+									}, function () {
+										refreshTable();
+										isChongFu = true;
+									});
+								} else { //涓嶆垚鍔�
+									layer.msg(res.msg, {
+										icon: 2,
+										time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+									}, function () { isChongFu = true; });
+								}
+							});
+						} else {
+							layer.msg("璇峰嬁閲嶅鐐瑰嚮", {
+								icon: 2,
+								time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+							});
+						}
 					});
 				}
 			});

--
Gitblit v1.8.0