From 39f4718ac84cc05f5e1f72f18ae042058c481ec4 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期五, 05 十二月 2025 09:26:03 +0800
Subject: [PATCH] 提交 筛选条件错误时进行提示

---
 north-glass-erp/northglass-erp/src/views/sd/order/SelectOrder.vue |    8 +++++++-
 north-glass-erp/northglass-erp/src/lang/en.js                     |    3 ++-
 north-glass-erp/northglass-erp/src/lang/ar.js                     |    3 ++-
 north-glass-erp/northglass-erp/src/lang/ru.js                     |    4 +++-
 north-glass-erp/northglass-erp/src/lang/zh.js                     |    3 ++-
 north-glass-erp/northglass-erp/src/lang/kr.js                     |    4 +++-
 6 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/lang/ar.js b/north-glass-erp/northglass-erp/src/lang/ar.js
index 31621f1..4b0bb9d 100644
--- a/north-glass-erp/northglass-erp/src/lang/ar.js
+++ b/north-glass-erp/northglass-erp/src/lang/ar.js
@@ -364,7 +364,8 @@
             isOptimize:'姝よ鍗曞凡杞紭鍖栵紝鍥為��澶辫触锛�',
             isReportingWork:'姝よ鍗曞凡鎶ュ伐锛屽洖閫�澶辫触锛�',
             isStorage:'姝よ鍗曞凡鍏ュ簱锛屽洖閫�澶辫触锛�',
-            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?"
+            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?",
+            filterError:'璇疯緭鍏ユ纭牸寮忕殑绛涢�夋潯浠�'
         },
         updateOrderId:"淇敼璁㈠崟鍙�",
         reportingTransfer:'鎶ュ伐杞Щ'
diff --git a/north-glass-erp/northglass-erp/src/lang/en.js b/north-glass-erp/northglass-erp/src/lang/en.js
index 9844d84..ebadad0 100644
--- a/north-glass-erp/northglass-erp/src/lang/en.js
+++ b/north-glass-erp/northglass-erp/src/lang/en.js
@@ -364,7 +364,8 @@
             isOptimize:'姝よ鍗曞凡杞紭鍖栵紝鍥為��澶辫触锛�',
             isReportingWork:'姝よ鍗曞凡鎶ュ伐锛屽洖閫�澶辫触锛�',
             isStorage:'姝よ鍗曞凡鍏ュ簱锛屽洖閫�澶辫触锛�',
-            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?"
+            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?",
+            filterError:'璇疯緭鍏ユ纭牸寮忕殑绛涢�夋潯浠�'
         },
         updateOrderId:"淇敼璁㈠崟鍙�",
         reportingTransfer:'鎶ュ伐杞Щ'
diff --git a/north-glass-erp/northglass-erp/src/lang/kr.js b/north-glass-erp/northglass-erp/src/lang/kr.js
index a0489a3..0ed24cd 100644
--- a/north-glass-erp/northglass-erp/src/lang/kr.js
+++ b/north-glass-erp/northglass-erp/src/lang/kr.js
@@ -364,7 +364,9 @@
             isOptimize:'瓴疥碃! 頃措嫻 欤茧鞚� 斓滌爜頇旊悩鞐堨姷雼堧嫟.霅橂弻毽� 靾� 鞐嗢姷雼堧嫟!',
             isReportingWork:'鞛戩梾 鞁れ爜 霌彪 鞕勲霅� 欤茧鞚� 霅橂弻毽赴臧� 鞝滍暅 霅╇媹雼�.',
             isStorage:'鞛呹碃 鞕勲霅� 欤茧鞚� 鞁滌姢韰� 霅橂弻毽赴臧� 攵堦皜電� 頃╇媹雼�.',
-            BackSure:'頃措嫻 頂勲靹胳姢毳� 鞗愴伌毽溂搿� 霅橂弻毽嫓瓴犾姷雼堦箤?'
+            BackSure:'頃措嫻 頂勲靹胳姢毳� 鞗愴伌毽溂搿� 霅橂弻毽嫓瓴犾姷雼堦箤?',
+            filterError:'璇疯緭鍏ユ纭牸寮忕殑绛涢�夋潯浠�'
+
         },
         updateOrderId:'欤茧 氩堩樃 靾橃爼',
         reportingTransfer:'鞛戩梾 鞁れ爜 鞚搓磤'
diff --git a/north-glass-erp/northglass-erp/src/lang/ru.js b/north-glass-erp/northglass-erp/src/lang/ru.js
index 1d880d2..94afeba 100644
--- a/north-glass-erp/northglass-erp/src/lang/ru.js
+++ b/north-glass-erp/northglass-erp/src/lang/ru.js
@@ -364,7 +364,9 @@
             isOptimize:'姝よ鍗曞凡杞紭鍖栵紝鍥為��澶辫触锛�',
             isReportingWork:'姝よ鍗曞凡鎶ュ伐锛屽洖閫�澶辫触锛�',
             isStorage:'姝よ鍗曞凡鍏ュ簱锛屽洖閫�澶辫触锛�',
-            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?"
+            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?",
+            filterError:'璇疯緭鍏ユ纭牸寮忕殑绛涢�夋潯浠�'
+
         },
         updateOrderId:"淇敼璁㈠崟鍙�",
         reportingTransfer:'鎶ュ伐杞Щ'
diff --git a/north-glass-erp/northglass-erp/src/lang/zh.js b/north-glass-erp/northglass-erp/src/lang/zh.js
index 33b193a..6ea842b 100644
--- a/north-glass-erp/northglass-erp/src/lang/zh.js
+++ b/north-glass-erp/northglass-erp/src/lang/zh.js
@@ -364,7 +364,8 @@
             isOptimize:'姝よ鍗曞凡杞紭鍖栵紝鍥為��澶辫触锛�',
             isReportingWork:'姝よ鍗曞凡鎶ュ伐锛屽洖閫�澶辫触锛�',
             isStorage:'姝よ鍗曞凡鍏ュ簱锛屽洖閫�澶辫触锛�',
-            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?"
+            BackSure:"纭畾涓�閿��鍥炵浉搴旀祦绋�?",
+            filterError:'璇疯緭鍏ユ纭牸寮忕殑绛涢�夋潯浠�'
         },
         updateOrderId:"淇敼璁㈠崟鍙�",
         reportingTransfer:'鎶ュ伐杞Щ'
diff --git a/north-glass-erp/northglass-erp/src/views/sd/order/SelectOrder.vue b/north-glass-erp/northglass-erp/src/views/sd/order/SelectOrder.vue
index d1aa40e..b11c52f 100644
--- a/north-glass-erp/northglass-erp/src/views/sd/order/SelectOrder.vue
+++ b/north-glass-erp/northglass-erp/src/views/sd/order/SelectOrder.vue
@@ -460,12 +460,18 @@
         pageNum.value=1
         orderList.value = deepClone(res.data.data)
         xGrid.value.loadData(orderList.value)
-        gridOptions.loading=false
+
         orderInfo.searchOrderFilter.list = xGrid.value.getCheckedFilters()
         orderInfo.searchOrderFilter.data = filterData.value
       }else{
         ElMessage.warning(res.msg)
       }
+    }).catch(e => {
+      xGrid.value.clearFilter()
+      orderInfo.searchOrderFilter.data = {}
+      ElMessage.error(t('searchOrder.msgList.filterError'))
+    }).finally(()=>{
+      gridOptions.loading=false
     })
   }
 

--
Gitblit v1.8.0