snow 1 gadu atpakaļ
vecāks
revīzija
e0a1ccff32

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/index.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/css/app.bc8c2df6.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/app.1e28c048.js


BIN
dist/static/js/app.1e28c048.js.gz


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/app.f6948a22.js


BIN
dist/static/js/app.f6948a22.js.gz


+ 8 - 8
src/components/newResults/company-month.vue

@@ -259,15 +259,15 @@ export default {
 
           const totalItem = this.tableData.reduce((prev, curr) => {
             return {
-              pure_sale: addition(prev.pure_sale, curr.pure_sale),
-              pure_purch: addition(prev.pure_purch, curr.pure_purch),
-              pure_profit: addition(prev.pure_profit, curr.pure_profit),
-              completion_rate: addition(prev.completion_rate, curr.completion_rate),
-              pure_interest_rate: addition(prev.pure_interest_rate, curr.pure_interest_rate),
+              pure_sale: Number(addition(prev.pure_sale, curr.pure_sale)).toFixed(2),
+              pure_purch: Number( addition(prev.pure_purch, curr.pure_purch)).toFixed(2),
+              pure_profit: Number(addition(prev.pure_profit, curr.pure_profit)).toFixed(2),
+              completion_rate:Number( addition(prev.completion_rate, curr.completion_rate)).toFixed(2),
+              pure_interest_rate:Number( addition(prev.pure_interest_rate, curr.pure_interest_rate)).toFixed(2),
+              total_tips:Number( addition(prev.total_tips, curr.total_tips)).toFixed(2),
+              cost_tips:Number( addition(prev.cost_tips, curr.cost_tips)).toFixed(2),
+              cost_rate:Number( addition(prev.cost_rate, curr.cost_rate)).toFixed(2),
               month: '合计',
-              cost_tips: addition(prev.cost_tips, curr.cost_tips),
-              total_tips: addition(prev.total_tips, curr.total_tips),
-              cost_rate: addition(prev.cost_rate, curr.cost_rate)
             }
           }, {
             pure_sale: 0,

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels