att
This commit is contained in:
@@ -2,6 +2,12 @@ function validateForm(form){
|
||||
var msg = "";
|
||||
var activity = getValue("WKNumState");
|
||||
|
||||
if (activity == 0 || activity == 1) {
|
||||
if (form.getValue("gestor_cc") == "") {
|
||||
msg += "Não foi possível identificar o gestor da loja selecionada. Selecione a filial novamente.\n";
|
||||
}
|
||||
}
|
||||
|
||||
// Só valida "Justificativa do Gestor" quando estiver na atividade do gestor (ex.: 5)
|
||||
if (activity == 121) {
|
||||
if (form.getValue("justi_decisao_gestor") == "") {
|
||||
@@ -12,4 +18,4 @@ function validateForm(form){
|
||||
if (msg != "") {
|
||||
throw msg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user