From f4ceef8d31fd4e91c9d9bbfd43e37d286be8ff96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Mon, 30 Mar 2026 13:24:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(check):=20=E6=B7=BB=E5=8A=A0=E5=B9=B4?= =?UTF-8?q?=E5=BA=A6=E7=9B=98=E7=82=B9=E6=8A=A5=E5=91=8A=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E7=9B=98=E7=82=B9=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增年度盘点报告API接口和后端服务 - 在盘点查询页面添加年中/年末盘点类型选项 - 实现年度盘点报告弹窗界面和提交逻辑 - 为盘点结果页面添加Excel导出功能 - 重构盘点结果页面表格列配置为动态模式 - 移除盘点结果页面的盘点结果显示字段 - 优化changeHUSpecialItem页面的数据加载逻辑 - 修复物料编码验证和页面初始化问题 --- src/api/check/physicalInventory.js | 3 + .../modules/check/rfidDailyCountResult.vue | 477 +++++++++--------- .../modules/check/searchPhysicalInventory.vue | 79 ++- .../modules/warehouse/changeHUSpecialItem.vue | 9 +- 4 files changed, 313 insertions(+), 255 deletions(-) diff --git a/src/api/check/physicalInventory.js b/src/api/check/physicalInventory.js index 572212e..13d54e1 100644 --- a/src/api/check/physicalInventory.js +++ b/src/api/check/physicalInventory.js @@ -17,6 +17,9 @@ export const createCycleCount = data => createAPI(`/check/physicalInventory/crea // 创建空的手工盘点单(只有表头) export const createManualCount = data => createAPI(`/check/physicalInventory/createManualCount`, 'post', data) +// 年度盘点报告(年中/年末)- rqrq +export const generateYearInventoryReport = data => createAPI(`/check/physicalInventory/generateYearInventoryReport`, 'post', data) + // 手工盘点 - 查询物料汇总(用于添加物料弹框) export const queryMaterialForManualCount = data => createAPI(`/check/physicalInventory/queryMaterialForManualCount`, 'post', data) diff --git a/src/views/modules/check/rfidDailyCountResult.vue b/src/views/modules/check/rfidDailyCountResult.vue index 816aa81..dcadd5b 100644 --- a/src/views/modules/check/rfidDailyCountResult.vue +++ b/src/views/modules/check/rfidDailyCountResult.vue @@ -12,13 +12,6 @@ - - - - - - - 查询 - - - - {{ generateLoading ? '生成中...' : '生成盘点结果' }} - + + 导出 + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + v-for="(item, index) in mainColumnList" + :key="index" + :sortable="item.columnSortable" + :prop="item.columnProp" + :header-align="item.headerAlign" + :align="item.align" + :show-overflow-tooltip="item.showOverflowTooltip" + :fixed="item.fixed === '' ? false : item.fixed" + :min-width="item.columnWidth" + :label="item.columnLabel"> + @@ -189,155 +97,224 @@ diff --git a/src/views/modules/check/searchPhysicalInventory.vue b/src/views/modules/check/searchPhysicalInventory.vue index af0c13a..234470f 100644 --- a/src/views/modules/check/searchPhysicalInventory.vue +++ b/src/views/modules/check/searchPhysicalInventory.vue @@ -32,6 +32,8 @@ + + @@ -55,6 +57,7 @@ 重置 循环盘点 手工盘点 + 年度盘点报告 @@ -312,6 +315,26 @@ + + + + + + + + + + + + + + + + 确 认 + 取 消 + + +
@@ -408,7 +431,7 @@