ll
liukangdong
2024-12-27 7df781c76f651d21cac02bcdae7f7b3f9e41e275
screen/src/views/LogisticsCenter.vue
@@ -1154,7 +1154,7 @@
      // icon: 'circle',
      right: '12%',
      top: '0%',
      data: ['总库存', '当前库存', '库存利用率'],
      data: ['总库容', '当前库存', '库存利用率'],
      itemWidth: 20,
      itemHeight: 10,
      textStyle: {
@@ -1175,7 +1175,7 @@
        // 遍历悬浮时的所有点,定制化显示内容
        let result = `<div style="width: 160px">${params[0].name}</div>`
        params.forEach((item) => {
          if (item.seriesName === '总库存') {
          if (item.seriesName === '总库容') {
            result += `
            <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;">
              <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #5e9bca;margin-right: 4px;"></div><div>${item.seriesName}</div></div>
@@ -1256,7 +1256,7 @@
    ],
    series: [
      {
        name: '总库存',
        name: '总库容',
        type: 'bar',
        barWidth: 10,
        barGap: '60%',