From 8195e81657f407a55f5c01549fed1406a4fd06c3 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Thu, 23 Mar 2023 19:43:01 +0000 Subject: [PATCH] upgrade to odbcn v6 now working vetter --- src/views/medfeeds/MedFeedsEdit.vue | 18 +++++++++++++++--- src/views/medfeeds/MedFeedsList.vue | 5 ++++- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/views/medfeeds/MedFeedsEdit.vue b/src/views/medfeeds/MedFeedsEdit.vue index 02f26d6..f09cd30 100644 --- a/src/views/medfeeds/MedFeedsEdit.vue +++ b/src/views/medfeeds/MedFeedsEdit.vue @@ -51,6 +51,11 @@ + + + {{ error }} + + { - console.log(resp) - this.$emit('medfeedupdated') + let stat = resp.data + if (stat.status == true ) { + this.$emit('medfeedupdated') + } else { + this.error = "Error Saving... " + } }) .catch(err => { console.log(err) diff --git a/src/views/medfeeds/MedFeedsList.vue b/src/views/medfeeds/MedFeedsList.vue index 7fa11e8..a47cace 100644 --- a/src/views/medfeeds/MedFeedsList.vue +++ b/src/views/medfeeds/MedFeedsList.vue @@ -30,7 +30,8 @@ Medicated Feed : {{ item.id }}
- {{ item.customer.acc_no }} - {{ item.customer.name }} + {{ item.customer.acc_no }} - {{ item.customer.name }}
+ {{ item.vet.practice }}
{{ item.medication.name }} {{ item.medication.inclusion_rate }}
@@ -177,6 +178,8 @@ export default { }, medfeedUpdated(){ this.getMedFeedsList() + this.edit = false + this.tab = "list" } } }