From 37e84b91819bad877086ef460ecd195dafd68e08 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 15 Jul 2020 13:48:20 +0000 Subject: [PATCH] --- .../src/views/home-notify-subscription.vue | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/ayanova/src/views/home-notify-subscription.vue b/ayanova/src/views/home-notify-subscription.vue index d75cd610..6b3aaa73 100644 --- a/ayanova/src/views/home-notify-subscription.vue +++ b/ayanova/src/views/home-notify-subscription.vue @@ -22,8 +22,11 @@ @input="fieldValueChanged('eventType')" > - - todo: idValue here for wostatus, quotestatus, + + todo: idValue here for wostatus + + + todo: idValue here for quotestatus @@ -291,11 +294,20 @@ export default { showDeliveryAddress() { return this.obj.deliveryMethod == 2; }, - showIdValue() { - return true; + showWoStatus() { + switch (this.obj.eventType) { + case 4: + case 24: + return true; + default: + return false; + } + }, + showQuoteStatus() { + return this.obj.eventType == 9; }, showDecValue() { - return true; + return this.obj.eventType == 23; }, showAyaType() { return true;