From 79c983e7fa924e43f9f2a2a11b6f69c546f051a6 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 10 四月 2025 13:06:50 +0800
Subject: [PATCH] 不合格复测

---
 src/views/structural/capabilityAndLaboratory/capability/index.vue |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 9fadf61..cbb2b79 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -282,17 +282,20 @@
               clickFun: (row) => {
                 this.bindPartFirst(row);
               },
+              disabled: (row) => {
+                return !!row.product
+              }
             },
-            // {
-            //   name: '杞﹂棿缁戝畾',
-            //   type: 'text',
-            //   clickFun: (row) => {
-            //     this.bindWokshop1(row);
-            //   },
-            //   disabled: (row) => {
-            //     return row.objectType != '鍘熻緟鏉�' && row.objectType != '鍖呮潗'
-            //   }
-            // },
+            {
+              name: '杞﹂棿缁戝畾',
+              type: 'text',
+              clickFun: (row) => {
+                this.bindWokshop1(row);
+              },
+              disabled: (row) => {
+                return row.objectType != '鍘熻緟鏉�' && row.objectType != '鍖呮潗'
+              }
+            },
           ]
         }
       ],
@@ -413,7 +416,7 @@
     this.getDicts("product_classification").then((response) => {
       this.productClassification = this.dictToValue(response.data);
     });
-    // this.selectWorkShop()
+    this.selectWorkShop()
   },
   computed: {
     title() {

--
Gitblit v1.9.3