feat:depotPurchase

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-05 16:11:00 +08:00
parent ec15f9b13d
commit 3f7d8f5cad
6 changed files with 94 additions and 18 deletions

View File

@@ -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