From ea7c19b7bfd7a5260fa321579e6941f28ef2eb46 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 27 八月 2026 11:36:30 +0800
Subject: [PATCH] fix(order): 解决实验室字段必填验证和数据源问题

---
 src/views/business/sample/components/detail.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/business/sample/components/detail.vue b/src/views/business/sample/components/detail.vue
index f76f413..41ad622 100644
--- a/src/views/business/sample/components/detail.vue
+++ b/src/views/business/sample/components/detail.vue
@@ -61,12 +61,13 @@
     </div>
     <h4>妫�楠岄」鐩�</h4>
     <div class="table">
-      <el-table class="el-table" ref="productTable" :data="products" height="380px" tooltip-effect="dark" border>
+      <el-table class="el-table" ref="productTable" :data="products" height="380px" tooltip-effect="dark"
+                :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border>
 				<el-table-column type="index" align="center" label="搴忓彿" width="70" :key="Math.random()">
 				</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 v-if="PROJECT=='瑁呭鐢电紗'"></el-table-column>
+				<el-table-column prop="inspectionItemSubclass" label="妫�楠岄」鍒嗙被" min-width="100" show-overflow-tooltip></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="equipValue" label="璁惧" min-width="100" show-overflow-tooltip>
@@ -87,7 +88,8 @@
     </div>
     <h4>鍑哄叆搴撳巻鍙�</h4>
     <div class="table" style="margin-bottom: 20px;">
-      <el-table class="el-table" ref="productTable" :data="histories" height="380px" tooltip-effect="dark" border>
+      <el-table class="el-table" ref="productTable" :data="histories" height="380px" tooltip-effect="dark"
+                :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border>
 				<el-table-column type="index" align="center" label="搴忓彿" width="70" :key="Math.random()">
 				</el-table-column>
 				<el-table-column prop="state" label="绫诲瀷"

--
Gitblit v1.9.3