base work for edit mf done
This commit is contained in:
parent
22f368bf22
commit
ed1a240777
1 changed files with 10 additions and 1 deletions
|
@ -9,10 +9,10 @@
|
|||
<v-container>
|
||||
<v-row>
|
||||
<v-col cols="6">
|
||||
{{ mf }}
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
{{ mf }}
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-btn v-if="!mf.isNew" color="red-darken-1"
|
||||
|
@ -43,6 +43,15 @@ export default {
|
|||
mf: this.set_mf,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
title() {
|
||||
if ( this.mf.isNew ) {
|
||||
return "New Medicated Feed"
|
||||
} else {
|
||||
return "Edit Medicated Feed"
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
close() {
|
||||
this.$emit('closetab','list')
|
||||
|
|
Loading…
Reference in a new issue