diff --git a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseOutOrderController.java b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseOutOrderController.java index d2e6a827..23b92308 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseOutOrderController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseOutOrderController.java @@ -361,6 +361,30 @@ public class WarehouseOutOrderController extends BaseController return toAjax(warehouseOutOrderService.updateRefundsExchangesOutWarehouse(warehouseOutOrder)); } + /** + * 退换货-出库详情 + */ + @GetMapping("/refundsExchangesOutWarehouseDetail/{outOrderId}") + public String refundsExchangesOutWarehouseDetail(@PathVariable("outOrderId") Long outOrderId, ModelMap mmap) + { + WarehouseOutOrder warehouseOutOrder = warehouseOutOrderService.selectWarehouseOutOrderById(outOrderId); + mmap.put("warehouseOutOrder", warehouseOutOrder); + return prefix + "/refundsExchangesOutWarehouseDetail"; + } + + /** + * 修改保存退换货-出库详情 + */ + @RequiresPermissions("warehouse:warehouseOutOrder:refundsExchangesOutWarehouseDetail") + @Log(title = "仓库出库单", businessType = BusinessType.UPDATE) + @PostMapping("/refundsExchangesOutWarehouseDetail") + @ResponseBody + public AjaxResult refundsExchangesOutWarehouseDetailSave(@RequestBody WarehouseOutOrder warehouseOutOrder) + { + return toAjax(warehouseOutOrderService.updateRefundsExchangesOutWarehouse(warehouseOutOrder)); + } + + /** * 退换货-出库 供应商物料详情列表 */ diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/refundsExchangesOutWarehouseDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/refundsExchangesOutWarehouseDetail.html new file mode 100644 index 00000000..08d9f1c3 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/refundsExchangesOutWarehouseDetail.html @@ -0,0 +1,215 @@ + + +
+