feat(consumables): 添加耗材管理功能模块
添加耗材管理相关功能,包括: 1. 后端模型、路由和控制器 2. 前端页面和组件 3. 耗材分类管理 4. 耗材出入库记录 5. 耗材统计和日志功能 6. 集成到现有系统菜单
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$postData = @{
|
||||
consumableId = "CON1766493042245"
|
||||
type = "in"
|
||||
quantity = 5
|
||||
operator = "测试管理员"
|
||||
reason = "测试入库"
|
||||
notes = "测试日志记录功能"
|
||||
} | ConvertTo-Json
|
||||
|
||||
$response = Invoke-RestMethod -Uri "http://localhost:8000/api/consumables/quick-inout" -Method Post -Body $postData -ContentType "application/json"
|
||||
|
||||
Write-Host "入库API响应:"
|
||||
$response | ConvertTo-Json -Depth 5
|
||||
Reference in New Issue
Block a user