From c48bc3ae72dcf15b46bd2c3f619102451b95a43c 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: Tue, 23 Dec 2025 16:53:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(check):=20=E6=B7=BB=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E7=9B=98=E7=9B=88=E7=9B=98=E4=BA=8F=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=92=8C=E7=9B=98=E7=82=B9=E6=A8=A1=E5=BC=8F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加自动处理盈亏按钮和功能实现 - 新增盘盈盘亏记录页签显示事务明细和子明细 - 实现人工处理完成功能的接口调用 - 添加盘点模式开关面板和状态管理 - 集成盘盈盘亏相关的API接口和数据处理逻辑 - 优化异常处理流程和用户交互体验 --- src/api/check/physicalInventory.js | 24 +- .../check/currentPhysicalInventory.vue | 218 +++++++++++++++- .../modules/check/searchPhysicalInventory.vue | 245 +++++++++++++++++- 3 files changed, 480 insertions(+), 7 deletions(-) diff --git a/src/api/check/physicalInventory.js b/src/api/check/physicalInventory.js index 189d2b8..9366713 100644 --- a/src/api/check/physicalInventory.js +++ b/src/api/check/physicalInventory.js @@ -91,5 +91,27 @@ export const searchUnhandledExceptionList = data => createAPI(`/check/physicalIn // 保存异常处理结果 export const saveExceptionHandle = data => createAPI(`/check/physicalInventory/saveExceptionHandle`, 'post', data) - +export const manualHandleCount = data => createAPI(`/check/physicalInventory/manualHandleCount`, 'post', data) export const scanAndCallPalletForHetuo = data => createAPI(`/wcsIntegration/scanAndCallPalletForHetuo`,'post',data) + +// ==================== 盘点模式管理 ==================== - rqrq + +// 获取当前盘点模式状态 - rqrq +export const getSysIfCount = data => createAPI(`/check/physicalInventory/getSysIfCount`, 'post', data) + +// 开启或关闭盘点模式 - rqrq +export const updateSysIfCount = data => createAPI(`/check/physicalInventory/updateSysIfCount`, 'post', data) + +// ==================== 自动盘盈盘亏处理 ==================== - rqrq + +// 检查是否有需要系统处理的异常结果 - rqrq +export const checkSystemHandleCount = data => createAPI(`/check/physicalInventory/checkSystemHandleCount`, 'post', data) + +// 执行自动盘盈盘亏处理 - rqrq +export const executeSystemAdjustment = data => createAPI(`/check/physicalInventory/executeSystemAdjustment`, 'post', data) + +// 查询盘盈盘亏事务记录 - rqrq +export const queryAdjustmentTransList = data => createAPI(`/check/physicalInventory/queryAdjustmentTransList`, 'post', data) + +// 查询盘盈盘亏事务子明细 - rqrq +export const queryAdjustmentTransSubList = data => createAPI(`/check/physicalInventory/queryAdjustmentTransSubList`, 'post', data) \ No newline at end of file diff --git a/src/views/modules/check/currentPhysicalInventory.vue b/src/views/modules/check/currentPhysicalInventory.vue index 7a7f2d5..3a2cd41 100644 --- a/src/views/modules/check/currentPhysicalInventory.vue +++ b/src/views/modules/check/currentPhysicalInventory.vue @@ -19,7 +19,11 @@ 处理异常 + :disabled="headerLoading || handleExceptionLoading">选择处理方式 + + {{ autoAdjustLoading ? '处理中...' : '自动处理盈亏' }} @@ -202,7 +206,7 @@ width="150" :label="'操作'"> @@ -246,6 +250,54 @@ + + +
+ +
+
事务明细
+ + + + + + + + + + + + + + + + +
+ +
+
事务子明细
+ + + + + + + + + + + + +
+
+
@@ -323,7 +375,8 @@ diff --git a/src/views/modules/check/searchPhysicalInventory.vue b/src/views/modules/check/searchPhysicalInventory.vue index 38f06d5..c61d5c2 100644 --- a/src/views/modules/check/searchPhysicalInventory.vue +++ b/src/views/modules/check/searchPhysicalInventory.vue @@ -1,6 +1,26 @@