LoadPlan
Shows how a vehicle is loaded.
kor/ui/LoadPlanSource
When to use
- Use it before dispatch to check space and weight.
Examples
A full trailer
<k:LoadPlan title="34 KRG 72" text="13.6 m trailer" slots="26" maxWeight="24000">
<k:LoadItem key="1" title="Deniz Tekstil" text="Bursa" slots="10" weight="7200" stop="3"/>
<k:LoadItem key="2" title="Anadolu Metal" text="Eskişehir" slots="6" weight="11800" stop="2"/>
<k:LoadItem key="3" title="Ege Gıda" text="Bilecik" slots="8" weight="6100" stop="1"/>
</k:LoadPlan>
API
Properties
| Name | Type | Default | Description |
|---|
title | string | | Vehicle or license plate |
text | string | | Description |
slots | int | 33 | Pallet positions |
lanes | int | 2 | Rows across the vehicle |
maxWeight | float | 24000 | Weight limit |
weightUnit | string | kg | Weight unit |
selectedKey | string | | Selected load |
Aggregations
| Name | Type | Description |
|---|
items | LoadItem[] | Loads from front to back |
Events
| Name | Type | Description |
|---|
press | key: string | A load was pressed |
LoadItem
A load in the vehicle.
Properties
| Name | Type | Default | Description |
|---|
key | string | | Key |
title | string | | Name |
text | string | | Description |
slots | int | 1 | Number of pallet positions |
weight | float | 0 | Weight |
stop | string | | Unloading stop |
state | string | none | Status. danger and wait are outlined |
Related
DockBoardDeliveryRoute