u
This commit is contained in:
@@ -13,4 +13,24 @@ export const stock = {
|
||||
return http('/api/stock/adjust', { method: 'POST', body });
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* POST /api/stock/accept
|
||||
* Body: { manifestarticleId, warehouseId?, text? } or { items: [...] } or { deliveryId, warehouseId? }
|
||||
*/
|
||||
// #region POST /api/stock/accept — accept
|
||||
accept(body) {
|
||||
return http('/api/stock/accept', { method: 'POST', body });
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* POST /api/stock/ship
|
||||
* Body: { manifestarticleId, warehouseId?, text? } or { items: [...] } or { shipmentId, warehouseId? }
|
||||
*/
|
||||
// #region POST /api/stock/ship — ship
|
||||
ship(body) {
|
||||
return http('/api/stock/ship', { method: 'POST', body });
|
||||
},
|
||||
// #endregion
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user