|  | @@ -907,8 +907,9 @@ export default {
 | 
	
		
			
				|  |  |            textTwo:[],
 | 
	
		
			
				|  |  |            data:[],
 | 
	
		
			
				|  |  |            dataTwo:[]
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | +      boxCMCC:[],
 | 
	
		
			
				|  |  |        // 利润统计数据获得
 | 
	
		
			
				|  |  |        profitData: {
 | 
	
		
			
				|  |  |          xData: [],
 | 
	
	
		
			
				|  | @@ -1001,10 +1002,14 @@ export default {
 | 
	
		
			
				|  |  |      this.dataList.bookingRanking.data = []
 | 
	
		
			
				|  |  |      this.dataList.bookingRanking.dataTwo = []
 | 
	
		
			
				|  |  |      if (Number(this.sysType) === 3){
 | 
	
		
			
				|  |  | +      let arr=[]
 | 
	
		
			
				|  |  |        boxDistribution().then(res =>{
 | 
	
		
			
				|  |  |          res.data.forEach(item =>{
 | 
	
		
			
				|  |  |            this.dataList.addressName.push(item.addressName)
 | 
	
		
			
				|  |  |            this.dataList.boxNumber.push(item.boxNumber)
 | 
	
		
			
				|  |  | +          if(item.details){
 | 
	
		
			
				|  |  | +           this.boxCMCC=item.details
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          this.boxDistribution()
 | 
	
		
			
				|  |  |        })
 | 
	
	
		
			
				|  | @@ -1192,6 +1197,7 @@ export default {
 | 
	
		
			
				|  |  |        // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
 | 
	
		
			
				|  |  |        let myChart = this.$echarts.init(document.getElementById("distribution"));
 | 
	
		
			
				|  |  |        // 绘制图表
 | 
	
		
			
				|  |  | +      let _this=this
 | 
	
		
			
				|  |  |        myChart.setOption({
 | 
	
		
			
				|  |  |          title: {
 | 
	
		
			
				|  |  |            text: "箱分布",
 | 
	
	
		
			
				|  | @@ -1202,7 +1208,31 @@ export default {
 | 
	
		
			
				|  |  |            data: this.dataList.addressName
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          tooltip: {
 | 
	
		
			
				|  |  | -          trigger: 'axis'
 | 
	
		
			
				|  |  | +          trigger: 'axis',
 | 
	
		
			
				|  |  | +           formatter(params){
 | 
	
		
			
				|  |  | +            let res=''
 | 
	
		
			
				|  |  | +            params.forEach(item=>{
 | 
	
		
			
				|  |  | +              if(item.name=='在船'){
 | 
	
		
			
				|  |  | +                params.forEach(item=>{
 | 
	
		
			
				|  |  | +                  let data=''
 | 
	
		
			
				|  |  | +                  if(_this.boxCMCC.length>0){
 | 
	
		
			
				|  |  | +                   _this.boxCMCC.forEach(e=>{
 | 
	
		
			
				|  |  | +                    data+=e.f_vsl+':'+e.f_voy+'</br>'
 | 
	
		
			
				|  |  | +                   })
 | 
	
		
			
				|  |  | +                  }else{
 | 
	
		
			
				|  |  | +                    data='-'+'</br>'
 | 
	
		
			
				|  |  | +                  }
 | 
	
		
			
				|  |  | +                  res=item.axisValueLabel+'</br>'+data+item.marker+item.data
 | 
	
		
			
				|  |  | +                })
 | 
	
		
			
				|  |  | +              }else{
 | 
	
		
			
				|  |  | +                params.forEach(item=>{
 | 
	
		
			
				|  |  | +                 res=item.axisValueLabel+'</br>'+item.marker+item.data
 | 
	
		
			
				|  |  | +                })
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +            return res
 | 
	
		
			
				|  |  | +            
 | 
	
		
			
				|  |  | +       }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          yAxis: {
 | 
	
		
			
				|  |  |            type: 'value'
 |