fix(wms-warehouse): 修复仓库页面容器高度溢出和导出二维码逻辑
This commit is contained in:
@@ -351,7 +351,8 @@ export default {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.bird-container {
|
.bird-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: calc(100vh - 168px);
|
||||||
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 统计卡片样式
|
// 统计卡片样式
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
element-loading-spinner="el-icon-loading">
|
element-loading-spinner="el-icon-loading">
|
||||||
<el-tabs v-model="activeTab" class="overview-tabs">
|
<el-tabs v-model="activeTab" class="overview-tabs">
|
||||||
<el-tab-pane label="平面视图" name="bird">
|
<el-tab-pane label="平面视图" name="bird">
|
||||||
|
<!-- <button buttonLoading type="primary" @click="exportAllQrcodes">导出二维码</button> -->
|
||||||
<WarehouseBird
|
<WarehouseBird
|
||||||
:id="selectedNodeId"
|
:id="selectedNodeId"
|
||||||
:warehouse-list="warehouseList"
|
:warehouse-list="warehouseList"
|
||||||
@@ -221,7 +222,8 @@ export default {
|
|||||||
let currentX = margin; // 当前X坐标
|
let currentX = margin; // 当前X坐标
|
||||||
let currentY = margin; // 当前Y坐标
|
let currentY = margin; // 当前Y坐标
|
||||||
let currentIndex = 0; // 当前处理的库位索引
|
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;
|
const totalCount = list.length;
|
||||||
|
|
||||||
// 遍历所有库位生成二维码并添加到PDF
|
// 遍历所有库位生成二维码并添加到PDF
|
||||||
|
|||||||
Reference in New Issue
Block a user