From 6ef9e5189ac1888b8c4c504d5c5d3f431807ff56 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期六, 15 三月 2025 11:57:40 +0800
Subject: [PATCH] 修改电路试验单位
---
src/components/view/a7-sample-registration.vue | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/components/view/a7-sample-registration.vue b/src/components/view/a7-sample-registration.vue
index 83360af..0c59dc9 100644
--- a/src/components/view/a7-sample-registration.vue
+++ b/src/components/view/a7-sample-registration.vue
@@ -5,7 +5,7 @@
</el-row>
<el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="tabClick">
<el-tab-pane label="濉啓" name="濉啓" style="height: 100%;" :key="1">
- <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&¤tInfo.examineState!='閫氳繃'">鏂板</el-button>
+ <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&¤tInfo.submitState!='宸叉彁浜�'">鏂板</el-button>
<div class="table" style="height: calc(100% - 200px)" v-if="activeName=='濉啓'">
<ValueTable ref="ValueTable0" :url="$api.processSample.pageProcessSample"
:componentData="componentData0" :key="upIndex0" :delUrl="$api.processSample.delProcessSample" />
@@ -326,17 +326,11 @@
font: '淇敼',
type: 'text',
method: 'handleAdd0',
- disabFun:(row, index) => {
- return !this.addPower||this.currentInfo.examineState=='閫氳繃'
- }
},{
id: 'delete',
font: '鍒犻櫎',
type: 'text',
method: 'doDiy',
- disabFun:(row, index) => {
- return !this.addPower||this.currentInfo.examineState=='閫氳繃'
- }
}],
tagField: {},
selectField: {},
@@ -362,7 +356,7 @@
if(val1=='濉啓'){
this.componentData0.do.forEach((item)=>{
item.disabFun = (row, index) => {
- return !this.addPower||this.currentInfo.examineState=='閫氳繃'
+ return !this.addPower||this.currentInfo.submitState=='宸叉彁浜�'
}
})
}
--
Gitblit v1.9.3