ccj 2 лет назад
Родитель
Сommit
bf02d0105b
1 измененных файлов с 9 добавлено и 9 удалено
  1. 9 9
      src/views/home/index.vue

+ 9 - 9
src/views/home/index.vue

@@ -466,18 +466,18 @@
           seachMoth: '2022'
         }).toPromise().then(res => {
           console.log('··············', res)
-          this.chartsData = res
+          // this.chartsData = res
           this.carCount1 = res[6].biViewInfoList[0].count
           this.carCount2 = res[6].biViewInfoList[1].count
           this.carCount3 = res[6].biViewInfoList[2].count
-          this.physicalInventory = Number(res[7].biViewInfoList[0].count).toFixed(2)
-          this.procurementPending= Number(res[7].biViewInfoList[1].count).toFixed(2)
-          this.salesPending =  Number(res[7].biViewInfoList[2].count).toFixed(2)
-          this.position = Number(Number(this.physicalInventory)+Number(this.procurementPending) - Number(this.salesPending)).toFixed(2)
-          this.totalReserves = res[8].biViewInfoList
-          this.mapInfo = res[9]
-          console.log(res)
-          this.initCharts()
+          // this.physicalInventory = Number(res[7].biViewInfoList[0].count).toFixed(2)
+          // this.procurementPending= Number(res[7].biViewInfoList[1].count).toFixed(2)
+          // this.salesPending =  Number(res[7].biViewInfoList[2].count).toFixed(2)
+          // this.position = Number(Number(this.physicalInventory)+Number(this.procurementPending) - Number(this.salesPending)).toFixed(2)
+          // this.totalReserves = res[8].biViewInfoList
+          // this.mapInfo = res[9]
+          // console.log(res)
+          // this.initCharts()
         })
       },
       getChartsData() {