prune: remove the validation planninf. Just go and it'll be ok
This commit is contained in:
@@ -24,7 +24,6 @@ type HeijunkaState = {
|
|||||||
inventory: Inventory
|
inventory: Inventory
|
||||||
orders: Order[]
|
orders: Order[]
|
||||||
planning: ProductType[]
|
planning: ProductType[]
|
||||||
validatedPlanning: boolean
|
|
||||||
meta: {
|
meta: {
|
||||||
currentHour: number
|
currentHour: number
|
||||||
}
|
}
|
||||||
@@ -58,7 +57,6 @@ export const useHeijunkaStore = defineStore('heijunka', {
|
|||||||
inventory: { ...initialInventory },
|
inventory: { ...initialInventory },
|
||||||
orders: [],
|
orders: [],
|
||||||
planning: [],
|
planning: [],
|
||||||
validatedPlanning: false,
|
|
||||||
meta: {
|
meta: {
|
||||||
currentHour: 0
|
currentHour: 0
|
||||||
}
|
}
|
||||||
@@ -136,12 +134,7 @@ export const useHeijunkaStore = defineStore('heijunka', {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
validatePlanning(planning: ProductType[]) {
|
|
||||||
this.validatedPlanning = true
|
|
||||||
this.planning = planning
|
|
||||||
},
|
|
||||||
reset() {
|
reset() {
|
||||||
this.validatedPlanning = false
|
|
||||||
this.meta.currentHour = 0
|
this.meta.currentHour = 0
|
||||||
this.planning = []
|
this.planning = []
|
||||||
this.orders = []
|
this.orders = []
|
||||||
|
|||||||
Reference in New Issue
Block a user