From 1994756ca5b2e646202daa2c04a72bf2d421f3d8 Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期五, 09 八月 2024 17:57:05 +0800
Subject: [PATCH] modified: src/components/do/b1-ins-order/fiberoptic-config-two.vue modified: src/components/do/b1-ins-order/fiberoptic-config.vue modified: src/components/view/b1-inspect-order-plan.vue modified: src/components/view/b1-inspection-order.vue
---
src/components/do/b1-sample/detail.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/components/do/b1-sample/detail.vue b/src/components/do/b1-sample/detail.vue
index 938461d..f76f413 100644
--- a/src/components/do/b1-sample/detail.vue
+++ b/src/components/do/b1-sample/detail.vue
@@ -66,12 +66,12 @@
</el-table-column>
<el-table-column prop="inspectionItem" label="妫�楠岄」" min-width="100"
show-overflow-tooltip></el-table-column>
- <el-table-column prop="inspectionItemSubclass" label="妫�楠岄」鍒嗙被" min-width="100" show-overflow-tooltip></el-table-column>
+ <el-table-column prop="inspectionItemSubclass" label="妫�楠岄」鍒嗙被" min-width="100" show-overflow-tooltip v-if="PROJECT=='瑁呭鐢电紗'"></el-table-column>
<el-table-column prop="laboratory" label="瀹為獙瀹�" min-min-width="100" show-overflow-tooltip></el-table-column>
<el-table-column prop="unit" label="鍗曚綅" min-width="100" show-overflow-tooltip></el-table-column>
- <el-table-column prop="equipName" label="璁惧" min-width="100" show-overflow-tooltip>
+ <el-table-column prop="equipValue" label="璁惧" min-width="100" show-overflow-tooltip>
<template slot-scope="scope">
- {{handleData(scope.row.equipName)}}
+ {{handleData(scope.row.equipValue)}}
</template>
</el-table-column>
<el-table-column prop="entrustCode" label="濮旀墭缂栧彿" min-width="100" show-overflow-tooltip></el-table-column>
@@ -135,9 +135,12 @@
})
},
handleData(e){
- let info = JSON.parse(e).map(item => {
+ let info = ''
+ if(e){
+ info = JSON.parse(e).map(item => {
return item.v;
}).join(',')
+ }
return info
}
}
--
Gitblit v1.9.3