From ce34773d58c50449fa5279e1f3430b8b020eb448 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sun, 01 Feb 2026 14:48:47 +0800
Subject: [PATCH] 1

---
 src/page/user/Warehouse/Stockdetail.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/page/user/Warehouse/Stockdetail.vue b/src/page/user/Warehouse/Stockdetail.vue
index 7cbdf6c..e3811fa 100644
--- a/src/page/user/Warehouse/Stockdetail.vue
+++ b/src/page/user/Warehouse/Stockdetail.vue
@@ -142,7 +142,7 @@
     return {
       pages: {},
       ordernum: "",
-      actions: [{ text: '确定', key: '1' }, { text: '取消', key: '2' }],
+      actions: [{ text: this.$t('确定'), key: '1' }, { text: this.$t('取消'), key: '2' }],
       showPopover: false,
     };
   },
@@ -197,7 +197,10 @@
       if (res.status === 0) {
         this.finished = false;
         Notify({ type: "success", message: res.msg });
-        this.$router.go(-1);
+        // this.$router.go(-1);
+        this.$router.push({
+          path: "/tradeNew",
+        });
       } else {
         Notify({ type: "danger", message: res.msg });
       }
@@ -214,6 +217,9 @@
       });
       if (res.status === 0) {
         Notify({ type: "success", message: res.msg });
+        this.$router.push({
+          path: "/tradeNew",
+        });
       } else {
         Notify({ type: "danger", message: res.msg });
       }

--
Gitblit v1.9.3