From abafa47f5fa93a4f12953c9a20d6223ac28a6437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=96=E5=BC=BA?= Date: Mon, 6 Mar 2023 08:35:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/SaleorderitemController.java | 4 +- .../scm/basicInformation/receiptout/index.vue | 105 +- .../scm/basicInformation/saleorder/Form.vue | 943 ------------------ .../scm/basicInformation/saleorder/index.vue | 32 +- 4 files changed, 23 insertions(+), 1061 deletions(-) diff --git a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/controller/SaleorderitemController.java b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/controller/SaleorderitemController.java index 51a50f76..512d97ed 100644 --- a/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/controller/SaleorderitemController.java +++ b/SC-boot/linkage-scm/src/main/java/jnpf/saleorder/controller/SaleorderitemController.java @@ -186,7 +186,9 @@ public class SaleorderitemController { QueryWrapper queryWrapper3 = new QueryWrapper<>(); queryWrapper3.lambda().eq(ReservoirareaEntity::getId,materialEntity.getOutArea()); ReservoirareaEntity reservoirareaEntity = reservoirareaService.getOne(queryWrapper3); - entity.setWarehouseId(reservoirareaEntity.getWarehouseId()); + if (ObjectUtils.isNotEmpty(reservoirareaEntity)) { + entity.setWarehouseId(reservoirareaEntity.getWarehouseId()); + } } QueryWrapper queryWrapper3 = new QueryWrapper<>(); queryWrapper3.lambda().eq(PoundlistEntity::getId,entity.getPoundlistId()); diff --git a/SC-web/src/views/scm/basicInformation/receiptout/index.vue b/SC-web/src/views/scm/basicInformation/receiptout/index.vue index 894959bd..a5075600 100644 --- a/SC-web/src/views/scm/basicInformation/receiptout/index.vue +++ b/SC-web/src/views/scm/basicInformation/receiptout/index.vue @@ -1,99 +1,5 @@ diff --git a/SC-web/src/views/scm/basicInformation/saleorder/index.vue b/SC-web/src/views/scm/basicInformation/saleorder/index.vue index 617906c9..a6281c86 100644 --- a/SC-web/src/views/scm/basicInformation/saleorder/index.vue +++ b/SC-web/src/views/scm/basicInformation/saleorder/index.vue @@ -30,7 +30,7 @@
- 新增 + 新增 导出 @@ -56,43 +56,43 @@
- - - - - - - - - - - - - - -