From 599e31998abe4880ea38c5264a6299de30848970 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Mon, 20 Apr 2026 22:42:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?= =?UTF-8?q?ate]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/CustomTable.vue | 4 +- .../business/comps/template/comps/gsp/GSP015.vue | 96 +++++++++++++++++++++- .../comps/template/formConfig/gsp/gsp015.js | 30 +++++-- 3 files changed, 115 insertions(+), 15 deletions(-) diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue index 97cd932..408329b 100644 --- a/src/components/Template/CustomTable.vue +++ b/src/components/Template/CustomTable.vue @@ -539,7 +539,7 @@ export default { if (this.templateFillType !== 'actFill') { return } - this.$emit("beforeReagentSubmit", { selectData: data, callback, key: col.prop, rowData: row }) + this.$emit("beforeReagentSubmit", { selectData: data, callback, key: col.prop, rowData: row,headerSelectFields: this.headerSelectFields }) }, onHeaderRegentSubmit(data, inputValue, colIndex, headerIndex) { this.headerFields[`${colIndex}_${headerIndex}`] = inputValue; @@ -563,7 +563,7 @@ export default { // return // } this.updateDataSourceByRowIndex(rowIndex, { [key]: inputValue, [`selectInfo_${key}`]: data.selectInfo }) - this.$emit("onRegentSubmit", { selectInfo: data, key, col, rowIndex, colIndex, rowData: row }) + this.$emit("onRegentSubmit", { selectInfo: data, key, col, rowIndex, colIndex, rowData: row,headerSelectFields: this.headerSelectFields }) }, isShowAddRos() { if (this.showAddRow !== undefined) { diff --git a/src/views/business/comps/template/comps/gsp/GSP015.vue b/src/views/business/comps/template/comps/gsp/GSP015.vue index a8cbb13..a82a677 100644 --- a/src/views/business/comps/template/comps/gsp/GSP015.vue +++ b/src/views/business/comps/template/comps/gsp/GSP015.vue @@ -56,6 +56,8 @@