From f85e557d1c7c613576e0ef517554668f2caf6f66 Mon Sep 17 00:00:00 2001 From: chenhao <852066789@qq.com> Date: Wed, 20 Aug 2025 14:46:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(customer):=20=E5=AE=A2=E6=88=B7=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -客户编码改为自动生成,无需手动输入 - 添加生成客户编码的逻辑和接口 - 修改客户信息保存逻辑,支持自动生成编码 - 优化客户信息编辑界面,使编码字段只读 --- .../templates/inventory/execution/edit.html | 8 +- .../templates/inventory/outer/edit.html | 183 +++++++++++------- .../templates/inventory/outer/outer.html | 6 +- .../templates/system/customer/add.html | 4 +- .../templates/system/customer/edit.html | 2 +- .../controller/InventoryOuterController.java | 9 +- .../ruoyi/sip/domain/InventoryDelivery.java | 1 + .../flowable/listener/ProcessListener.java | 58 +++++- .../flowable/service/TodoCommonTemplate.java | 5 + .../ruoyi/sip/mapper/CustomerInfoMapper.java | 2 + .../ruoyi/sip/mapper/InventoryInfoMapper.java | 1 + .../service/IOmsInventoryInnerService.java | 4 +- .../service/impl/CustomerInfoServiceImpl.java | 61 +++++- .../impl/ExecutionTrackServiceImpl.java | 14 +- .../impl/InventoryDeliveryServiceImpl.java | 43 ++-- .../impl/InventoryInfoServiceImpl.java | 8 + .../impl/OmsInventoryInnerServiceImpl.java | 34 +++- .../impl/ProjectOrderInfoServiceImpl.java | 15 +- .../mapper/inventory/InventoryInfoMapper.xml | 8 + .../mapper/manage/CustomerInfoMapper.xml | 8 + 20 files changed, 358 insertions(+), 116 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/inventory/execution/edit.html b/ruoyi-admin/src/main/resources/templates/inventory/execution/edit.html index 50be29d6..2906ef9f 100644 --- a/ruoyi-admin/src/main/resources/templates/inventory/execution/edit.html +++ b/ruoyi-admin/src/main/resources/templates/inventory/execution/edit.html @@ -519,7 +519,7 @@ formatter: function (value, row, index) { var actions = []; let disabled = Number(row.quantity) <= Number(row.generatedQuantity) + Number(row.confirmQuantity) - actions.push(`出库`); return actions.join(''); } @@ -555,7 +555,7 @@ function initWarehouseTable(data) { }, { field: 'availableCount', - title: '实时用库存' + title: '实时库存' }, { field: 'confirmQuantity', @@ -762,12 +762,12 @@ function initWarehouseTable(data) { var actions = []; if (row.outerStatus === '1' || row.outerStatus === '4') { actions.push(`撤销`); - actions.push(`确认出库`); + actions.push(`确认出库`); } else { // actions.push('查看详情'); - actions.push(`查看详情`); + actions.push(`查看详情`); } return actions.join(''); } diff --git a/ruoyi-admin/src/main/resources/templates/inventory/outer/edit.html b/ruoyi-admin/src/main/resources/templates/inventory/outer/edit.html index bdf9ee95..23fef6ae 100644 --- a/ruoyi-admin/src/main/resources/templates/inventory/outer/edit.html +++ b/ruoyi-admin/src/main/resources/templates/inventory/outer/edit.html @@ -110,6 +110,7 @@