From 58be07dbde1f3375d86204cb215c8372b615a01b Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 09 四月 2025 10:16:53 +0800
Subject: [PATCH] 原辅材车间文件预览调整+成品分配权限限制

---
 src/views/business/inspectionTask/index.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/views/business/inspectionTask/index.vue b/src/views/business/inspectionTask/index.vue
index 20dc59a..04d6c71 100644
--- a/src/views/business/inspectionTask/index.vue
+++ b/src/views/business/inspectionTask/index.vue
@@ -56,7 +56,7 @@
               scope.row.insState == 5 ||
               scope.row.insState == 3 ||
               (scope.row.userName && !scope.row.userName.includes(nickName))
-            )" @click="handleConnect(scope.row)">浜ゆ帴</el-button>
+            )" @click="handleConnect(scope.row)" v-if="tabIndex != 0">浜ゆ帴</el-button>
             <el-button type="text" size="small" @click="viewInspectInfo(scope.row)">鍘熷璁板綍</el-button>
             <el-popover placement="bottom" trigger="hover" style="margin-left: 6px">
               <template #reference>
@@ -275,7 +275,7 @@
       claimVisible: false,
       tabList: [
         { label: "濮旀墭", value: 0 },
-        { label: "鍘熻緟鏂�", value: 1 },
+        { label: "鍘熸潗鏂�", value: 1 },
       ],
       active: 1,
       tabIndex: 0,
@@ -283,8 +283,8 @@
       planTotal: 0,
       insStateList: [],
       state: 0, // 0:鍙拌处椤碉紝1锛氭楠岄〉闈�,2妫�楠岄〉闈�(澶嶆牳)锛岄粯璁や负0,3鏁版嵁鏌ョ湅
-      typeSource: null, // 0:鎴愬搧涓嬪崟锛�1锛氬師杈呮枡涓嬪崟
-      sonLaboratory: null, // 0:濮旀墭锛�1锛氬師杈呮枡
+      typeSource: null, // 0:鎴愬搧涓嬪崟锛�1锛氬師鏉愭枡涓嬪崟
+      sonLaboratory: null, // 0:濮旀墭锛�1锛氬師鏉愭枡
       activeFace: 0, // 1锛氫笅鍗曪紝2锛氭煡鐪嬶紝3锛氬鏍革紝榛樿涓�0
       currentId: null,
       entityCopy: {},
@@ -300,7 +300,7 @@
       sonLaboratoryList: [],
       typeSourceList: [
         { label: "鎴愬搧涓嬪崟", value: 0 },
-        { label: "鍘熻緟鏂欎笅鍗�", value: 1 },
+        { label: "鍘熸潗鏂欎笅鍗�", value: 1 },
       ],
       customsInspection: {},
       showInfoDialog: false, // 浜т笟閾句俊鎭煡鐪�
@@ -330,7 +330,7 @@
         },
         {
           value: "Quarterly inspection",
-          label: "瀛e害妫�楠�",
+          label: "鍙潬鎬ф楠�",
           type: "warning",
           effect: "plain",
         },
@@ -356,7 +356,7 @@
             if (params == 0) {
               return "鎴愬搧涓嬪崟";
             } else {
-              return "鍘熻緟鏂欎笅鍗�";
+              return "鍘熸潗鏂欎笅鍗�";
             }
           },
         },
@@ -496,6 +496,7 @@
             }
           },
         },
+        { label: "妫�楠屼汉", prop: "checkUserName" },
         {
           dataType: "action",
           fixed: "right",
@@ -730,7 +731,7 @@
       this.currentId = parseInt(row.id);
       switch (row.isCopper) {
         case 0:
-          // 鍘熻緟鏂�
+          // 鍘熸潗鏂�
           this.$router.push({
             path: "/materialOrder/customsInspection", query: {
               customsInspection: row,

--
Gitblit v1.9.3