ccj 2 年之前
父节点
当前提交
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'
           seachMoth: '2022'
         }).toPromise().then(res => {
         }).toPromise().then(res => {
           console.log('··············', res)
           console.log('··············', res)
-          this.chartsData = res
+          // this.chartsData = res
           this.carCount1 = res[6].biViewInfoList[0].count
           this.carCount1 = res[6].biViewInfoList[0].count
           this.carCount2 = res[6].biViewInfoList[1].count
           this.carCount2 = res[6].biViewInfoList[1].count
           this.carCount3 = res[6].biViewInfoList[2].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() {
       getChartsData() {