add ProductStockBatchSelect.vue

This commit is contained in:
Timi
2026-10-15 15:29:56 +08:00
parent d8ac19baa7
commit a5ac6c5e69
14 changed files with 1605 additions and 352 deletions
+6
View File
@@ -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,