snow před 2 roky
rodič
revize
51c109c3f6

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/index.html


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/css/app.3381eb62.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/app.09bbb4a7.js


binární
dist/static/js/app.09bbb4a7.js.gz


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/app.4dde0565.js


binární
dist/static/js/app.4dde0565.js.gz


+ 9 - 0
src/components/reports/src/WanyuReport.vue

@@ -1,6 +1,13 @@
 <template>
 <template>
   <div class="SalesReportRejectedNew">
   <div class="SalesReportRejectedNew">
     <div class="table-header">北京万宇恒通国际科贸有限公司</div>
     <div class="table-header">北京万宇恒通国际科贸有限公司</div>
+    
+    <el-table>
+      <el-table-column label="月指标" />
+      <el-table-column label="完成额" />
+      <el-table-column label="完成率" />
+    </el-table>
+
     <el-table
     <el-table
       :data="tableData"
       :data="tableData"
       v-loading="loading"
       v-loading="loading"
@@ -154,6 +161,8 @@ export default {
           day:0
           day:0
         })
         })
 
 
+        console.log(this.total)
+
         this.tableData = tableData.map(({depart,total_tips,dayinfo,monthinfo}) => {
         this.tableData = tableData.map(({depart,total_tips,dayinfo,monthinfo}) => {
           /* 月净销售 = 月销售 - 月退货 **/
           /* 月净销售 = 月销售 - 月退货 **/
           const monthNetSales = subtraction(monthinfo.msale_total, monthinfo.mth_total)
           const monthNetSales = subtraction(monthinfo.msale_total, monthinfo.mth_total)

+ 1 - 60
src/components/reports/src/WanyuTypeReport.vue

@@ -1,6 +1,5 @@
 <template>
 <template>
   <div class="SalesReportRejectedNew">
   <div class="SalesReportRejectedNew">
-    <!-- <div class="table-header">北京万宇恒通国际科贸有限公司</div> -->
     <el-table
     <el-table
       :data="tableData"
       :data="tableData"
       v-loading="loading"
       v-loading="loading"
@@ -10,11 +9,11 @@
       style="width: 100%"
       style="width: 100%"
       row-key="id"
       row-key="id"
       :span-method="objectSpanMethod"
       :span-method="objectSpanMethod"
+      stripe
     >
     >
       <el-table-column label="部门" fixed="left" width="70" prop="depart">
       <el-table-column label="部门" fixed="left" width="70" prop="depart">
         <template slot-scope="scope">{{getCompanyLabel(scope.row.depart)}}</template>
         <template slot-scope="scope">{{getCompanyLabel(scope.row.depart)}}</template>
       </el-table-column>
       </el-table-column>
-
       <el-table-column label="业绩类型" prop="type" align="center" />
       <el-table-column label="业绩类型" prop="type" align="center" />
       <el-table-column label="日净销售额" prop="day" align="center" >
       <el-table-column label="日净销售额" prop="day" align="center" >
         <template slot-scope="scope">
         <template slot-scope="scope">
@@ -37,68 +36,10 @@ import setHeight from "@/mixins/index";
 import { 
 import { 
   unit2TenThousand,
   unit2TenThousand,
   getCompanyLabel,
   getCompanyLabel,
-  multiplication,
-  subtraction,
   addition, 
   addition, 
   division
   division
 } from "./_utils";
 } 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 {
 export default {
   name: "WanyuTypeReport",
   name: "WanyuTypeReport",
   props: ["date"],
   props: ["date"],

+ 2 - 0
src/pages/report.vue

@@ -30,6 +30,8 @@ export default {
   },
   },
   async mounted(){
   async mounted(){
     this.state.loading = true;
     this.state.loading = true;
+    alert(getParameterByName('code'))
+    return 
     const result = await asyncRequest.userinfo(
     const result = await asyncRequest.userinfo(
       { code: getParameterByName('code') }
       { code: getParameterByName('code') }
     )
     )

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů