From b2edea97b2141ea458644ae16876e750b309d475 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 15 五月 2026 11:49:14 +0800
Subject: [PATCH] 只有班组长指定班组成员
---
src/views/productionManagement/workOrderEdit/index.vue | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/views/productionManagement/workOrderEdit/index.vue b/src/views/productionManagement/workOrderEdit/index.vue
index 03bdb46..b377c94 100644
--- a/src/views/productionManagement/workOrderEdit/index.vue
+++ b/src/views/productionManagement/workOrderEdit/index.vue
@@ -169,8 +169,10 @@
} from "@/api/productionManagement/workOrder.js";
import { listUser } from "@/api/system/user.js";
import {getTeamMemberListByTeamLeader} from "@/api/productionManagement/productionTeamUserRel.js";
+import useUserStore from "@/store/modules/user";
const { proxy } = getCurrentInstance();
+ const userStore = useUserStore();
const tableColumn = ref([
{
@@ -277,6 +279,7 @@
clickFun: row => {
handleAssignTeamUser(row);
},
+ showHide: row => String(row.leaderUserId) === String(userStore.id),
},
],
},
--
Gitblit v1.9.3