From 919177aceb22d6cca9c176a46c299d099a0ba0af Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 12 五月 2026 17:46:09 +0800
Subject: [PATCH] 分派生产单到班组长,班组长:排产工单到班组成员
---
src/views/productionManagement/productionOrder/index.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 90ca51d..234d012 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -226,6 +226,7 @@
import { ElMessageBox } from "element-plus";
import dayjs from "dayjs";
import { useRouter } from "vue-router";
+ import useUserStore from '@/store/modules/user'
import {
productOrderListPage,
listProcessRoute,
@@ -253,6 +254,7 @@
const { proxy } = getCurrentInstance();
+ const userStore = useUserStore();
const router = useRouter();
const isShowNewModal = ref(false);
const sourceDataDialogVisible = ref(false);
@@ -361,6 +363,11 @@
width: 120,
},
{
+ label: "鐝粍闀�",
+ prop: "teamLeaderUserName",
+ width: "120px",
+ },
+ {
dataType: "action",
label: "鎿嶄綔",
align: "center",
@@ -402,7 +409,7 @@
name: "棰嗘枡",
type: "text",
color: "#5EC7AB",
- showHide: row => !row.endOrder && !row.returned,
+ showHide: row => !row.endOrder && !row.returned && userStore.id === row.teamLeaderUserId,
clickFun: row => {
openMaterialDialog(row);
},
--
Gitblit v1.9.3