perf: replace client-side pagination with server-side pagination in stock selection dialog and fix duplicate variable in semi.vue

This commit is contained in:
DXC
2026-03-23 14:52:01 +08:00
parent 08c921fe66
commit 93dc375ba4
3 changed files with 180 additions and 45 deletions

View File

@ -10,6 +10,15 @@ export function getAllStock() {
})
}
// 分页库存列表(服务端分页,支持关键字搜索)
export function getStockList(params: { page?: number; pageSize?: number; keyword?: string }) {
return request({
url: '/v1/inbound/stock/list',
method: 'get',
params
})
}
// 打印出库选单
// 修改后: 去掉开头的 /api
export function printSelectionList(items: any[]) {