feat(custom): 现金部分
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-14 22:10:45 +08:00
parent 36612722e1
commit 614923b395

View File

@@ -23,6 +23,11 @@
<n-number-animation :from="0" :to="cardData.commission" :precision="2" />
</n-statistic>
</n-card>
<n-card ml-10 w-200 rounded-5>
<n-statistic label="现金部分" tabular-nums>
<n-number-animation :from="0" :to="cardData.discount_number" :precision="2" />
</n-statistic>
</n-card>
</div>
</n-col>
<n-col :span="24" mt-10>
@@ -426,6 +431,7 @@ const getList = async () => {
cardData.value.count = res.data.total
cardData.value.commission = res.data.total_commission
cardData.value.pulse = res.data.total_pulse
cardData.value.discount_number = res.data.discount_number
} catch (error) {
$message.error(error.msg)
throw error