From d24953000fa892a04162ca3888dbb6639d40de45 Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Tue, 2 Dec 2025 09:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E5=8D=95=E5=8F=91=E6=96=99?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/orderIssure/newSoIssueNotify.vue | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/src/views/modules/orderIssure/newSoIssueNotify.vue b/src/views/modules/orderIssure/newSoIssueNotify.vue index 18684a0..b5dec15 100644 --- a/src/views/modules/orderIssure/newSoIssueNotify.vue +++ b/src/views/modules/orderIssure/newSoIssueNotify.vue @@ -130,11 +130,14 @@ 添加 删除 + 删除勾选 - + + { + // 获取要删除的行的唯一标识(使用 orderNo + lineItemNo 作为唯一标识) + const deleteKeys = this.selectedSeqNoRows.map(row => `${row.orderNo}_${row.lineItemNo || ''}`) + // 过滤掉选中的行 + this.seqNoList = this.seqNoList.filter(row => { + const rowKey = `${row.orderNo}_${row.lineItemNo || ''}` + return !deleteKeys.includes(rowKey) + }) + // 清空选中状态 + this.selectedSeqNoRows = [] + if (this.$refs.seqNoTable) { + this.$refs.seqNoTable.clearSelection() + } + this.$message.success(`成功删除 ${deleteKeys.length} 条数据`) + }).catch(() => { + // 用户取消删除 + }) + }, saveMaterialDetail() { for (let i = 0; i < this.sobomList.length; i++) { if (