|
@@ -88,7 +88,7 @@
|
|
|
:show-overflow-tooltip="!field.fixed&&field.width>150"
|
|
:show-overflow-tooltip="!field.fixed&&field.width>150"
|
|
|
>
|
|
>
|
|
|
<template #default="{row}">
|
|
<template #default="{row}">
|
|
|
- <template v-if="['rechargeAmount','totalMoney','refundAmount','balance'].includes(field.prop)">
|
|
|
|
|
|
|
+ <template v-if="['rechargeAmount','totalMoney','refundAmount','balance','payAmount','discountAmount','refundDiscountAmount'].includes(field.prop)">
|
|
|
{{ u.fmt.fmtMoney(row[field.prop]) }}
|
|
{{ u.fmt.fmtMoney(row[field.prop]) }}
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else-if="'status'===field.prop">
|
|
<template v-else-if="'status'===field.prop">
|
|
@@ -162,8 +162,11 @@ const state = reactive({
|
|
|
{label: '退款次数', width: 90, prop: 'refundTimes', resizable: true},
|
|
{label: '退款次数', width: 90, prop: 'refundTimes', resizable: true},
|
|
|
{label: '退款金额', width: 90, prop: 'refundAmount', resizable: true},
|
|
{label: '退款金额', width: 90, prop: 'refundAmount', resizable: true},
|
|
|
{label: '充电次数', width: 90, prop: 'chargeTimes', resizable: true},
|
|
{label: '充电次数', width: 90, prop: 'chargeTimes', resizable: true},
|
|
|
- {label: '总电量(度)', width: 120, prop: 'totalPower', resizable: true},
|
|
|
|
|
- {label: '总金额(元)', width: 120, prop: 'totalMoney', resizable: true},
|
|
|
|
|
|
|
+ {label: '总电量/度', width: 100, prop: 'totalPower', resizable: true},
|
|
|
|
|
+ {label: '订单总额', width: 100, prop: 'totalMoney', resizable: true},
|
|
|
|
|
+ {label: '实付总额', width: 100, prop: 'payAmount', resizable: true},
|
|
|
|
|
+ {label: '优惠总额', width: 100, prop: 'discountAmount', resizable: true},
|
|
|
|
|
+ {label: '退款扣除优惠', width: 125, prop: 'refundDiscountAmount', resizable: true},
|
|
|
// {
|
|
// {
|
|
|
// label: '操作', prop: 'action', width: 180, align: 'center', fixed: 'right',
|
|
// label: '操作', prop: 'action', width: 180, align: 'center', fixed: 'right',
|
|
|
// }
|
|
// }
|