| | |
| | | |
| | | <div style="display: flex;justify-content: space-between;padding:0 20px 20px 20px;height: 950px"> |
| | | <div style="width: 1350px;z-index: 2;margin-top: 50px;" class="flex_c_b"> |
| | | <div style="height: 470px;"> |
| | | <div style="height: 945px;"> |
| | | <div class="smallTitle"> |
| | | <svg-icon icon-class="cpdrk" class="svg_class" /> |
| | | 生产待入库 |
| | | </div> |
| | | <div class="lineContent horn" style="height: 410px"> |
| | | <div class="lineContent horn" style="height: 885px"> |
| | | <el-table |
| | | ref="tableDataTopRef" |
| | | :data="tableDataTop" |
| | |
| | | class="tableData" |
| | | :header-cell-style="headerCellStyleCenter" |
| | | :cell-style="cellStyleCenter" |
| | | height="405" |
| | | height="880" |
| | | > |
| | | <el-table-column |
| | | prop="voucherdate" |
| | |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | <div style="height: 470px;margin-top: 30px;"> |
| | | <div v-if="false" style="height: 470px;margin-top: 30px;"> |
| | | <div class="smallTitle"> |
| | | <svg-icon icon-class="drk" class="svg_class" /> |
| | | 委外待入库 |
| | |
| | | this.updateOnlineStatus({ type: this.onLine ? 'online' : 'offline', isFirst: true }) |
| | | |
| | | this.getWareHouseTopLeftData() |
| | | this.getWareHouseTopBottomData() |
| | | // this.getWareHouseTopBottomData() |
| | | this.getEcharts() |
| | | }, |
| | | beforeDestroy() { |
| | |
| | | WareHouseTopLeftData().then(res => { |
| | | this.tableDataTop = res.data |
| | | // this.number1 = this.tableDataTop.length |
| | | if (this.tableDataTop.length > 10) { |
| | | if (this.tableDataTop.length > 22) { |
| | | clearInterval(this.tableTopTask) |
| | | this.getWareHouseTopLeftData() |
| | | } |
| | | }) |
| | | } |
| | | }, this.tableDataTop.length <= 10 ? 1000 * 30 : 200) |
| | | }, this.tableDataTop.length <= 22 ? 1000 * 30 : 200) |
| | | }) |
| | | }, |
| | | // 获取左下table数据 |