diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue
index 28f77a0cc..4157195f5 100644
--- a/src/components/BasicForm/src/BasicForm.vue
+++ b/src/components/BasicForm/src/BasicForm.vue
@@ -79,9 +79,11 @@
:tableFormRules="tableFormRules"
:isShowButton="isShowButton"
:isShowReduceButton="isShowReduceButton"
+ :isShowReduceButtonSelection="isShowReduceButtonSelection"
@handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable"
@tableSelectionChange="tableSelectionChange"
+ @tableSelectionDelete="tableSelectionDelete"
@extendedButtonsClick="extendedButtonsClick"
@formSelectChange="formSelectChange"
@formSelectvVisibleChange="formSelectvVisibleChange"
@@ -139,6 +141,11 @@ const props = defineProps({
type: Boolean,
default: true
},
+ // 是否显示删除按钮--多选
+ isShowReduceButtonSelection:{
+ type: Boolean,
+ default: false,
+ },
// 是否显示tableForm 删除按钮
isShowReduceButton: {
type: Boolean,
@@ -612,6 +619,7 @@ const resetForm = () => {
const emit = defineEmits([
'success',
'tableSelectionChange',
+ 'tableSelectionDelete',
'tableFormSelectOnBlur',
'extendedButtonsClick',
'formSelectChange',
@@ -653,6 +661,9 @@ const formSelectvVisibleChange = (field, val, row) => {
const tableSelectionChange = (val) => {
emit('tableSelectionChange', val)
}
+const tableSelectionDelete = (val) => {
+ emit('tableSelectionDelete', val)
+}
// tableform select bulr
const tableFormSelectOnBlur = (field, val, row, index) => {
emit('tableFormSelectOnBlur', field, val, row, index)
diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue
index 1cfc8ba01..2ac2fb922 100644
--- a/src/components/TableForm/src/TableForm.vue
+++ b/src/components/TableForm/src/TableForm.vue
@@ -12,11 +12,13 @@
@sort-change="tableSortChange"
@row-click="handleTableSelect"
>
+
+
@@ -299,18 +301,34 @@
+
+
+
+
-