From 69558478328e8f5996831a265c89565b92d391da Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 22 四月 2025 11:02:00 +0800
Subject: [PATCH] 修改检验任务数采
---
src/views/structural/capabilityAndLaboratory/capability/index.vue | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 9fadf61..0c20e17 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -152,6 +152,7 @@
{ label: '妫�楠岄」鍒嗙被EN', prop: 'inspectionItemClassEn' },
{ label: '妫�楠屽璞�', prop: 'sample' },
{ label: '鍗曚环(鍏�)', prop: 'price' },
+ { label: '棰戞', prop: 'frequency' },
{ label: '璇曢獙瀹�', prop: 'sonLaboratory' },
{ label: '瑕佹眰鎻忚堪', prop: 'askTell' },
{ label: '瑕佹眰鍊�', prop: 'ask' },
@@ -282,17 +283,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 +417,7 @@
this.getDicts("product_classification").then((response) => {
this.productClassification = this.dictToValue(response.data);
});
- // this.selectWorkShop()
+ this.selectWorkShop()
},
computed: {
title() {
--
Gitblit v1.9.3