From 1946fb936d68fafa616310d4a7e453b6b7381cf8 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 24 三月 2025 15:29:27 +0800
Subject: [PATCH] 合并装备修改
---
src/views/structural/capabilityAndLaboratory/capability/index.vue | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 7bbd44d..103e8cc 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -290,7 +290,7 @@
this.bindWokshop1(row);
},
disabled: (row) => {
- return row.objectType != '鍘熸潗鏂�'
+ return row.objectType != '鍘熻緟鏂�' && row.objectType != '鍖呮潗'
}
},
]
@@ -341,20 +341,20 @@
this.bindPartSecond(row);
},
},
- {
- name: '杞﹂棿缁戝畾',
- type: 'text',
- clickFun: (row) => {
- this.bindWokshop(row);
- },
- showHide: (row) => {
- if (this.currentObj.objectType != '鍘熸潗鏂�') {
- return false
- } else {
- return true
- }
- }
- },
+ // {
+ // name: '杞﹂棿缁戝畾',
+ // type: 'text',
+ // clickFun: (row) => {
+ // this.bindWokshop(row);
+ // },
+ // showHide: (row) => {
+ // if (this.currentObj.objectType != '鍘熻緟鏂�' && row.objectType != '鍖呮潗') {
+ // return false
+ // } else {
+ // return true
+ // }
+ // }
+ // },
// {
// name: '鍘傚瀵嗗害缁戝畾',
// type: 'text',
@@ -586,7 +586,7 @@
// 浜у搧缁存姢
upProduct(row) {
this.currentObj = row;
- if (this.currentObj.objectType == '鍘熸潗鏂�') {
+ if (this.currentObj.objectType == '鍘熻緟鏂�') {
if (this.productColumn.length < 4) {
this.productColumn.splice(2, 0, { label: '杞﹂棿鍚嶇О', prop: 'workShopName' })
}
--
Gitblit v1.9.3