att transf

This commit is contained in:
2026-03-18 10:17:16 -03:00
parent e8445fcf2f
commit 60a17ce6d9
10 changed files with 2586 additions and 1100 deletions
@@ -52,6 +52,10 @@ function validateForm(form) {
message += getMessage("Data da coleta", 1, form);
hasErros = true;
}
if (form.getValue("fdAnexo_Coleta") == "") {
message += getMessage("Anexo da Coleta", 3, form);
hasErros = true;
}
var tipoMotoristaEntregaColeta = String(form.getValue("tipoMotoristaEntrega") || "");
if (tipoMotoristaEntregaColeta == "") {
message += getMessage("Quem vai fazer a entrega", 2, form);
@@ -90,6 +94,7 @@ function validateForm(form) {
message += getMessage("Validação do recebimento", 2, form);
hasErros = true;
}
if (
(validacaoItens == "divergencia" || validacaoItens == "naoEntregue" || validacaoItens == "incorreto") &&
form.getValue("justificativaDecisaoItens") == ""
@@ -130,4 +135,3 @@ function getMessage(texto, tipo, form) {
return 'A quantidade existente de campos "' + texto + '" deve ser maior do que 0.'
}
}