Grande correção do filtro de veiculos na area de consolidação
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
import { Controller } from "@hotwired/stimulus"
|
||||
|
||||
export default class extends Controller {
|
||||
static targets = ["modal", "motorista", "nf", "obs", "erro", "tipoCheck", "valorExtra"]
|
||||
static targets = ["modal", "motorista", "nf", "obs", "erro", "tipoCheck", "valorExtra", "veiculo"]
|
||||
static values = { apontarManualUrl: String }
|
||||
|
||||
abrir() {
|
||||
@@ -52,7 +52,8 @@ export default class extends Controller {
|
||||
nf: this.nfTarget.value.trim(),
|
||||
obs: this.obsTarget.value.trim(),
|
||||
tipos: tipos,
|
||||
valor: valor
|
||||
valor: valor,
|
||||
vehicle: this.hasVeiculoTarget ? this.veiculoTarget.value : ""
|
||||
})
|
||||
})
|
||||
const data = await resp.json()
|
||||
|
||||
Reference in New Issue
Block a user