diff --git a/ayanova/src/components/work-order-item-units.vue b/ayanova/src/components/work-order-item-units.vue index 8da06b68..7cf2f1b5 100644 --- a/ayanova/src/components/work-order-item-units.vue +++ b/ayanova/src/components/work-order-item-units.vue @@ -299,14 +299,14 @@ export default { this.selectedRow = [{ index: newIndex }]; this.activeItemIndex = newIndex; //trigger rule breaking / validation - // this.$nextTick(() => { - this.value.items[this.activeWoItemIndex].units[ - this.activeItemIndex - ].unitId = null; - this.fieldValueChanged( - `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId` - ); - // }); + this.$nextTick(() => { + this.value.items[this.activeWoItemIndex].units[ + this.activeItemIndex + ].unitId = null; + this.fieldValueChanged( + `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId` + ); + }); }, unDeleteItem() { this.value.items[this.activeWoItemIndex].units[