修复(寄卖): 恢复待抢单手枪简单匹配看板
This commit is contained in:
@@ -9,6 +9,7 @@ import type {
|
||||
ConsignmentStatsSummary,
|
||||
ConsignmentSubmission,
|
||||
InventoryMatchableOrders,
|
||||
PendingSuernanPistolMatchResult,
|
||||
PendingPistolMatchResult,
|
||||
WorkOrderInventoryMatchCheck,
|
||||
WorkOrderInventoryMatchOptions,
|
||||
@@ -268,7 +269,23 @@ export function fetchInventoryMatchableOrders(
|
||||
)
|
||||
}
|
||||
|
||||
/** 全局匹配看板:待匹配订单 × 在库待匹配现货,按细粒度评分排序。 */
|
||||
/** 一键查询待匹配订单:简单只读的待抢单苏尔南手枪 × 在库手枪。 */
|
||||
export function fetchPendingSuernanPistolMatches(params?: {
|
||||
keyword?: string
|
||||
includeConflicts?: boolean
|
||||
limit?: number
|
||||
}) {
|
||||
return apiGet<PendingSuernanPistolMatchResult>(
|
||||
'/api/v1/admin/worker-platform/consignment/pending-suernan-pistol-matches',
|
||||
{
|
||||
keyword: params?.keyword?.trim() || undefined,
|
||||
includeConflicts: params?.includeConflicts ? 'true' : undefined,
|
||||
limit: params?.limit,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
/** 库存侧手动匹配:待匹配订单 × 在库待匹配现货,按完整匹配引擎评分。 */
|
||||
export function fetchPendingPistolMatches(params?: {
|
||||
/** 只统计该寄卖分类;不传 = 全部 */
|
||||
categoryId?: number
|
||||
|
||||
Reference in New Issue
Block a user