This commit is contained in:
2026-10-08 18:13:43 +08:00
parent 5946bdfcf7
commit 9c70eab606
@@ -210,7 +210,9 @@ async function loadOptions() {
optionsLoading.value = true; optionsLoading.value = true;
try { try {
const [customerResult, warehouseResult] = await Promise.allSettled([ const [customerResult, warehouseResult] = await Promise.allSettled([
listPlatformTenants({ page: 1, size: 200, status: "ACTIVE" }), // 客户规模上限约 1,000,退货库存的客户下拉需要一次拿全量,
// 否则只取第一页会漏掉较早创建的启用客户。
listPlatformTenants({ page: 1, size: 1000, status: "ACTIVE" }),
listSharedReceivingOverseasWarehouseOptions(), listSharedReceivingOverseasWarehouseOptions(),
]); ]);
if (customerResult.status === "fulfilled") if (customerResult.status === "fulfilled")