add sku total

This commit is contained in:
Timi
2026-10-16 01:32:56 +08:00
parent ad427bf2ea
commit bfb868cc4b
4 changed files with 164 additions and 43 deletions
+3 -2
View File
@@ -16,7 +16,8 @@ import type {
ProductStockManualRevokeRequest,
ProductStockPage,
StockRecord,
StockRecordPage
StockRecordPage,
StockRecordPageResult
} from "@/types/Product";
import { getCurrentStoreId, withCurrentStoreId } from "@/utils/store";
@@ -153,7 +154,7 @@ async function stocktakeLoss(request: ProductStockChangeRequest): Promise<Produc
return await axios.post(`${STOCK_URI}/stocktake-loss`, withCurrentStoreId(request));
}
async function recordList(page: StockRecordPage): Promise<ProductPageResult<StockRecord>> {
async function recordList(page: StockRecordPage): Promise<StockRecordPageResult> {
return await axios.post(`${STOCK_URI}/record/list`, withCurrentStoreId(page));
}