fix: limit dispatch vehicle choices
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export const dispatchVehicleSpecs = [
|
||||
{ value: 'LARGE_30', label: '大车(30托)', capacity: 30, maxWeightLb: 40000 },
|
||||
{ value: 'SMALL_15', label: '小车(15托)', capacity: 15, maxWeightLb: 10000 },
|
||||
] as const
|
||||
|
||||
export const dispatchVehicleSizeOptions = dispatchVehicleSpecs.map(({ capacity }) => ({
|
||||
label: `${capacity}托`,
|
||||
value: `${capacity}托`,
|
||||
}))
|
||||
Reference in New Issue
Block a user