add ProductStockBatchSelect.vue
This commit is contained in:
@@ -12,6 +12,7 @@ import type {
|
||||
ProductStockBatchRequest,
|
||||
ProductStockProduct,
|
||||
ProductStockChangeRequest,
|
||||
ProductStockManualInBatchRequest,
|
||||
ProductStockManualRevokeRequest,
|
||||
ProductStockPage,
|
||||
StockRecord,
|
||||
@@ -132,6 +133,10 @@ async function manualIn(request: ProductStockChangeRequest): Promise<ProductStoc
|
||||
return await axios.post(`${STOCK_URI}/manual-in`, withCurrentStoreId(request));
|
||||
}
|
||||
|
||||
async function manualInBatch(request: ProductStockManualInBatchRequest): Promise<ProductStock[]> {
|
||||
return await axios.post(`${STOCK_URI}/manual-in/batch`, withCurrentStoreId(request));
|
||||
}
|
||||
|
||||
async function manualOut(request: ProductStockChangeRequest): Promise<ProductStock> {
|
||||
return await axios.post(`${STOCK_URI}/manual-out`, withCurrentStoreId(request));
|
||||
}
|
||||
@@ -184,6 +189,7 @@ export default {
|
||||
stockBatchDetail,
|
||||
initialIn,
|
||||
manualIn,
|
||||
manualInBatch,
|
||||
manualOut,
|
||||
manualRevoke,
|
||||
stocktakeGain,
|
||||
|
||||
Reference in New Issue
Block a user