|
@@ -1,6 +1,5 @@
|
|
|
<template>
|
|
|
<div class="SalesReportRejectedNew">
|
|
|
- <!-- <div class="table-header">北京万宇恒通国际科贸有限公司</div> -->
|
|
|
<el-table
|
|
|
:data="tableData"
|
|
|
v-loading="loading"
|
|
@@ -10,11 +9,11 @@
|
|
|
style="width: 100%"
|
|
|
row-key="id"
|
|
|
:span-method="objectSpanMethod"
|
|
|
+ stripe
|
|
|
>
|
|
|
<el-table-column label="部门" fixed="left" width="70" prop="depart">
|
|
|
<template slot-scope="scope">{{getCompanyLabel(scope.row.depart)}}</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
<el-table-column label="业绩类型" prop="type" align="center" />
|
|
|
<el-table-column label="日净销售额" prop="day" align="center" >
|
|
|
<template slot-scope="scope">
|
|
@@ -37,68 +36,10 @@ import setHeight from "@/mixins/index";
|
|
|
import {
|
|
|
unit2TenThousand,
|
|
|
getCompanyLabel,
|
|
|
- multiplication,
|
|
|
- subtraction,
|
|
|
addition,
|
|
|
division
|
|
|
} from "./_utils";
|
|
|
|
|
|
-
|
|
|
-// const MOCK_DATA = {
|
|
|
-// "code": 0,
|
|
|
-// "message": "获取成功",
|
|
|
-// "data": [
|
|
|
-// {
|
|
|
-// "depart": "泓源",
|
|
|
-// "total_tips": "9000000.00",
|
|
|
-// "sale_total": "0.00",
|
|
|
-// "th_total": "0.00",
|
|
|
-// "zy_sale_total": "0.00",
|
|
|
-// "channel_sale_total": "0.00",
|
|
|
-// "msale_total": "0.00",
|
|
|
-// "mth_total": "0.00",
|
|
|
-// "mchannel_sale_total": "10.00",
|
|
|
-// "mzy_sale_total": "9.00"
|
|
|
-// },
|
|
|
-// {
|
|
|
-// "depart": "普润",
|
|
|
-// "total_tips": "13650000.00",
|
|
|
-// "sale_total": "0.00",
|
|
|
-// "th_total": "0.00",
|
|
|
-// "zy_sale_total": "0.00",
|
|
|
-// "channel_sale_total": "0.00",
|
|
|
-// "msale_total": "9000.00",
|
|
|
-// "mth_total": "0.00",
|
|
|
-// "mchannel_sale_total": "20.00",
|
|
|
-// "mzy_sale_total": "10.00"
|
|
|
-// },
|
|
|
-// {
|
|
|
-// "depart": "百辰",
|
|
|
-// "total_tips": "7000000.00",
|
|
|
-// "sale_total": "0.00",
|
|
|
-// "th_total": "0.00",
|
|
|
-// "zy_sale_total": "0.00",
|
|
|
-// "channel_sale_total": "0.00",
|
|
|
-// "msale_total": "2020.00",
|
|
|
-// "mth_total": "0.00",
|
|
|
-// "mchannel_sale_total": "30.00",
|
|
|
-// "mzy_sale_total": "40.00"
|
|
|
-// },
|
|
|
-// {
|
|
|
-// "depart": "平台",
|
|
|
-// "total_tips": "970000.00",
|
|
|
-// "sale_total": "0.00",
|
|
|
-// "th_total": "0.00",
|
|
|
-// "zy_sale_total": "0.00",
|
|
|
-// "channel_sale_total": "0.00",
|
|
|
-// "msale_total": "0.00",
|
|
|
-// "mth_total": "0.00",
|
|
|
-// "mchannel_sale_total": "60.00",
|
|
|
-// "mzy_sale_total": "100.00"
|
|
|
-// }
|
|
|
-// ]
|
|
|
-// }
|
|
|
-
|
|
|
export default {
|
|
|
name: "WanyuTypeReport",
|
|
|
props: ["date"],
|