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