From 962460a0bc15900cb7ddc00a274eece31d7d8374 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 31 May 2024 11:09:14 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=85=A5=E5=BA=93=E5=8D=95=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20=E6=9A=82=E6=94=B6-=E9=87=87=E8=B4=AD=E5=8D=95(?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=85=A5=E5=BA=93)=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2temporaryPurchaseWarehouseDetail.html=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85=E6=8C=89=E9=92=AE=20?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WarehouseStorageOrderController.java | 23 ++ .../warehouse/storageOrder/storageOrder.html | 14 +- .../temporaryPurchaseWarehouseDetail.html | 356 ++++++++++++++++++ 3 files changed, 388 insertions(+), 5 deletions(-) create mode 100644 ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryPurchaseWarehouseDetail.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java index 05410abe..f8cd11c0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java @@ -142,6 +142,29 @@ public class WarehouseStorageOrderController extends BaseController } + /** + * 暂收-采购单(仓库入库)详情 + */ + @GetMapping("/temporaryPurchaseWarehouseDetail/{warehouseStorageId}") + public String temporaryPurchaseWarehouseDetail(@PathVariable("warehouseStorageId") Long warehouseStorageId, ModelMap mmap) + { + WarehouseStorageOrder warehouseStorageOrder = warehouseStorageOrderService.selectWarehouseStorageOrderById(warehouseStorageId); + mmap.put("warehouseStorageOrder", warehouseStorageOrder); + return prefix + "/temporaryPurchaseWarehouseDetail"; + } + + /** + * 修改保存暂收-采购单(仓库入库)详情 + */ + @RequiresPermissions("warehouse:storageOrder:temporaryPurchaseWarehouseDetail") + @Log(title = "仓库入库单", businessType = BusinessType.UPDATE) + @PostMapping("/temporaryPurchaseWarehouseDetail") + @ResponseBody + public AjaxResult temporaryPurchaseWarehouseDetailSave(@RequestBody WarehouseStorageOrder warehouseStorageOrder) + { + return toAjax(warehouseStorageOrderService.updateWarehouseStorageOrder(warehouseStorageOrder)); + } + /** * 暂收-采购单(仓库入库) 供应商物料详情列表 */ diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html index 1c0c89e1..58d680c6 100644 --- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html @@ -60,9 +60,6 @@
- - 添加 - 导出 @@ -74,7 +71,6 @@
+ + \ No newline at end of file