From 3e1c6e5435cd5b77a06a28dca5c21748bc57ef72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com>
Date: Fri, 9 Jan 2026 10:45:49 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=E5=A4=9A=E9=80=89?=
=?UTF-8?q?=E6=A1=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com_bm_customerInformation.vue | 20 +++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue
index 3bf6834..4b7aa8c 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue
@@ -117,12 +117,12 @@
-
- RoHs
- HF
- UL
- GP
-
+
+ RoHs
+ HF
+ UL
+ GP
+
@@ -1137,6 +1137,7 @@
sp: '',
nodeName: '',
},
+ selectedOptions: [],
dataForm: {
materialType: '',
site: '',
@@ -1308,6 +1309,9 @@
// 刷新表格
this.searchTable()
},
+ handleSelectionChange(){
+ this.dataForm.certification = this.selectedOptions.join(',')
+ },
refresh () {
if (this.searchData.codeNo === '' || this.searchData.codeNo === null) {
@@ -1328,6 +1332,8 @@
searchBMcustomerInfo(this.searchData).then(({data}) => {
if (data.rows.length > 0) {
this.dataForm = data.rows[0]
+ // 回显多选框
+ this.selectedOptions = this.dataForm.certification ? this.dataForm.certification.split(',') : []
this.$message.success( '操作成功')
} else {
this.dataForm.site = this.searchData.site
@@ -1348,6 +1354,8 @@
searchBMcustomerInfo(this.searchData).then(({data}) => {
if (data.rows.length > 0) {
this.dataForm = data.rows[0]
+ // 回显多选框
+ this.selectedOptions = this.dataForm.certification ? this.dataForm.certification.split(',') : []
} else {
this.dataForm.site = this.searchData.site
this.dataForm.codeNo = this.searchData.codeNo