From 825172fe39308a3c8a36c4bece5aba7c8761b0db Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期四, 22 十月 2026 20:28:19 +0800
Subject: [PATCH] fix: 完善检验设备显示与报告印章提示
---
src/views/business/inspectionView/index.vue | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/views/business/inspectionView/index.vue b/src/views/business/inspectionView/index.vue
index f71a490..f14d47d 100644
--- a/src/views/business/inspectionView/index.vue
+++ b/src/views/business/inspectionView/index.vue
@@ -83,7 +83,6 @@
<div style="display: flex; align-items: center">
<el-button v-if="state == 1" size="small" type="primary" @click="openAddUnpass">鏂板涓嶅悎鏍煎娴�</el-button>
<el-button v-if="state == 1" size="small" type="primary" @click="unpassCheck">涓嶅悎鏍煎娴�</el-button>
- <el-button v-if="state > 1" size="small" type="primary" @click="viewUnpassCheck">鏌ョ湅涓嶅悎鏍煎娴�</el-button>
<span v-if="cableTagList.length > 0"> 鐢电紗閰嶇疆锛�</span>
<el-select v-if="cableTagList.length > 0" v-model="currentTab" clearable placeholder="璇烽�夋嫨" size="small"
@change="(m) => handleChangeCableTag(currentSample.id, 0, 'cableTag', m)
@@ -156,7 +155,8 @@
</el-form-item>
<el-form-item label="璁惧:">
<el-select v-model="currentOtherForm.deviceIds" :disabled="state != 1" multiple filterable clearable
- placeholder="璇烽�夋嫨璁惧" size="small" style="width: 360px"
+ class="device-select" placeholder="璇烽�夋嫨璁惧" size="small"
+ style="width: 360px !important; min-width: 360px; flex: 0 0 360px"
@change="m => subOtherForm(m, 'deviceIds')">
<el-option v-for="device in orderDeviceOptions" :key="device.id" :label="device.label"
:value="device.id" />
@@ -706,7 +706,7 @@
page: {
total: 0,
size: 10,
- current: 0,
+ current: 1,
},
tableLoading: false,
// 鏂囦欢鍒楄〃鐩稿叧--缁撴潫
@@ -2524,7 +2524,7 @@
.template-panel {
background-color: #f8f9fb;
- border: 1px solid #ebeef5;
+ border: 1px solid var(--el-border-color-light);
border-radius: 3px;
padding: 16px 16px 4px;
margin-bottom: 12px;
@@ -2541,13 +2541,21 @@
flex: none;
}
+/* 璁惧涓嬫媺鍥哄畾瀹藉害锛岀姝㈣琛屽唴甯冨眬鍘嬬缉锛屽惁鍒欓�変腑鍐呭涓嶅彲瑙� */
+.template-panel:deep(.device-select) {
+ display: inline-block !important;
+ width: 360px !important;
+ min-width: 360px;
+ flex: 0 0 360px;
+}
+
.template-panel__unit {
margin-left: 4px;
- color: #606266;
+ color: var(--lims-text-2);
}
.template-panel__conclusion--divided {
- border-top: 1px dashed #e4e7ed;
+ border-top: 1px dashed var(--el-border-color);
padding-top: 12px;
}
@@ -2726,7 +2734,7 @@
}
.inspection .el-drawer__header {
- color: #303133;
+ color: var(--lims-text);
text-align: left;
}
--
Gitblit v1.9.3