This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user