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[