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 51b56445..b96c14fc 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 @@ -201,6 +201,31 @@ public class WarehouseOutOrderController extends BaseController return toAjax(warehouseOutOrderService.updateSalesOutWarehouse(warehouseOutOrder)); } + + /** + * 销售单-出库 + */ + @GetMapping("/salesOutWarehouseDetail/{outOrderId}") + public String salesOutWarehouseDetail(@PathVariable("outOrderId") Long outOrderId, ModelMap mmap) + { + WarehouseOutOrder warehouseOutOrder = warehouseOutOrderService.selectWarehouseOutOrderById(outOrderId); + mmap.put("warehouseOutOrder", warehouseOutOrder); + return prefix + "/salesOutWarehouseDetail"; + } + + /** + * 修改保存销售单-出库 + */ + @RequiresPermissions("warehouse:warehouseOutOrder:salesOutWarehouseDetail") + @Log(title = "仓库出库单", businessType = BusinessType.UPDATE) + @PostMapping("/salesOutWarehouseDetail") + @ResponseBody + public AjaxResult salesOutWarehouseDetailSave(@RequestBody WarehouseOutOrder warehouseOutOrder) + { + return toAjax(warehouseOutOrderService.updateSalesOutWarehouse(warehouseOutOrder)); + } + + /** * 销售单-出库 物料信息关联设备信息 */ @@ -230,7 +255,7 @@ public class WarehouseOutOrderController extends BaseController } /** - * 修改保存出库单-出库 + * 修改保存生产单-出库 */ @RequiresPermissions("warehouse:warehouseOutOrder:makeOutWarehouse") @Log(title = "仓库出库单", businessType = BusinessType.UPDATE) diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/salesOutWarehouse.html b/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/salesOutWarehouse.html index 27bf3549..cab7e0dc 100644 --- a/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/salesOutWarehouse.html +++ b/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/salesOutWarehouse.html @@ -1,7 +1,7 @@
-