From e3c13df9b0195058575b93da89f087c377ef5b6d Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Fri, 6 Feb 2026 19:49:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E9=A1=B9=E7=9B=AE=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/addTemplateDialog.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/processManagement/components/addTemplateDialog.vue b/src/views/processManagement/components/addTemplateDialog.vue index 1320111..7fa4a28 100644 --- a/src/views/processManagement/components/addTemplateDialog.vue +++ b/src/views/processManagement/components/addTemplateDialog.vue @@ -442,8 +442,8 @@ export default { }, tableData2: [], tableData: [], - processDeleteIds: [], //工序删除id - projectDeleteIds: [], //项目的删除id + detailIdList: [], //工序删除id + modelProjectIdList: [], //项目的删除id }, rules: { promodel: { @@ -698,7 +698,7 @@ export default { .filter(row => row.id != null && row.id !== '') .map(row => row.id); - this.ruleForm.processDeleteIds.push(...idsToDelete); + this.ruleForm.detailIdList.push(...idsToDelete); // 从 tableData 中移除选中行(包括临时行) const tempIds = selected.map(row => row._tempId).filter(id => id != null); @@ -724,7 +724,7 @@ export default { .filter(row => row.id != null && row.id !== '') .map(row => row.id); - this.ruleForm.projectDeleteIds.push(...idsToDelete); + this.ruleForm.modelProjectIdList.push(...idsToDelete); const tempIds = selected.map(row => row._tempId).filter(id => id != null); const realIds = selected.map(row => row.id).filter(id => id != null); @@ -778,8 +778,8 @@ export default { let query = { promodel, tableData, - processDeleteIds: this.ruleForm.processDeleteIds, - projectDeleteIds: this.ruleForm.projectDeleteIds, + detailIdList: this.ruleForm.detailIdList, + modelProjectIdList: this.ruleForm.modelProjectIdList, }; console.log('提交数据:', query);