From ae8b4cb0ca4e6321b61cc5322f0bbe48a678af6e Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Mon, 26 Jun 2023 21:20:13 -0400 Subject: [PATCH] Update estimate entries with events --- components/new/details.vue | 25 ++++++++++++++++++++----- components/new/new.vue | 7 +++++++ 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/components/new/details.vue b/components/new/details.vue index e36dbcf..38a87b1 100644 --- a/components/new/details.vue +++ b/components/new/details.vue @@ -61,14 +61,29 @@

Loan Type

- - + - + - +
@@ -291,7 +306,7 @@ export default { 'update:loanType', 'update:loanTerm', 'update:loanProgram', - 'update:ltv' + 'update:ltv', ], data() { return { diff --git a/components/new/new.vue b/components/new/new.vue index 2836d3d..618f2ba 100644 --- a/components/new/new.vue +++ b/components/new/new.vue @@ -27,6 +27,13 @@ class="bi bi-plus" viewBox="0 0 16 16"> loans[sel].title = name" @del="del" + @update:borrowers="(b) => estimate.borrowers = b" + @update:creditScore="(c) => estimate.creditScore = c" + @update:mIncome="(m) => estimate.mIncome = m" + @update:transaction="(t) => estimate.transaction = t" + @update:property="(p) => estimate.property = p" + + @update:loanType="(lt) => loans[sel].type = lt" />