| | |
| | | <!-- 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" |
| | |
| | | tableData: [], |
| | | tableDataRank: [], |
| | | |
| | | number1: '', |
| | | |
| | | MarqueeTipsContent: '', // 公告 |
| | | speed: 100// 公告播放的速度 |
| | | |
| | |
| | | getPurchaseLeftBottom() { |
| | | PurchaseLeftBottom().then(res => { |
| | | this.tableData = res.data |
| | | this.number1 = this.tableData.length |
| | | |
| | | const divData = this.$refs.tableData.bodyWrapper |
| | | // 拿到元素后,对元素进行定时增加距离顶部距离,实现滚动效果(此配置为每100毫秒移动1像素) |
| | |
| | | divData.scrollTop = 0 |
| | | PurchaseLeftBottom().then(res => { |
| | | this.tableData = res.data |
| | | this.number1 = this.tableData.length |
| | | if (this.tableData.length > 14) { |
| | | clearInterval(task) |
| | | this.getPurchaseLeftBottom() |
| | |
| | | flex-direction: column; |
| | | |
| | | .content_head { |
| | | display: flex; |
| | | color: #00ffff; |
| | | line-height: 20px; |
| | | //font-size: 18px; |