优化新版数据统计页面,优化销量统计
This commit is contained in:
@@ -94,6 +94,28 @@
|
||||
<div class="t">退单量</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="icon_wrap" style="--bg-color: #c978ee">
|
||||
<el-icon color="#fff">
|
||||
<ShoppingCart />
|
||||
</el-icon>
|
||||
</div>
|
||||
<div class="info">
|
||||
<div class="m">{{ payCount.totalAmount - payCount.refundAmount || 0 }}</div>
|
||||
<div class="t">实际销售额总和</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="icon_wrap" style="--bg-color: #c978ee">
|
||||
<el-icon color="#fff">
|
||||
<ShoppingCart />
|
||||
</el-icon>
|
||||
</div>
|
||||
<div class="info">
|
||||
<div class="m">{{ payCount.saleCount - payCount.refundCount || 0 }}</div>
|
||||
<div class="t">实际销量总和</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="head-container">
|
||||
@@ -122,7 +144,6 @@
|
||||
<el-table-column label="会员支付" prop="cash">
|
||||
<template v-slot="scope">¥{{ scope.row.deposit }}</template>
|
||||
</el-table-column>
|
||||
|
||||
<!-- <el-table-column label="充值金额" prop="cash">
|
||||
<template v-slot="scope">
|
||||
¥{{ scope.row.recharge }}
|
||||
@@ -131,6 +152,12 @@
|
||||
<el-table-column label="退款金额" prop="cash">
|
||||
<template v-slot="scope">¥{{ scope.row.refund }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实际销量" prop="refundCount">
|
||||
<template v-slot="scope"> {{ scope.row.saleCount - scope.row.refundCount }} </template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实际销售额" prop="refundCount">
|
||||
<template v-slot="scope"> ¥{{ scope.row.saleAmount - scope.row.refundAmount }} </template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<el-table :data="tableData.data" v-loading="tableData.loading" v-if="orderType == 2">
|
||||
<!-- <el-table-column label="商品分类" prop="cateName"></el-table-column>
|
||||
@@ -145,6 +172,12 @@
|
||||
<el-table-column label="退款金额" prop="refundAmount">
|
||||
<template v-slot="scope">¥{{ scope.row.refundAmount }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实际销量" prop="refundCount">
|
||||
<template v-slot="scope"> {{ scope.row.saleCount - scope.row.refundCount }} </template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实际销售额" prop="refundCount">
|
||||
<template v-slot="scope"> ¥{{ scope.row.saleAmount - scope.row.refundAmount }} </template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="head-container">
|
||||
@@ -346,6 +379,14 @@ export default {
|
||||
background-image: url(../../assets/images/home/data_forms1.png);
|
||||
}
|
||||
|
||||
.item:nth-child(5) {
|
||||
background-image: url(../../assets/images/home/data_forms2.png);
|
||||
}
|
||||
|
||||
.item:nth-child(6) {
|
||||
background-image: url(../../assets/images/home/data_forms1.png);
|
||||
}
|
||||
|
||||
.item {
|
||||
background-size: 100% 100%;
|
||||
width: 255px;
|
||||
|
||||
Reference in New Issue
Block a user