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