Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 10, 2020 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/29122f99cbb4296a7b8bbacb3c1ce24c to your computer and use it in GitHub Desktop.
Save parzibyte/29122f99cbb4296a7b8bbacb3c1ce24c to your computer and use it in GitHub Desktop.
return BultosDeCortesService.obtenerBultosDeCorte(this.corteSeleccionado.id)
.then((bultos) => {
this.operaciones.forEach((operacion, indiceOperacion) => {
// Agregamos "bultos" a cada operación.
this.$set(this.operaciones[indiceOperacion], 'bultos', bultos);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment