feat:【ele】【erp】finance/receipt 的迁移
This commit is contained in:
@@ -385,7 +385,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
width: 220,
|
||||
width: 260,
|
||||
fixed: 'right',
|
||||
slots: { default: 'actions' },
|
||||
},
|
||||
|
||||
@@ -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]),
|
||||
|
||||
@@ -201,6 +201,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||
@update:items="handleUpdateItems"
|
||||
@update:total-price="handleUpdateTotalPrice"
|
||||
@update:receipt-price="handleUpdateReceiptPrice"
|
||||
class="w-full"
|
||||
/>
|
||||
</template>
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user