|
|
@@ -59,20 +59,12 @@
|
|
|
|
|
|
<div class="data-box">
|
|
|
<div class="table-box">
|
|
|
- <el-table
|
|
|
- :data="tableData"
|
|
|
- border
|
|
|
- max-height="500"
|
|
|
- style="width: 100%"
|
|
|
- >
|
|
|
- <el-table-column prop="totalOrderCount" label="订单总数" />
|
|
|
- <el-table-column prop="fullPayOrderCount" label="全款支付订单数" />
|
|
|
- <el-table-column prop="codOrderCount" label="物流代收支付订单数" />
|
|
|
- <el-table-column prop="depositCodOrderCount" label="付定金的物流代收订单数" />
|
|
|
- <el-table-column prop="noDepositCodOrderCount" label="0定金的物流代收订单数" />
|
|
|
- <el-table-column prop="totalOrderAmount" label="订单总金额" />
|
|
|
- <el-table-column prop="depositAmount" label="定金总金额" />
|
|
|
- <el-table-column prop="codAmount" label="物流代收总金额" />
|
|
|
+ <el-table :data="tableData" border max-height="500" style="width: 100%">
|
|
|
+ <el-table-column prop="category" label="订单类型" width="180" />
|
|
|
+ <el-table-column prop="orderCount" label="订单数" />
|
|
|
+ <el-table-column prop="orderAmount" label="订单总金额(元)" />
|
|
|
+ <el-table-column prop="depositAmount" label="定金金额(元)" />
|
|
|
+ <el-table-column prop="codAmount" label="物流代收金额(元)" />
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -146,7 +138,8 @@ export default {
|
|
|
|
|
|
getAppOrderCount(params).then(response => {
|
|
|
const vo = response.data;
|
|
|
- this.tableData = vo ? [vo] : [];
|
|
|
+ // this.tableData = vo ? [vo] : [];
|
|
|
+ this.tableData = response.data || []; // 直接赋值数组
|
|
|
}).catch(() => {
|
|
|
this.tableData = [];
|
|
|
});
|