Browse Source

基础form组件 添加明细删除明细按钮参数

master
陈薪名 1 year ago
parent
commit
20a588b643
  1. 6
      src/components/BasicForm/src/BasicForm.vue

6
src/components/BasicForm/src/BasicForm.vue

@ -14,6 +14,7 @@
:tableFields="tableAllSchemas.tableFormColumns" :tableFields="tableAllSchemas.tableFormColumns"
:tableData="tableData" :tableData="tableData"
:tableFormRules="tableFormRules" :tableFormRules="tableFormRules"
:isShowButton="isShowButton"
@handleAddTable="handleAddTable" @handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable" @handleDeleteTable="handleDeleteTable"
@tableSelectionChange="tableSelectionChange" @tableSelectionChange="tableSelectionChange"
@ -37,6 +38,11 @@ import ButtonBase from '@/components/XButton/src/ButtonBase.vue'
import TableForm from '@/components/TableForm/src/TableForm.vue' import TableForm from '@/components/TableForm/src/TableForm.vue'
const props = defineProps({ const props = defineProps({
// TableForm /
isShowButton: {
type: Boolean,
default: true,
},
// rules // rules
rules: { rules: {
type: Object, type: Object,

Loading…
Cancel
Save