From 7867bca5edf776f893e7d9978ea3057fb9f68a20 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 23 八月 2024 17:40:44 +0800 Subject: [PATCH] 修改再次试验 --- src/components/do/b1-inspect-order-plan/Inspection.vue | 4 ++-- src/components/view/b1-inspect-order-plan.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index 4dcd1af..cbbee28 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -3310,7 +3310,7 @@ console.error(error) this.reviewLoading = false; }) - } else if (e == 1) { + } else{ // 鍐嶆璇曢獙 this.reviewDia = true; } @@ -3405,6 +3405,7 @@ verifyUser: this.verifyUser }).then( res => { if (res.code === 200) { + this.submitLoading = false; this.$message.success("鎿嶄綔鎴愬姛") this.$emit('goback') } @@ -3415,7 +3416,6 @@ } } - this.submitLoading = false; }).catch(error => { console.error(error) this.submitLoading = false; diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue index 160846c..0ae9300 100644 --- a/src/components/view/b1-inspect-order-plan.vue +++ b/src/components/view/b1-inspect-order-plan.vue @@ -323,7 +323,7 @@ type: 'text', method: 'handleInspection', disabFun: (row, index) => { - return row.userName == null || row.insState == 3 || row.insState == 5||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) + return row.userName == null || row.insState == 3 || row.insState == 5||row.insState == 6||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) } // disabFun: (row, index) => { // return row.userId == null || row.insState == 3 || row.insState == 5 @@ -334,7 +334,7 @@ type: 'text', method: 'handleConnect', disabFun: (row, index) => { - return row.userName == null || row.insState == 5 || row.insState == 3||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) + return row.userName == null || row.insState == 5 || row.insState == 3||row.insState == 6||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name)) } }, { -- Gitblit v1.9.3