seleccionar-subpedido-existente #1

Merged
nathalie merged 4 commits from seleccionar-subpedido-existente into master 2022-02-22 19:20:19 -03:00
1 changed files with 6 additions and 1 deletions
Showing only changes of commit 546b901a05 - Show all commits

View File

@ -11,7 +11,12 @@ Vue.component('subpedido-select', {
}, },
methods: { methods: {
onType() { onType() {
axios.get("/api/subpedidos?nombre=" + this.subpedido).then(response => { axios.get("/api/subpedidos", {
params: {
nombre: this.subpedido,
grupo_de_compra: this.gdcid
}
}).then(response => {
this.subpedidosExistentes = response.data this.subpedidosExistentes = response.data
}); });
}, },