add mean time
This commit is contained in:
@@ -20,6 +20,21 @@ const orders = ref(
|
||||
)
|
||||
)
|
||||
|
||||
const levelingPlanning: ProductType[] = [
|
||||
'shirt',
|
||||
'shirt',
|
||||
'jeans',
|
||||
'shoes',
|
||||
'hat',
|
||||
'shirt',
|
||||
'shirt',
|
||||
'jeans',
|
||||
'shoes',
|
||||
'hat',
|
||||
'shirt',
|
||||
'jeans'
|
||||
]
|
||||
|
||||
const orderIndex = (dayIndex: number, hourIndex: number) => {
|
||||
return dayIndex * hoursCount + hourIndex
|
||||
}
|
||||
@@ -86,6 +101,10 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, {
|
||||
<button class="button-outline" @click="heijunkaStore.reset()">
|
||||
reset
|
||||
</button>
|
||||
|
||||
<button class="button-outline" @click="orders = levelingPlanning">
|
||||
levelling
|
||||
</button>
|
||||
</section>
|
||||
<section class="factory">
|
||||
<h2>Factory</h2>
|
||||
@@ -286,6 +305,10 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, {
|
||||
</ol>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="dashboard">
|
||||
Mean lead time: {{ heijunkaStore.meanLeadTime }}
|
||||
</section>
|
||||
</div>
|
||||
</article>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user