From dad67a844999c001d05666bc5d1f42b9fbb3cf58 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期一, 27 四月 2026 16:20:14 +0800
Subject: [PATCH] 1.递交
---
src/views/qualityManager/qualityPlaning.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/views/qualityManager/qualityPlaning.vue b/src/views/qualityManager/qualityPlaning.vue
index 609627e..8ee30bd 100644
--- a/src/views/qualityManager/qualityPlaning.vue
+++ b/src/views/qualityManager/qualityPlaning.vue
@@ -818,7 +818,6 @@
:header-cell-style="this.$headerCellStyle"
:cell-style="this.$cellStyle"
row-key="partcode"
- @sort-change="sortChange"
@select="handleSelectionChange"
@select-all="handleAllChange"
>
@@ -838,20 +837,16 @@
<el-table-column
prop="partcode"
label="瀛樿揣缂栫爜"
- sortable="custom"
/>
<el-table-column
prop="partname"
label="瀛樿揣鍚嶇О"
- sortable="custom"
show-tooltip-when-overflow
min-width="200"
/>
<el-table-column
prop="partspec"
label="瑙勬牸鍨嬪彿"
-
- sortable="custom"
>
<template slot-scope="{row}">
{{ row.partspec ? row.partspec : '/' }}
@@ -860,7 +855,6 @@
<el-table-column
prop="idinventoryclassname"
label="鎵�灞炵被鍒�"
- sortable="custom"
/>
</el-table>
@@ -1291,6 +1285,8 @@
}
})
+ this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()]
+
this.$nextTick(() => {
this.dialogForm.qualityinsptcode = row.code
this.dialogForm.qualityinsptname = row.name
@@ -1487,6 +1483,7 @@
descr: i.descr
})
})
+ this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()]
this.CheckItemSelectAllArr = JSON.parse(JSON.stringify(this.CheckItemSelectArr))
},
// 鏁板�煎垽瀹�
@@ -1588,6 +1585,7 @@
this.isCancel = true
this.checkitem = []
this.CheckItemSelectArr = JSON.parse(JSON.stringify(this.CheckItemSelectAllArr))
+ this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()]
this.$refs.dialogForm.clearValidate()
},
// 瀵硅瘽妗嗗彇娑�
--
Gitblit v1.9.3