From 5bc9c6d734d469ad647388b5cd94c5a05cd7dbe7 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期六, 03 八月 2024 16:21:18 +0800
Subject: [PATCH] x撤销审核功能增加

---
 src/components/view/b1-inspect-order-plan.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue
index 9f84479..09f1c1a 100644
--- a/src/components/view/b1-inspect-order-plan.vue
+++ b/src/components/view/b1-inspect-order-plan.vue
@@ -248,7 +248,7 @@
 							type: 'text',
 							method: 'handleInspection',
 							disabFun: (row, index) => {
-								return row.userId == null || row.insState == 3 || row.insState == 5||JSON.parse(localStorage.getItem("user")).name != row.userName
+								return row.userId == null || row.insState == 3 || row.insState == 5||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
 							}
               // disabFun: (row, index) => {
 							// 	return row.userId == null || row.insState == 3 || row.insState == 5
@@ -259,7 +259,7 @@
 							type: 'text',
 							method: 'handleConnect',
 							disabFun: (row, index) => {
-								return row.userId == null || row.orderUserId == null || row.insState == 5  || row.insState == 3||JSON.parse(localStorage.getItem("user")).name != row.userName
+								return row.userId == null || row.orderUserId == null || row.insState == 5  || row.insState == 3||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
 							}
 						},
 						{
@@ -268,7 +268,7 @@
 							type: 'text',
 							method: 'handleReview',
 							disabFun: (row, index) => {
-								return row.userId == null || row.insState != 3 ||JSON.parse(localStorage.getItem("user")).name != row.userName
+								return row.userId == null || row.insState != 3 ||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
 							}
 						}, {
 							id: '',

--
Gitblit v1.9.3