src/views/index.vue
@@ -116,14 +116,6 @@
            </div>
         </div>
         <div class="main-panel">
            <div style="display: flex;justify-content: space-between;">
               <div class="section-title">应收应付统计</div>
               <el-radio-group v-model="radio1" size="large" @change="statisticsReceivable">
                  <el-radio-button label="按周" :value="1" />
                  <el-radio-button label="按月" :value="2" />
                  <el-radio-button label="按季度" :value="3" />
               </el-radio-group>
            </div>
            <Echarts ref="chart"
                         :color="barColors2"
                         :chartStyle="chartStyle"
@@ -386,7 +378,6 @@
}
// 应付应收统计
const statisticsReceivable = (type) => {
   console.log(type)
   statisticsReceivablePayable({type: radio1.value}).then((res) => {
      barSeries.value[0].data = [
         // { value: res.data.prepayMoney, itemStyle: { color: barColors2[0] } },