优化单据关联之后的展示界面

This commit is contained in:
jishenghua
2025-05-01 13:43:57 +08:00
parent 71dc44df36
commit 7583207640
7 changed files with 36 additions and 15 deletions

View File

@@ -26,6 +26,16 @@
</template>
</template>
</div>
<div v-if="actionDeleteButton" class="action-button">
<template v-if="selectedRowIds.length>0">
<a-popconfirm
:title="`确定要移除这 ${selectedRowIds.length} 项吗?`"
@confirm="handleConfirmDelete">
<a-button type="primary" icon="minus" :disabled="disabled">移除行</a-button>
<span class="gap"></span>
</a-popconfirm>
</template>
</div>
</a-col>
<a-col>
<slot name="buttonAfter" :target="getVM()"/>
@@ -837,6 +847,11 @@
type: Boolean,
default: false
},
// 是否显示删除按钮
actionDeleteButton: {
type: Boolean,
default: false
},
// 是否显示行号
rowNumber: {
type: Boolean,