From 10903aca3b8fd5dd7cd8573fa5c99ccf19cb8f29 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 10 四月 2025 13:06:58 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/radio-frequency-cable' into radio-frequency-cable
---
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