att transf
This commit is contained in:
+5
-1
@@ -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.'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user