Browse Source

2023-08-28 计算到位资金合计

wrc 2 years ago
parent
commit
6c0bd4d8a0
1 changed files with 10 additions and 9 deletions
  1. 10 9
      src/views/project/componens/info4.vue

+ 10 - 9
src/views/project/componens/info4.vue

@@ -196,16 +196,17 @@ export default {
           if (res.code === 200) {
             if (type === 1) {
               res.data.forEach(item => {
-                this.t1 = this.t1 + item.investmentOfCentralBudget
-                this.t2 = this.t2 + item.bankLoans
-                this.t3 = this.t3 + item.specialBondFunds
-                this.t4 = this.t4 + item.antiEpidemicSpecialTreasuryBondFund
-                this.t5 = this.t5 + item.otherLocalFiscalConstructionFunds
+                this.t1 = this.t1 + (item.investmentOfCentralBudget - 0)
+                this.t2 = this.t2 + (item.bankLoans - 0)
+                this.t3 = this.t3 + (item.specialBondFunds - 0)
+                this.t4 =
+                  this.t4 + (item.antiEpidemicSpecialTreasuryBondFund - 0)
+                this.t5 = this.t5 + (item.otherLocalFiscalConstructionFunds - 0)
                 this.t6 =
-                  this.t6 + item.policyBasedDevelopmentFinancialInvestment
-                this.t7 = this.t7 + item.investmentWithinProvincialBudget
-                this.t8 = this.t8 + item.investmentWithinMunicipalBudget
-                this.t9 = this.t9 + item.investmentWithinCountyLevelBudget
+                  this.t6 + (item.policyBasedDevelopmentFinancialInvestment - 0)
+                this.t7 = this.t7 + (item.investmentWithinProvincialBudget - 0)
+                this.t8 = this.t8 + (item.investmentWithinMunicipalBudget - 0)
+                this.t9 = this.t9 + (item.investmentWithinCountyLevelBudget - 0)
               })
               this.data.investmentOfCentralBudget = this.t1
               this.data.bankLoans = this.t2