snow пре 1 година
родитељ
комит
51c109c3f6

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/index.html


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/css/app.3381eb62.css


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/app.09bbb4a7.js


BIN
dist/static/js/app.09bbb4a7.js.gz


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/app.4dde0565.js


BIN
dist/static/js/app.4dde0565.js.gz


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

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

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

@@ -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"],

+ 2 - 0
src/pages/report.vue

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

Неке датотеке нису приказане због велике количине промена