add sku total
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user