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 | 30 +++++++++++++++++-------------
1 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 103e8cc..0c20e17 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -152,10 +152,11 @@
{ label: '妫�楠岄」鍒嗙被EN', prop: 'inspectionItemClassEn' },
{ label: '妫�楠屽璞�', prop: 'sample' },
{ label: '鍗曚环(鍏�)', prop: 'price' },
+ { label: '棰戞', prop: 'frequency' },
{ label: '璇曢獙瀹�', prop: 'sonLaboratory' },
{ label: '瑕佹眰鎻忚堪', prop: 'askTell' },
{ label: '瑕佹眰鍊�', prop: 'ask' },
- { label: '璇曢獙鏉′欢', prop: 'radiusList' },
+ // { label: '璇曢獙鏉′欢', prop: 'radiusList' },
{ label: '璁¢噺鍗曚綅', prop: 'unit' },
{ label: '宸ユ椂(H)', prop: 'manHour' },
{ label: '棰勮鏃堕棿(H)', prop: 'manDay' },
@@ -282,6 +283,9 @@
clickFun: (row) => {
this.bindPartFirst(row);
},
+ disabled: (row) => {
+ return !!row.product
+ }
},
{
name: '杞﹂棿缁戝畾',
@@ -290,7 +294,7 @@
this.bindWokshop1(row);
},
disabled: (row) => {
- return row.objectType != '鍘熻緟鏂�' && row.objectType != '鍖呮潗'
+ return row.objectType != '鍘熻緟鏉�' && row.objectType != '鍖呮潗'
}
},
]
@@ -315,7 +319,7 @@
productColumn: [
{ label: '浜у搧鍚嶇О', prop: 'name' },
{ label: '浜у搧鍚嶇ОEN', prop: 'nameEn' },
- { label: '杞﹂棿鍚嶇О', prop: 'workShopName' },
+ // { label: '杞﹂棿鍚嶇О', prop: 'workShopName' },
{
dataType: 'action',
label: '鎿嶄綔',
@@ -348,7 +352,7 @@
// this.bindWokshop(row);
// },
// showHide: (row) => {
- // if (this.currentObj.objectType != '鍘熻緟鏂�' && row.objectType != '鍖呮潗') {
+ // if (this.currentObj.objectType != '鍘熻緟鏉�' && row.objectType != '鍖呮潗') {
// return false
// } else {
// return true
@@ -586,15 +590,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