| | |
| | | <div class="kb_dashboard"> |
| | | |
| | | <!-- 星空背景--> |
| | | <div ref="starsRef" class="stars"> |
| | | <div v-for="(item, index) in starsCount" :key="index" class="star" /> |
| | | </div> |
| | | <!-- <div ref="starsRef" class="stars">--> |
| | | <!-- <div v-for="(item, index) in starsCount" :key="index" class="star" />--> |
| | | <!-- </div>--> |
| | | |
| | | <div class="kb_header"> |
| | | <div class="flex_c_c kb_header_text"> |
| | |
| | | <el-table |
| | | ref="tableDataLeftTopRef" |
| | | :data="tableDataLeftTop" |
| | | class="tableData" |
| | | class="tableData tableDataCell" |
| | | style="width: 100%;" |
| | | :header-cell-style="headerCellStyle" |
| | | :cell-style="cellStyle" |
| | |
| | | <el-table-column |
| | | prop="saleOrderCode" |
| | | label="销售单号" |
| | | width="165" |
| | | /> |
| | | |
| | | width="130" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="partname" |
| | | width="120" |
| | | width="170" |
| | | label="产品名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="good_qty" |
| | | label="数量" |
| | | width="80" |
| | | width="70" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | <el-table |
| | | ref="tableDataLeftBottomRef" |
| | | :data="tableDataLeftBottom" |
| | | class="tableData" |
| | | class="tableData tableDataCell" |
| | | style="width: 100%;" |
| | | :header-cell-style="headerCellStyle" |
| | | :cell-style="cellStyle" |
| | |
| | | <el-table-column |
| | | prop="saleOrderCode" |
| | | label="销售单号" |
| | | width="165" |
| | | /> |
| | | width="130" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | prop="partname" |
| | | width="120" |
| | | width="170" |
| | | label="产品名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="good_qty" |
| | | label="数量" |
| | | width="80" |
| | | width="70" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | <el-table |
| | | ref="tableDataLeftCenterRef" |
| | | :data="tableDataCenterTop" |
| | | class="tableData" |
| | | class="tableData tableDataCell" |
| | | style="width: 100%;" |
| | | :header-cell-style="headerCellStyleCenter" |
| | | :cell-style="cellStyleCenter" |
| | |
| | | <el-table-column |
| | | type="RowNum" |
| | | label="序号" |
| | | width="60" |
| | | width="50" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="eqp_name" |
| | | width="100" |
| | | width="90" |
| | | label="产线名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="partname" |
| | | width="140" |
| | | width="170" |
| | | label="产品名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="plan_qty" |
| | | label="生产数量" |
| | | width="100" |
| | | width="90" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | |
| | | <el-table |
| | | ref="tableDataRightTopRef" |
| | | :data="tableDataRightTop" |
| | | class="tableData" |
| | | class="tableData tableDataCell" |
| | | style="width: 100%;" |
| | | :header-cell-style="headerCellStyle" |
| | | :cell-style="cellStyle" |
| | |
| | | <el-table-column |
| | | prop="saleOrderCode" |
| | | label="销售单号" |
| | | width="165" |
| | | /> |
| | | |
| | | width="130" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="partname" |
| | | width="120" |
| | | width="170" |
| | | label="产品名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="good_qty" |
| | | label="数量" |
| | | width="80" |
| | | width="70" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | <el-table |
| | | ref="tableDataRightBottomRef" |
| | | :data="tableDataRightBottom" |
| | | class="tableData" |
| | | class="tableData tableDataCell" |
| | | style="width: 100%;" |
| | | :header-cell-style="headerCellStyle" |
| | | :cell-style="cellStyle" |
| | |
| | | <el-table-column |
| | | prop="saleOrderCode" |
| | | label="销售单号" |
| | | width="165" |
| | | /> |
| | | |
| | | width="130" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.saleOrderCode" style="text-align: left" class="ellipsis">{{ row.saleOrderCode }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="partname" |
| | | width="120" |
| | | width="170" |
| | | label="产品名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="good_qty" |
| | | label="数量" |
| | | width="80" |
| | | width="70" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | // 中间表格数据内容 |
| | | this.getCenterTableDataSetInterval() |
| | | |
| | | this.setStarsRef() |
| | | // this.setStarsRef() |
| | | }, |
| | | methods: { |
| | | setStarsRef() { |
| | |
| | | const scale = 10// 刻度 |
| | | |
| | | WkshpLineData({ LineCode: '003' }).then(res => { |
| | | this.tableDataRightTopTemp = res.data |
| | | this.tableDataRightTop = this.tableDataRightTopTemp.slice(startValue, startValue + scale) |
| | | |
| | | const loop = Math.floor(this.tableDataRightTopTemp.length / scale)// 需要循环的次数 |
| | |
| | | const scale = 10// 刻度 |
| | | |
| | | WkshpLineData({ LineCode: '004' }).then(res => { |
| | | this.tableDataRightBottomTemp = res.data |
| | | this.tableDataRightBottom = this.tableDataRightBottomTemp.slice(startValue, startValue + scale) |
| | | |
| | | const loop = Math.floor(this.tableDataRightBottomTemp.length / scale)// 需要循环的次数 |
| | |
| | | $main_color: #09d8f2; |
| | | $color01: #00FFFF; |
| | | |
| | | .tableDataCell { |
| | | ::v-deep .cell{ |
| | | padding: 0 2px ; |
| | | } |
| | | } |
| | | |
| | | .tableData { |
| | | background: #000; |
| | | } |