fix:【antd】【ele】【pay 支付】pay/refund 迁移 ele 版本
This commit is contained in:
@@ -206,16 +206,20 @@ export function useDetailSchema(): DescriptionItemSchema[] {
|
||||
field: 'payPrice',
|
||||
label: '支付金额',
|
||||
content: (data: PayRefundApi.Refund) =>
|
||||
h(Tag, { color: 'success' }, () =>
|
||||
`¥${erpPriceInputFormatter(data?.payPrice || 0)}`
|
||||
h(
|
||||
Tag,
|
||||
{ color: 'success' },
|
||||
() => `¥${erpPriceInputFormatter(data?.payPrice || 0)}`,
|
||||
),
|
||||
},
|
||||
{
|
||||
field: 'refundPrice',
|
||||
label: '退款金额',
|
||||
content: (data: PayRefundApi.Refund) =>
|
||||
h(Tag, { color: 'danger' }, () =>
|
||||
`¥${erpPriceInputFormatter(data?.refundPrice || 0)}`
|
||||
h(
|
||||
Tag,
|
||||
{ color: 'danger' },
|
||||
() => `¥${erpPriceInputFormatter(data?.refundPrice || 0)}`,
|
||||
),
|
||||
},
|
||||
{
|
||||
|
||||
@@ -41,6 +41,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Modal
|
||||
title="退款详情"
|
||||
|
||||
Reference in New Issue
Block a user