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