From 5c76f242b20281b51d01ce2266e8beaafe8ae5a6 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期五, 15 九月 2023 10:00:34 +0800
Subject: [PATCH] 改bug

---
 src/components/view/finishedProductInspection.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/components/view/finishedProductInspection.vue b/src/components/view/finishedProductInspection.vue
index f76081d..d0c4a51 100644
--- a/src/components/view/finishedProductInspection.vue
+++ b/src/components/view/finishedProductInspection.vue
@@ -350,7 +350,6 @@
         },
         async getInspectionTableData() {
             const {data:{row,total}} = await this.$axios.get(this.$api.url.finishedInsListPage,{params:{...this.pageParams,...this.searchData}})
-            console.log(row)
             this.inspectionTable = row
             this.pageParams.total = total
         },
@@ -367,12 +366,15 @@
             // this.usernameOptions = data
 
         },
-        comBackMain(){
-            this.showAdd=false
-            this.showLook=false
-            this.showUp=false
+        comBackMain(val){
+        this.showAdd=false
+        this.showLook=false
+        this.showUp=false
         this.init()
         this.getInspectionTableData()
+        if(val){
+            this.$parent.removeAllTab()
+        }
         }
     }
 

--
Gitblit v1.9.3