优化单据关联之后的展示界面
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user