fix:depot materialCategory

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-01-22 17:15:50 +08:00
parent 63c3574c5f
commit d231f343d3
5 changed files with 20 additions and 7 deletions

View File

@@ -66,4 +66,17 @@ class DepotController
{
return (new DepotService)->delete();
}
/**
* 采购入库
* @param DepotRequest $request
* @return array
* @throws Exception
*/
#[RequestMapping(path: "depot_purchase", methods: "POST")]
#[Scene(scene: "purchase")]
public function purchase(DepotRequest $request): array
{
return (new DepotService)->purchase();
}
}