| | |
| | | <div class="storage-grid"> |
| | | <div class="row rowMy0"> |
| | | <div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex < 20"> |
| | | <span class="textK" |
| | | |
| | | :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }" |
| | | > |
| | | <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> |
| | | <!-- {{ cell.laneNo }} --> |
| | | {{ cell.layerNo }}{{ cell.columnNo }} |
| | | </span> |
| | |
| | | </div> |
| | | <div class="row rowMy1"> |
| | | <div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex >= 20 && cellIndex < 40"> |
| | | <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> |
| | | <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> |
| | | <!-- {{ cell.laneNo }} --> |
| | | {{ cell.layerNo }}{{ cell.columnNo }} |
| | | </span> |
| | |
| | | </div> |
| | | <div class="row rowMy2"> |
| | | <div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex >= 40 && cellIndex <= 60"> |
| | | <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> |
| | | <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> |
| | | <!-- {{ cell.laneNo }} --> |
| | | {{ cell.layerNo }}{{ cell.columnNo }} |
| | | </span> |
| | |
| | | </div> --> |
| | | |
| | | <!-- 统计区域 --> |
| | | <!-- <count-view :countData="countList"></count-view> --> |
| | | <!-- <count-view :countData="countList"></count-view> --> |
| | | <!-- 库位展示 --> |
| | | <!-- <content-view :contentData="dataList"></content-view> --> |
| | | </div> |
| | |
| | | // return |
| | | // } |
| | | //设置背景 |
| | | |
| | | |
| | | var res = await getStorageView(Object.assign(formModel.value, {})); |
| | | if (res.data.code == 200) { |
| | | const { data } = res; |
| | |
| | | } |
| | | } |
| | | .t1 { |
| | | margin: 10px 0 2px 0;font-size: 16px !important; |
| | | margin: 10px 0 2px 0; |
| | | font-size: 16px !important; |
| | | padding-bottom:10px |
| | | } |
| | | .textK { |
| | | display: flex; /* 使用 Flexbox 布局 */ |
| | | flex-direction: column; |
| | | font-size: 12px; |
| | | text-align: center; |
| | | width: 100%; |
| | | height: 100%; |
| | | color: white; |
| | | width: 100%; |
| | | height: 100%; |
| | | color: white; |
| | | } |
| | | </style> |