feat(wms): 新增报表导出文件管理功能
新增报表导出文件管理模块,包含后端接口和前端页面 在各类报表页面添加保存报表功能 优化CoilSelector和CoilCard组件显示 调整分页大小和表格高度 统一各产线报表配置 修复文件预览组件高度问题
This commit is contained in:
@@ -267,7 +267,7 @@ export default {
|
||||
selectedCoil: null,
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
pageSize: 50,
|
||||
currentCoilNo: null,
|
||||
grade: null,
|
||||
itemSpecification: null,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="xlsx-preview">
|
||||
<div class="xlsx-preview" :style="{ height: height }">
|
||||
<vue-office-excel :src="src" @render-error="handleExcelError" />
|
||||
</div>
|
||||
</template>
|
||||
@@ -18,6 +18,11 @@ export default {
|
||||
type: String,
|
||||
required: true,
|
||||
description: "Excel文件的URL或路径"
|
||||
},
|
||||
height: {
|
||||
type: String,
|
||||
default: "70vh",
|
||||
description: "预览区域高度"
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -32,7 +37,6 @@ export default {
|
||||
<style scoped>
|
||||
.xlsx-preview {
|
||||
width: 100%;
|
||||
height: 70vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
||||
@@ -7,7 +7,7 @@
|
||||
<el-popover placement="top" width="280" trigger="hover" popper-class="material-params-popover">
|
||||
<div class="material-params-content">
|
||||
<div class="params-title">
|
||||
{{ coil.coilName || '—' }}
|
||||
{{ coil.itemName || '—' }}
|
||||
</div>
|
||||
<div class="params-list">
|
||||
<div class="param-coil">
|
||||
|
||||
Reference in New Issue
Block a user