feat:【ele】【erp】finance/receipt 的迁移

This commit is contained in:
YunaiV
2025-11-16 15:38:22 +08:00
parent 268a2d5504
commit 1bc55e8fd0
17 changed files with 1925 additions and 63 deletions

View File

@@ -385,7 +385,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
},
{
title: '操作',
width: 220,
width: 260,
fixed: 'right',
slots: { default: 'actions' },
},

View File

@@ -196,6 +196,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{
label: row.status === 10 ? '审批' : '反审批',
type: 'link',
icon: ACTION_ICON.AUDIT,
auth: ['erp:finance-receipt:update-status'],
popConfirm: {
title: `确认${row.status === 10 ? '审批' : '反审批'}${row.no}吗?`,
@@ -210,7 +211,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
label: $t('common.delete'),
type: 'link',
danger: true,
color: 'error',
icon: ACTION_ICON.DELETE,
auth: ['erp:finance-receipt:delete'],
popConfirm: {
title: $t('ui.actionMessage.deleteConfirm', [row.no]),

View File

@@ -201,6 +201,7 @@ const [Modal, modalApi] = useVbenModal({
@update:items="handleUpdateItems"
@update:total-price="handleUpdateTotalPrice"
@update:receipt-price="handleUpdateReceiptPrice"
class="w-full"
/>
</template>
</Form>