From c759c8bc55f4a0926d4149b8c7f533ed0e6d7a07 Mon Sep 17 00:00:00 2001 From: chenhao Date: Wed, 11 Feb 2026 09:21:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(inventory):=20=E6=B7=BB=E5=8A=A0=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=89=A7=E8=A1=8C=E8=B7=9F=E8=B8=AA=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 exportExecution API 接口用于导出订单数据 - 在前端界面添加导出按钮并集成权限控制 - 更新服务层实现导出逻辑并调整表头字段顺序 - 增加订单生效时间和要求到货时间字段显示 - 完善后端控制器的导出接口权限验证机制 --- .../oms_vue/src/api/inventory/execution.js | 8 ++++++ .../src/views/inventory/execution/index.vue | 28 +++++++++++++++++-- .../vue/VueInventoryExecutionController.java | 19 +++++++++++++ .../impl/ProjectOrderInfoServiceImpl.java | 6 +++- 4 files changed, 58 insertions(+), 3 deletions(-) diff --git a/oms_web/oms_vue/src/api/inventory/execution.js b/oms_web/oms_vue/src/api/inventory/execution.js index eed1d478..c9ddff5b 100644 --- a/oms_web/oms_vue/src/api/inventory/execution.js +++ b/oms_web/oms_vue/src/api/inventory/execution.js @@ -70,6 +70,14 @@ export function recallExecution(id) { params: { id } }) } +export function exportExecution(data) { + return request({ + url: `/inventory/execution/vue/export`, + method: 'post', + data: { data }, + headers: { 'Content-Type': 'multipart/form-data' }, + }) +} // 查询出库预览信息 export function getCheckOutPreview(data) { diff --git a/oms_web/oms_vue/src/views/inventory/execution/index.vue b/oms_web/oms_vue/src/views/inventory/execution/index.vue index a9fb26a7..43a554b8 100644 --- a/oms_web/oms_vue/src/views/inventory/execution/index.vue +++ b/oms_web/oms_vue/src/views/inventory/execution/index.vue @@ -81,7 +81,13 @@ 重置 + + + 导出 + + + @@ -212,11 +218,11 @@