优化
This commit is contained in:
@@ -80,7 +80,7 @@ export function oceanBookingFieldGaps(record) {
|
||||
return gaps(record, {
|
||||
id: isPositiveId,
|
||||
bookingNo: isNonBlank,
|
||||
status: (value) => ['CONFIRMED', 'CHANGE_PENDING', 'RELEASED', 'CANCELLED'].includes(value),
|
||||
status: (value) => ['DRAFT', 'RELEASED'].includes(value),
|
||||
vesselName: isNonBlank,
|
||||
voyageNo: isNonBlank,
|
||||
estimatedSailingAt: isIsoDateTime,
|
||||
|
||||
Reference in New Issue
Block a user