From d89f3b606e0236f3efcbc33e9f4cfe57d515dbf5 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 15 九月 2023 11:42:35 +0800
Subject: [PATCH] 	modified:   src/components/view/standard-table/target.vue 	modified:   src/components/view/standard.vue

---
 src/components/view/finishedProductInspectionUp.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/components/view/finishedProductInspectionUp.vue b/src/components/view/finishedProductInspectionUp.vue
index 0bb486e..7c421b3 100644
--- a/src/components/view/finishedProductInspectionUp.vue
+++ b/src/components/view/finishedProductInspectionUp.vue
@@ -322,13 +322,19 @@
             this.$axios.post(this.$api.url.finishedInspectUpdateFinishInspectsById, {
                 id: this.detailId
             }).then(res => {
-                console.log(res);
                 if (res.code == 200) {
+                    if(res.message==='椤圭洰鏈楠屽畬!'){
+                        this.$message({
+                        message: res.message,
+                        type: 'warning'
+                    });
+                    return
+                    }
                     this.$message({
                         message: '涓婃姤鎴愬姛',
                         type: 'success'
                     });
-                    this.$refs.comBackMain()
+                    this.$refs.comBackMain(true)
                 } else {
                     this.$message({
                         message: res.message,
@@ -336,6 +342,7 @@
                     });
                 }
             })
+
         },
         changeOptionsSamplename(){
             let id=this.processInspectVo.material.split("-")[0]

--
Gitblit v1.9.3