From 71e8eb1e37b50d5eb34c1212858cd45428834382 Mon Sep 17 00:00:00 2001 From: jiangpeng Date: Mon, 1 Jun 2026 01:02:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=AE=A2=E5=8D=95=E9=85=8D?= =?UTF-8?q?=E5=A4=87=E8=B4=A7=E7=9B=B8=E5=85=B3=E9=93=BE=E8=B7=AF=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/inventory/execution/index.vue | 507 ++++++++++-------- .../src/views/inventory/inner/index.vue | 8 +- .../outer/components/GenerateDeliveryForm.vue | 10 +- .../components/PurchaseOrderDetail.vue | 62 +++ .../components/PurchaseOrderSelectDialog.vue | 8 +- .../oms_vue/src/views/purchaseorder/index.vue | 2 +- .../ruoyi/sip/domain/OmsPurchaseOrder.java | 16 +- .../sip/domain/OmsPurchaseOrderHistory.java | 2 + .../sip/dto/OrderProductMatchBindDto.java | 5 + .../ruoyi/sip/dto/OrderProductMatchDto.java | 9 + .../ruoyi/sip/mapper/InventoryInfoMapper.java | 2 + .../sip/service/IOmsPurchaseOrderService.java | 2 + .../sip/service/IProjectOrderInfoService.java | 2 + .../impl/ExecutionTrackServiceImpl.java | 6 + .../impl/InventoryDeliveryServiceImpl.java | 103 +++- .../impl/OmsInventoryInnerServiceImpl.java | 30 ++ .../impl/OmsPurchaseOrderServiceImpl.java | 48 +- .../impl/ProjectOrderInfoServiceImpl.java | 30 +- .../mapper/inventory/InventoryInfoMapper.xml | 34 +- .../sip/OmsPurchaseOrderHistoryMapper.xml | 3 + .../mapper/sip/OmsPurchaseOrderMapper.xml | 7 +- .../mapper/sip/ProjectOrderInfoMapper.xml | 35 +- 22 files changed, 623 insertions(+), 308 deletions(-) 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 0f06b574..7fcd448a 100644 --- a/oms_web/oms_vue/src/views/inventory/execution/index.vue +++ b/oms_web/oms_vue/src/views/inventory/execution/index.vue @@ -243,6 +243,15 @@
产品型号: {{ item.model || '-' }} + 生成虚拟采购单
@@ -250,32 +259,38 @@ {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum : '-' }}
- 已配货: - {{ item.phNum !== undefined && item.phNum !== null ? item.phNum : '-' }} - 缺货: {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum-(item.phNum||0): '-'}} + 已配额: + {{ calculateCurrentTotalPhNum(item) }} + 缺货: {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum-calculateCurrentTotalPhNum(item): '-'}}
已备货: {{ item.bhNum !== undefined && item.bhNum !== null ? item.bhNum : '-' }} 缺货: {{ item.orderNum !== undefined && item.orderNum !== null ? item.orderNum-(item.bhNum||0): '-'}} + 备货完成
- - - - + + - + + + + + + + - - - - + + @@ -321,7 +331,7 @@
关 闭 - + 保存修改
@@ -337,8 +347,8 @@
本次将保存 {{ stockingSaveChangedList.length }} 条配额量变更,是否继续?
- - + +