From f4711865a8ea9566910bfcc6daa31795b89272a7 Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期三, 09 七月 2025 10:11:57 +0800
Subject: [PATCH] 来料检优化

---
 pages/QC/LLJ/Add.vue |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/pages/QC/LLJ/Add.vue b/pages/QC/LLJ/Add.vue
index 3edd803..3f4ffb0 100644
--- a/pages/QC/LLJ/Add.vue
+++ b/pages/QC/LLJ/Add.vue
@@ -472,7 +472,7 @@
 
 										// 濡傛灉鏈夐〉闈㈣烦杞紝闇�瑕佺敤瀹氭椂鍣ㄥ欢杩�
 										setTimeout(() => {
-											uni.navigateTo({
+											uni.redirectTo({
 												url: 'List'
 											});
 										}, 2000); // 淇濇寔涓� duration 鐩稿悓鐨勬椂闀�
@@ -525,12 +525,7 @@
 								duration: 2000
 							})
 							// 濡傛灉鏈夐〉闈㈣烦杞紝闇�瑕佺敤瀹氭椂鍣ㄥ欢杩�
-							setTimeout(() => {
-								uni.navigateTo({
-									url: 'List'
-								});
-							}, 2000); // 淇濇寔涓� duration 鐩稿悓鐨勬椂闀�
-
+							setTimeout(() => {uni.navigateBack();}, 2000); // 淇濇寔涓� duration 鐩稿悓鐨勬椂闀�
 						} else {
 							uni.showModal({
 								title: "鎻愮ず",
@@ -1184,10 +1179,7 @@
 						this.destructionPopup = false;
 						this.$showMessage("淇濆瓨鎴愬姛");
 						setTimeout(() => {
-							// 璺宠浆鍒板垪琛ㄩ〉闈�
-							uni.navigateTo({
-								url: 'List'
-							});
+							this.init();
 						}, 2000);
 					}
 				})
@@ -1208,10 +1200,7 @@
 						this.destructionPopup = false;
 						this.$showMessage("娓呴櫎鎴愬姛");
 						setTimeout(() => {
-							// 璺宠浆鍒板垪琛ㄩ〉闈�
-							uni.navigateTo({
-								url: 'List'
-							});
+							this.init();
 						}, 2000);
 					}
 				})

--
Gitblit v1.9.3