| | |
| | | label="序号" |
| | | width="60" |
| | | /> |
| | | <el-table-column |
| | | prop="linename" |
| | | width="125" |
| | | label="产线" |
| | | /> |
| | | <!-- <el-table-column--> |
| | | <!-- prop="linename"--> |
| | | <!-- width="125"--> |
| | | <!-- label="产线"--> |
| | | <!-- />--> |
| | | <el-table-column |
| | | prop="partname" |
| | | width="160" |
| | | width="260" |
| | | label="产品" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="good_qty" |
| | | label="数量" |
| | | width="90" |
| | | width="115" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div>{{ parseFloat(row.good_qty) }}</div> |
| | |
| | | getLineSearchTopRightData() { |
| | | LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | this.tableDataRightTop = res.data |
| | | const divData = this.$refs.tableDataRightTopRef.bodyWrapper |
| | | |
| | | const temp = setInterval(() => { |
| | | divData.scrollTop += 1 |
| | | |
| | | if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) { |
| | | divData.scrollTop = 0 |
| | | LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | this.tableDataRightTop = res.data |
| | | |
| | | if (this.tableDataRightTop.length > 9) { |
| | | clearInterval(temp) |
| | | this.getLineSearchTopRightData() |
| | | } |
| | | }) |
| | | } |
| | | }, this.tableDataRightTop.length <= 9 ? 1000 * 15 : 300) |
| | | // const divData = this.$refs.tableDataRightTopRef.bodyWrapper |
| | | // |
| | | // const temp = setInterval(() => { |
| | | // divData.scrollTop += 1 |
| | | // |
| | | // if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) { |
| | | // divData.scrollTop = 0 |
| | | // LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => { |
| | | // this.tableDataRightTop = res.data |
| | | // |
| | | // if (this.tableDataRightTop.length > 9) { |
| | | // clearInterval(temp) |
| | | // this.getLineSearchTopRightData() |
| | | // } |
| | | // }) |
| | | // } |
| | | // }, this.tableDataRightTop.length <= 9 ? 1000 * 15 : 300) |
| | | }) |
| | | |
| | | // let startValue = 0 // 初始值 |