feat(wms): 新增报表导出文件管理功能

新增报表导出文件管理模块,包含后端接口和前端页面
在各类报表页面添加保存报表功能
优化CoilSelector和CoilCard组件显示
调整分页大小和表格高度
统一各产线报表配置
修复文件预览组件高度问题
This commit is contained in:
砂糖
2026-04-11 15:36:50 +08:00
parent 848ad2c3cd
commit 3020a4244d
78 changed files with 1697 additions and 160 deletions

View File

@@ -90,6 +90,12 @@
<CoilTable :data="coilList" />
</div>
</el-tab-pane>
<el-tab-pane label="发货单据" name="delivery">
<div class="order-record" v-if="activeTab === 'delivery'">
<!-- 发货单内容 -->
<DeliveryTable :data="deliveryWaybillList" />
</div>
</el-tab-pane>
<el-tab-pane label="操作记录" name="record" v-hasPermi="['crm:order:record']">
<div class="order-record" v-if="activeTab === 'record'">
<!-- 操作记录内容 -->
@@ -152,6 +158,8 @@
import KLPList from '@/components/KLPUI/KLPList/index.vue'
import { listOrder, delOrder, listOrderPackaging } from "@/api/crm/order";
import { listCustomer } from "@/api/crm/customer";
import { listDeliveryWaybill } from "@/api/wms/deliveryWaybill";
import { ORDER_STATUS, ORDER_TYPE } from '../js/enum'
import { ORDER_ACTIONS, actions } from '../js/actions'
import OrderDetail from '../components/OrderDetail.vue';
@@ -162,6 +170,7 @@ import OrderRecord from '../components/OrderRecord.vue';
import FileList from '@/components/FileList';
import { listContract } from "@/api/crm/contract";
import CoilTable from "../components/CoilTable.vue";
import DeliveryTable from "../components/DeliveryTable.vue";
export default {
name: 'OrderPage',
@@ -173,7 +182,8 @@ export default {
ReceiveTable,
OrderRecord,
FileList,
CoilTable
CoilTable,
DeliveryTable
},
dicts: ['customer_level', 'customer_industry', 'wip_pack_saleman'],
props: {
@@ -217,6 +227,7 @@ export default {
customerList: [],
contractList: [],
coilList: [],
deliveryWaybillList: [],
}
},
created() {
@@ -240,6 +251,12 @@ export default {
this.contractList = response.rows || [];
});
},
/** 查询发货单列表 */
getDeliveryWaybillList() {
listDeliveryWaybill({ pageNum: 1, pageSize: 1000, orderId: this.currentOrder.orderId }).then(response => {
this.deliveryWaybillList = response.rows || [];
});
},
/** 查询发货配卷列表 */
getCoilList() {
listOrderPackaging(this.currentOrder.orderId).then(response => {
@@ -265,6 +282,7 @@ export default {
}
this.activeTab = 'detail';
this.getCoilList()
this.getDeliveryWaybillList()
console.log('点击订单:', order)
},
/** 查询正式订单主列表 */