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 349730dd..51b56445 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 @@ -142,6 +142,30 @@ public class WarehouseOutOrderController extends BaseController } + /** + * 销售单-准备物料详情 + */ + @GetMapping("/prepareMaterialDetail/{outOrderId}") + public String prepareMaterialDetail(@PathVariable("outOrderId") Long outOrderId, ModelMap mmap) + { + WarehouseOutOrder warehouseOutOrder = warehouseOutOrderService.selectWarehouseOutOrderById(outOrderId); + mmap.put("warehouseOutOrder", warehouseOutOrder); + return prefix + "/prepareMaterialDetail"; + } + + /** + * 修改保存销售单-准备物料详情 + */ + @RequiresPermissions("warehouse:warehouseOutOrder:prepareMaterialDetail") + @Log(title = "仓库出库单", businessType = BusinessType.UPDATE) + @PostMapping("/prepareMaterialDetail") + @ResponseBody + public AjaxResult prepareMaterialDetailSave(@RequestBody WarehouseOutOrder warehouseOutOrder) + { + return toAjax(warehouseOutOrderService.updatePrepareMaterial(warehouseOutOrder)); + } + + /** * 销售单-准备物料 物料相关信息 */ diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/prepareMaterialDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/prepareMaterialDetail.html new file mode 100644 index 00000000..320119c6 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/warehouse/warehouseOutOrder/prepareMaterialDetail.html @@ -0,0 +1,225 @@ + + +
+