From b801eb36505fe14731fc4791116f7956fe415897 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 11 Jun 2021 20:14:52 +0000 Subject: [PATCH] --- .../src/components/work-order-item-units.vue | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/ayanova/src/components/work-order-item-units.vue b/ayanova/src/components/work-order-item-units.vue index 1cb0675b..f1dc22b1 100644 --- a/ayanova/src/components/work-order-item-units.vue +++ b/ayanova/src/components/work-order-item-units.vue @@ -310,13 +310,8 @@ export default { this.$emit("change"); this.selectedRow = [{ index: newIndex }]; this.activeItemIndex = newIndex; + //trigger rule breaking / validation this.$nextTick(() => { - // console.log( - // "CONTROL:", - // this.$refs[ - // `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId` - // ] - // ); this.value.items[this.activeWoItemIndex].units[ this.activeItemIndex ].unitId = null; @@ -324,28 +319,6 @@ export default { `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId` ); }); - - // - //trigger rule breaking / validation - // this.value.items[this.activeWoItemIndex].units[ - // this.activeItemIndex - // ].unitId = 0; - // this.fieldValueChanged( - // `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId` - // ); - // this.value.items[this.activeWoItemIndex].units[ - // this.activeItemIndex - // ].unitId = null; - // this.fieldValueChanged( - // `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId` - // ); - // this.fieldValueChanged( - // `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].unitId` - // ); - // this.fieldValueChanged( - // `Items[${this.activeWoItemIndex}].units[${this.activeItemIndex}].notes` - // ); - // }); }, unDeleteItem() { this.value.items[this.activeWoItemIndex].units[