This commit is contained in:
2026-08-06 14:55:17 +08:00
parent a813426588
commit 4ac0adac62
18 changed files with 379 additions and 352 deletions
@@ -276,7 +276,7 @@ async function loadCustomerMasterData(customerId: string) {
try {
const [warehouseResult, partnerResult] = await Promise.all([
listPlatformWarehouses(1, 200),
listPlatformPartners(customerId, { page: 1, size: 200, type: 'CARRIER', status: 'ACTIVE' }),
listPlatformPartners({ page: 1, size: 200, type: 'CARRIER', status: 'ACTIVE' }),
])
if (sequence !== masterDataSequence) return false
warehouses.value = warehouseResult.records.map((item) => ({ ...item, id: String(item.id), tenantId: String(item.tenantId) }))
@@ -288,7 +288,7 @@ async function loadCustomerMasterData(customerId: string) {
warehouses.value = []
carriers.value = []
loadedCustomerId.value = null
ElMessage.error(getApiErrorDetails(error, '所属企业的仓库或船司资料加载失败').message)
ElMessage.error(getApiErrorDetails(error, '平台仓库或船司资料加载失败').message)
}
return false
} finally {