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 @@