fix(wms-warehouse): 修复仓库页面容器高度溢出和导出二维码逻辑

This commit is contained in:
2026-06-05 10:41:49 +08:00
parent a5323aea76
commit 5e0dc848bb
2 changed files with 5 additions and 2 deletions

View File

@@ -351,7 +351,8 @@ export default {
<style scoped lang="scss">
.bird-container {
width: 100%;
height: 100%;
height: calc(100vh - 168px);
overflow-y: scroll;
}
// 统计卡片样式

View File

@@ -15,6 +15,7 @@
element-loading-spinner="el-icon-loading">
<el-tabs v-model="activeTab" class="overview-tabs">
<el-tab-pane label="平面视图" name="bird">
<!-- <button buttonLoading type="primary" @click="exportAllQrcodes">导出二维码</button> -->
<WarehouseBird
:id="selectedNodeId"
:warehouse-list="warehouseList"
@@ -221,7 +222,8 @@ export default {
let currentX = margin; // 当前X坐标
let currentY = margin; // 当前Y坐标
let currentIndex = 0; // 当前处理的库位索引
const list = this.warehouseList.filter(item => item.actualWarehouseCode.includes('X'));
// const list = this.warehouseList.filter(item => item.actualWarehouseCode.includes('X'));
const list = this.warehouseList;
const totalCount = list.length;
// 遍历所有库位生成二维码并添加到PDF