|
@@ -60,6 +60,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column label="成本" align="center" min-width="400px">
|
|
<el-table-column label="成本" align="center" min-width="400px">
|
|
|
|
+
|
|
<!-- <el-table-column align="center" label="直营/自营">
|
|
<!-- <el-table-column align="center" label="直营/自营">
|
|
<template slot-scope="scope">{{unit2TenThousand(scope.row.zy_cost,isTenThound)}}</template>
|
|
<template slot-scope="scope">{{unit2TenThousand(scope.row.zy_cost,isTenThound)}}</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -73,7 +74,7 @@
|
|
<p style="text-align: center;">{{ unit2TenThousand(Number(addition(scope.row.zy_cost,scope.row.qd_cost)).toFixed(2),isTenThound) }}</p>
|
|
<p style="text-align: center;">{{ unit2TenThousand(Number(addition(scope.row.zy_cost,scope.row.qd_cost)).toFixed(2),isTenThound) }}</p>
|
|
<div class="table-size">
|
|
<div class="table-size">
|
|
<p>直营/自营: {{ unit2TenThousand(scope.row.zy_cost,isTenThound) }}</p>
|
|
<p>直营/自营: {{ unit2TenThousand(scope.row.zy_cost,isTenThound) }}</p>
|
|
- <p>渠道: {{unit2TenThousand(scope.row.qd_cost,isTenThound)}}</p>
|
|
|
|
|
|
+ <p>渠道: {{ unit2TenThousand(scope.row.qd_cost,isTenThound)}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -185,7 +186,7 @@ export default {
|
|
},
|
|
},
|
|
setCellClassName({ column }) {
|
|
setCellClassName({ column }) {
|
|
const { label } = column;
|
|
const { label } = column;
|
|
- return label === "当月营业收入(净)" || label=== "成本" || label === "毛利" ? "pure__cell" : "";
|
|
|
|
|
|
+ return label === "当月营业收入(净)" || label=== "成本" || label === "毛利" ? "pure_cell" : "";
|
|
},
|
|
},
|
|
async requestData() {
|
|
async requestData() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
@@ -206,7 +207,11 @@ export default {
|
|
const { total_tips = 0, day = 0, month = 0 } = current;
|
|
const { total_tips = 0, day = 0, month = 0 } = current;
|
|
return { total_tips: addition(total_tips,prev.total_tips), month: addition(month,prev.month), day: addition(day, prev.day) }
|
|
return { total_tips: addition(total_tips,prev.total_tips), month: addition(month,prev.month), day: addition(day, prev.day) }
|
|
},
|
|
},
|
|
- { total_tips: 0, month: 0, day: 0}
|
|
|
|
|
|
+ {
|
|
|
|
+ total_tips: 0,
|
|
|
|
+ month: 0,
|
|
|
|
+ day: 0
|
|
|
|
+ }
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|