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;