loulijun2021
2022-09-22 dc1226c67b9b34b602254ed3ca3de0e5b272cffa
src/views/kb/cgdd.vue
@@ -44,7 +44,7 @@
          <!-- 2-->
          <div class="kb_left_bottom kb_pd10">
            <div class="kb_left_bottom_content">
              <div class="content_head kb_title_text">采购到货跟踪</div>
              <div class="content_head kb_title_text">采购到货跟踪 <div style="margin-left: 30px">{{ number1 }} 单</div></div>
              <div class="content_body">
                <el-table
                  ref="tableData"
@@ -269,6 +269,8 @@
      tableData: [],
      tableDataRank: [],
      number1: '',
      MarqueeTipsContent: '', // 公告
      speed: 100// 公告播放的速度
@@ -308,6 +310,7 @@
    getPurchaseLeftBottom() {
      PurchaseLeftBottom().then(res => {
        this.tableData = res.data
        this.number1 = this.tableData.length
        const divData = this.$refs.tableData.bodyWrapper
        // 拿到元素后,对元素进行定时增加距离顶部距离,实现滚动效果(此配置为每100毫秒移动1像素)
@@ -320,6 +323,7 @@
            divData.scrollTop = 0
            PurchaseLeftBottom().then(res => {
              this.tableData = res.data
              this.number1 = this.tableData.length
              if (this.tableData.length > 14) {
                clearInterval(task)
                this.getPurchaseLeftBottom()
@@ -479,6 +483,7 @@
        flex-direction: column;
        .content_head {
          display: flex;
          color: #00ffff;
          line-height: 20px;
          //font-size: 18px;