feat(仓库管理): 优化仓库网格布局并增强库位编码解析

- 在WarehouseGrid组件中添加layerData变化的调试日志
- 将overview.vue中的网格列数从10增加到30
- 重构WarehouseBird组件中的库位编码解析逻辑,支持更灵活的编码格式
- 优化WarehouseInterlaced组件的布局,添加横向滚动容器并改进单元格宽度计算
- 同步列标尺和网格区域的滚动行为
This commit is contained in:
砂糖
2026-01-07 10:18:26 +08:00
parent b0ee494434
commit 6f57ea2c3f
4 changed files with 167 additions and 91 deletions

View File

@@ -42,7 +42,7 @@
<div class="grid-selector" @mousemove="handleGridHover" @click="confirmGridSelect"
@mouseleave="resetGridHover">
<div v-for="row in 40" :key="`grid-row-${row}`" class="grid-selector-row">
<div v-for="col in 10" :key="`grid-col-${col}`" class="grid-selector-cell" :class="{
<div v-for="col in 30" :key="`grid-col-${col}`" class="grid-selector-cell" :class="{
hovered: row <= hoverRow && col <= hoverCol,
selected: row <= initForm.rowCount && col <= initForm.columnCount
}">