feat:depot_sale
This commit is contained in:
@@ -444,3 +444,29 @@ GET {{host}}/api/material/application_list?limit=10
|
||||
content-type: application/json
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
### 商品销售出库
|
||||
POST {{host}}/admin/depot/depot_sale
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
depot_id=1&material_id=1&supplier_id=1&number=8&application_id=1&city_id=1&kitchen_id=1
|
||||
|
||||
### 商品销售出库修改数量
|
||||
POST {{host}}/admin/depot/sale_update
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
id=1&number=3
|
||||
|
||||
### 商品销售出库删除
|
||||
POST {{host}}/admin/depot/sale_delete
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
id=2
|
||||
|
||||
### 商品销售出库列表
|
||||
GET {{host}}/admin/depot/sale_list?limit=10&query_kitchen_id=1
|
||||
content-type: application/json
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user