This commit is contained in:
2026-08-14 13:03:11 +08:00
parent f1721b2780
commit 724848feb6
7 changed files with 39 additions and 0 deletions
@@ -28,6 +28,9 @@ describe('PortSchedulesView', () => {
expect(source).toContain("from '@/modules/ocean-bookings'")
expect(source).toContain("listPlatformTenants({ page: 1, size: 200, status: 'ACTIVE' })")
expect(source).toContain('listOceanBookings({ page: 1, size: 200, customerId })')
expect(source).toContain("customerId: String(query.customerId || '') || undefined")
expect(source).toContain('customer.legalName?.trim() || customer.tenantName')
expect(source).not.toContain('customer.tenantCode')
expect(source).toContain("form.oceanBookingId = ''")
expect(source).not.toContain('label="客户 ID"')
expect(source).not.toContain('label="订舱 ID"')