From af62acf44d4424689378b1f0c6bb99b98d47565f Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 25 三月 2025 10:09:17 +0800
Subject: [PATCH] 车间绑定修改

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

diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 103e8cc..ff4930d 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -283,16 +283,16 @@
                 this.bindPartFirst(row);
               },
             },
-            {
-              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 != '鍖呮潗'
+            //   }
+            // },
           ]
         }
       ],
@@ -315,7 +315,7 @@
       productColumn: [
         { label: '浜у搧鍚嶇О', prop: 'name' },
         { label: '浜у搧鍚嶇ОEN', prop: 'nameEn' },
-        { label: '杞﹂棿鍚嶇О', prop: 'workShopName' },
+        // { label: '杞﹂棿鍚嶇О', prop: 'workShopName' },
         {
           dataType: 'action',
           label: '鎿嶄綔',
@@ -413,7 +413,7 @@
     this.getDicts("product_classification").then((response) => {
       this.productClassification = this.dictToValue(response.data);
     });
-    this.selectWorkShop()
+    // this.selectWorkShop()
   },
   computed: {
     title() {
@@ -586,15 +586,15 @@
     // 浜у搧缁存姢
     upProduct(row) {
       this.currentObj = row;
-      if (this.currentObj.objectType == '鍘熻緟鏂�') {
-        if (this.productColumn.length < 4) {
-          this.productColumn.splice(2, 0, { label: '杞﹂棿鍚嶇О', prop: 'workShopName' })
-        }
-      } else {
-        if (this.productColumn.length == 4) {
-          this.productColumn.splice(2, 1)
-        }
-      }
+      // if (this.currentObj.objectType == '鍘熻緟鏂�') {
+      //   if (this.productColumn.length < 4) {
+      //     this.productColumn.splice(2, 0, { label: '杞﹂棿鍚嶇О', prop: 'workShopName' })
+      //   }
+      // } else {
+      //   if (this.productColumn.length == 4) {
+      //     this.productColumn.splice(2, 1)
+      //   }
+      // }
       this.diaProduct = true
       this.objectId = row.id
       this.productPage.current = 1

--
Gitblit v1.9.3