medfeed edit processing
This commit is contained in:
parent
92fc782ca5
commit
b19a24842d
1 changed files with 10 additions and 1 deletions
|
@ -160,7 +160,16 @@ export default {
|
|||
this.$emit('closetab','list')
|
||||
},
|
||||
saveMedFeed(medfeed) {
|
||||
console.log(medfeed)
|
||||
let url = this.$api_url + "/customers/medicated-feeds/" + this.mf.id + "/save"
|
||||
axios.put(url,{
|
||||
medfeed: medfeed
|
||||
})
|
||||
.then(resp => {
|
||||
console.log(resp)
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err)
|
||||
})
|
||||
},
|
||||
searchCustomers() {
|
||||
this.searching[1] = true
|
||||
|
|
Loading…
Reference in a new issue