From 718d8cda77505aa3c32e8934ac4c8aad3f4f40b0 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 11 Jun 2021 21:27:57 +0000 Subject: [PATCH] --- ayanova/src/components/work-order-item-units.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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[