feat:depotPurchase
This commit is contained in:
@@ -382,3 +382,17 @@ GET {{host}}/admin/depot/purchase_list?limit=10
|
||||
content-type: application/json
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
### 采购入库
|
||||
POST {{host}}/admin/depot/depot_purchase
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
depot_id=1&material_id=1&supplier_id=1&purchase_price=60&number=2&city_id=1&kitchen_id=1
|
||||
|
||||
### 采购退货
|
||||
POST {{host}}/admin/depot/depot_purchase_back
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
id=6&number=2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user