fix(warehouse): use location time zones for appointment scheduling

This commit is contained in:
2026-10-10 11:02:49 +08:00
parent c4c1bddeec
commit 47dc9e8bf6
16 changed files with 1002 additions and 969 deletions
@@ -54,7 +54,7 @@ function partnerWarehousePayload(context) {
const suffix = String(context.marker || '').replace(/[^A-Za-z0-9]/g, '').slice(-20).toUpperCase()
return {
tenantId: 0, warehouseCode: `P4B-${suffix}`.slice(0, 50), warehouseName: `${context.marker} 采购合作仓`,
warehouseType: 'OVERSEAS', countryCode: 'US', timezone: 'UTC-8', contactName: 'Phase4 QA',
warehouseType: 'OVERSEAS', countryCode: 'US', timezone: 'America/Los_Angeles', contactName: 'Phase4 QA',
contactPhone: '12135550177', contactEmail: null, status: 'ACTIVE', remark: `${context.marker}-procurement-fixture`,
address: { addressType: 'OPERATING', countryCode: 'US', stateProvince: 'California', city: 'Los Angeles',
district: 'Commerce', postalCode: '90040', addressLine1: '601 Procurement Partner Avenue', addressLine2: null,
@@ -52,7 +52,7 @@ function warehousePayload(marker, edited = false) {
warehouseName: edited ? `${marker} 合作仓-已编辑` : `${marker} 合作仓`,
warehouseType: 'OVERSEAS_PARTNER',
countryCode: 'US',
timezone: 'UTC-8',
timezone: 'America/Los_Angeles',
contactName: 'Phase4 QA',
contactPhone: '12135550199',
contactEmail: null,