From 494831ecd78846707398f5f86074152c47f405c3 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 8 Jul 2021 20:26:57 +0000 Subject: [PATCH] --- .../src/components/work-order-item-units.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ayanova/src/components/work-order-item-units.vue b/ayanova/src/components/work-order-item-units.vue index ea8edb9f..9c0bbbef 100644 --- a/ayanova/src/components/work-order-item-units.vue +++ b/ayanova/src/components/work-order-item-units.vue @@ -325,9 +325,7 @@ export default { availableBulkUnits: [], selectedBulkUnits: [], selectedBulkUnitTags: [], - bulkUnitTableHeaders: [], - warrantyInfo: {}, - warrantyDisplay: null + bulkUnitTableHeaders: [] }; }, props: { @@ -403,9 +401,17 @@ export default { "warrantyExpiryDate":"2019-04-12T09:37:52.930923Z", "warrantyTerms":"Shipping parts and service"} */ - this.value.items[this.activeWoItemIndex].units[ - this.activeItemIndex - ].warrantyViz = JSON.stringify(res.data); + this.$nextTick(() => { + this.value.items[this.activeWoItemIndex].units[ + this.activeItemIndex + ].warrantyViz = JSON.stringify(res.data); + }); + + // console.log( + // "warrantyviz:", + // this.value.items[this.activeWoItemIndex].units[this.activeItemIndex] + // .warrantyViz + // ); } }, showBulkUnitsDialog() {