diff --git a/src/api/ProductAPI.ts b/src/api/ProductAPI.ts index 32bb29b..2b75bbe 100644 --- a/src/api/ProductAPI.ts +++ b/src/api/ProductAPI.ts @@ -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> { +async function recordList(page: StockRecordPage): Promise { return await axios.post(`${STOCK_URI}/record/list`, withCurrentStoreId(page)); } diff --git a/src/components/productSelector/ProductSelector.vue b/src/components/productSelector/ProductSelector.vue index fbccfbb..26f109d 100644 --- a/src/components/productSelector/ProductSelector.vue +++ b/src/components/productSelector/ProductSelector.vue @@ -1,17 +1,19 @@