From b0a37987bbb92388f2e12a239e87e1a71f81b653 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期四, 21 五月 2026 17:49:19 +0800
Subject: [PATCH]  feat: 报工过滤禁止

---
 src/views/productionManagement/workOrder/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 96c4bb5..2456dfb 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -1068,8 +1068,8 @@
           showReportDialog(row);
         },
         // 鐢ㄦ埛褰撳墠id
-        // disabled: row => row.completeQuantity >= row.planQuantity ||
-        //     !isCurrentUserInUserIds(row) || row.hasUnreportedMachine
+        disabled: row => row.completeQuantity >= row.planQuantity ||
+            !isCurrentUserInUserIds(row) || row.hasUnreportedMachine
       },
       {
         name: "鐢熶骇鎺掍骇",
@@ -1473,7 +1473,7 @@
       .filter(Boolean);
 
   reportForm.userIdsList = userTeamOptions.value
-      .filter(item => ids.includes(String(item.userId)))
+      // .filter(item => ids.includes(String(item.userId)))
       .map(item => ({
         userId: item.userId,
         nickName: item.nickName

--
Gitblit v1.9.3