998 lines
41 KiB
HTML
998 lines
41 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="pt-BR">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<title>Solicitação de compra</title>
|
||
|
||
<!-- CSS -->
|
||
<link rel="stylesheet" type="text/css" href="/style-guide/css/fluig-style-guide.min.css">
|
||
<link rel="stylesheet" type="text/css" href="comprasV2.css">
|
||
<link rel="stylesheet" type="text/css" href="style.css">
|
||
|
||
<!-- JS -->
|
||
<script src="/resources/js/jquery/jquery.js"></script>
|
||
<script src="/resources/js/jquery/jquery-ui.min.js"></script>
|
||
<script src="/resources/js/mustache/mustache-min.js"></script>
|
||
<script src="/style-guide/js/fluig-style-guide.min.js"></script>
|
||
<script type="text/javascript" src="/webdesk/vcXMLRPC.js"></script>
|
||
<script type="text/javascript" src="compras_digital.js"></script>
|
||
<script type="text/javascript" src="anexos.js"></script>
|
||
|
||
<style>
|
||
/* Ajuste de altura e alinhamento dos botões com inputs */
|
||
.input-group .form-control,
|
||
.input-group .btn {
|
||
height: 34px;
|
||
line-height: 1.42857143;
|
||
box-sizing: border-box;
|
||
}
|
||
.input-group .btn {
|
||
padding-top: 6px;
|
||
padding-bottom: 6px;
|
||
}
|
||
|
||
h6 { color: #AFB0B3 !important; font-weight: normal !important; }
|
||
h2 {
|
||
color: #04506b !important;
|
||
display: flex !important;
|
||
flex-direction: row !important;
|
||
align-items: center;
|
||
gap: .5rem;
|
||
}
|
||
h2:after {
|
||
content: "" !important;
|
||
flex: 1 1 auto !important;
|
||
border-bottom: 2px solid #04506b !important;
|
||
margin-left: .5rem !important;
|
||
}
|
||
.flaticon { color: #04506b !important; }
|
||
|
||
#rcorners {
|
||
height: 110px;
|
||
line-height: 110px;
|
||
color: #fff;
|
||
border-radius: 0 0 50px 50px;
|
||
background: linear-gradient(90deg, rgba(4,80,107,1) 0%, rgba(4,80,107,1) 50%, rgba(4,80,107,1) 100%);
|
||
text-align: center !important;
|
||
margin-bottom: 24px;
|
||
}
|
||
.change-weight { font-weight: 400 !important; }
|
||
|
||
.sc-status-panel {
|
||
margin-top: 15px;
|
||
padding: 18px;
|
||
border: 1px solid #d8e1e8;
|
||
border-radius: 12px;
|
||
background: #f7fafc;
|
||
box-shadow: 0 2px 10px rgba(12, 50, 74, 0.08);
|
||
}
|
||
|
||
.sc-primary-grid,
|
||
.sc-secondary-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(220px, 1fr));
|
||
gap: 12px;
|
||
}
|
||
|
||
.sc-primary-grid {
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.sc-secondary-grid {
|
||
gap: 8px 12px;
|
||
}
|
||
|
||
.sc-info {
|
||
background: #fff;
|
||
border-radius: 10px;
|
||
padding: 12px 14px;
|
||
min-height: 72px;
|
||
}
|
||
|
||
.sc-info--primary {
|
||
border-left: 4px solid #04506b;
|
||
box-shadow: inset 0 0 0 1px #d9e4ec;
|
||
}
|
||
|
||
.sc-info--secondary {
|
||
box-shadow: inset 0 0 0 1px #e3ebf2;
|
||
opacity: .96;
|
||
}
|
||
|
||
.sc-info--clickable {
|
||
cursor: pointer;
|
||
transition: box-shadow .2s ease, transform .2s ease;
|
||
}
|
||
|
||
.sc-info--clickable:hover {
|
||
transform: translateY(-1px);
|
||
box-shadow: inset 0 0 0 1px #c8d9e7, 0 4px 12px rgba(8, 47, 72, 0.1);
|
||
}
|
||
|
||
.sc-label {
|
||
font-size: 11px;
|
||
color: #4d6073;
|
||
letter-spacing: .04em;
|
||
text-transform: uppercase;
|
||
margin-bottom: 4px;
|
||
}
|
||
|
||
.sc-value {
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
color: #24313f;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.sc-info--primary .sc-value {
|
||
font-size: 30px;
|
||
line-height: 1.1;
|
||
color: #102a43;
|
||
font-weight: 700;
|
||
letter-spacing: .01em;
|
||
}
|
||
|
||
.sc-hint {
|
||
display: block;
|
||
margin-top: 6px;
|
||
font-size: 11px;
|
||
color: #5f7386;
|
||
letter-spacing: .02em;
|
||
}
|
||
|
||
.sc-value.badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
min-height: 30px;
|
||
padding: 6px 12px;
|
||
border-radius: 999px;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
line-height: 1;
|
||
}
|
||
|
||
.sc-timeline-wrap {
|
||
margin-top: 16px;
|
||
padding-top: 0;
|
||
border-top: 1px solid transparent;
|
||
transition: background-color .25s ease, max-height .25s ease, opacity .25s ease, padding-top .25s ease;
|
||
max-height: 0;
|
||
opacity: 0;
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.sc-timeline-wrap.is-open {
|
||
padding-top: 14px;
|
||
border-top-color: #d7e2eb;
|
||
max-height: 640px;
|
||
opacity: 1;
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.sc-timeline-wrap.is-focus {
|
||
background: #f2f9ff;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.sc-timeline-title {
|
||
margin: 0 0 10px;
|
||
color: #12344d;
|
||
font-size: 14px;
|
||
font-weight: 700;
|
||
letter-spacing: .01em;
|
||
}
|
||
|
||
.sc-timeline {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0 0 0 18px;
|
||
position: relative;
|
||
}
|
||
|
||
.sc-timeline:before {
|
||
content: "";
|
||
position: absolute;
|
||
left: 5px;
|
||
top: 2px;
|
||
bottom: 2px;
|
||
width: 2px;
|
||
background: #c8d8e6;
|
||
}
|
||
|
||
.sc-timeline-item {
|
||
position: relative;
|
||
padding: 0 0 14px 16px;
|
||
}
|
||
|
||
.sc-timeline-item:last-child {
|
||
padding-bottom: 0;
|
||
}
|
||
|
||
.sc-timeline-item:before {
|
||
content: "";
|
||
position: absolute;
|
||
left: -18px;
|
||
top: 4px;
|
||
width: 10px;
|
||
height: 10px;
|
||
border-radius: 50%;
|
||
background: #92a9bf;
|
||
box-shadow: 0 0 0 2px #92a9bf;
|
||
border: 2px solid #fff;
|
||
}
|
||
|
||
.sc-timeline-item.done:before {
|
||
background: #1ab04a;
|
||
box-shadow: 0 0 0 2px #1ab04a;
|
||
}
|
||
|
||
.sc-timeline-item.pending:before {
|
||
background: #e6a229;
|
||
box-shadow: 0 0 0 2px #e6a229;
|
||
}
|
||
|
||
.sc-timeline-title-row {
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.sc-timeline-event {
|
||
color: #18354f;
|
||
font-size: 14px;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.sc-timeline-time {
|
||
color: #6b7f92;
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.sc-timeline-detail {
|
||
margin-top: 3px;
|
||
color: #3e556b;
|
||
font-size: 13px;
|
||
}
|
||
|
||
#tbCotacao {
|
||
table-layout: fixed;
|
||
width: 100%;
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
#tbCotacao thead th {
|
||
background: #eef3f8;
|
||
color: #3b4d5f;
|
||
font-weight: 700;
|
||
}
|
||
|
||
#tbCotacao tbody tr:nth-child(odd) {
|
||
background: #f9fbfd;
|
||
}
|
||
|
||
#tbCotacao tbody td,
|
||
#tbCotacao thead th,
|
||
#tbCotacao tfoot td {
|
||
vertical-align: middle;
|
||
}
|
||
|
||
#tbCotacao th:nth-child(3),
|
||
#tbCotacao th:nth-child(4),
|
||
#tbCotacao th:nth-child(5),
|
||
#tbCotacao td:nth-child(3),
|
||
#tbCotacao td:nth-child(4),
|
||
#tbCotacao td:nth-child(5) {
|
||
text-align: right;
|
||
}
|
||
|
||
#tbCotacao td:nth-child(3) input,
|
||
#tbCotacao td:nth-child(4) input,
|
||
#tbCotacao td:nth-child(5) input {
|
||
text-align: right;
|
||
}
|
||
|
||
#tbCotacao tfoot .sc-total-label {
|
||
text-align: right;
|
||
font-weight: 700;
|
||
background: #edf3f8;
|
||
color: #324a60;
|
||
}
|
||
|
||
#tbCotacao tfoot .sc-total-value {
|
||
background: #edf3f8;
|
||
color: #12344d;
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
text-align: right;
|
||
}
|
||
|
||
@media (max-width: 992px) {
|
||
.sc-primary-grid,
|
||
.sc-secondary-grid {
|
||
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
||
}
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.sc-primary-grid,
|
||
.sc-secondary-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.sc-info--primary .sc-value {
|
||
font-size: 24px;
|
||
}
|
||
}
|
||
</style>
|
||
</head>
|
||
|
||
<body>
|
||
<div class="fluig-style-guide" style="background-color:white;">
|
||
<h1 id="rcorners" style="margin:0;">Solicitação de compra</h1>
|
||
<form name="form" role="form">
|
||
<!-- Campos ocultos -->
|
||
<input type="hidden" id="WKNumProces" name="WKNumProces">
|
||
<input type="hidden" id="activity" name="activity">
|
||
<input type="hidden" id="formMode" name="formMode">
|
||
<input type="hidden" id="empresa" name="empresa">
|
||
<input type="hidden" id="requesterMail" name="requesterMail">
|
||
<input type="hidden" id="requesterId" name="requesterId">
|
||
<input type="hidden" id="currentUserName" name="currentUserName">
|
||
<input type="hidden" id="currentUsermail" name="currentUsermail">
|
||
<input type="hidden" id="currentUserId" name="currentUserId">
|
||
<input type="hidden" id="moreInfo" name="moreInfo">
|
||
<input type="hidden" id="gestor_cc" name="gestor_cc">
|
||
<input type="hidden" id="filialest" name="filialest">
|
||
<input type="hidden" id="filialdest" name="filialdest">
|
||
<input type="hidden" id="filialprotheus" name="filialprotheus">
|
||
<input type="hidden" id="codigocentroCusto" name="codigocentroCusto">
|
||
<input type="hidden" name="numeroSCProtheus" id="numeroSCProtheus">
|
||
<input type="hidden" name="statusSCProtheus" id="statusSCProtheus">
|
||
<input type="hidden" name="solicitanteSCProtheus" id="solicitanteSCProtheus">
|
||
<input type="hidden" name="emissaoSCProtheus" id="emissaoSCProtheus">
|
||
<input type="hidden" name="qtdItensSCProtheus" id="qtdItensSCProtheus">
|
||
<input type="hidden" name="dataCadastroSCProtheus" id="dataCadastroSCProtheus">
|
||
<input type="hidden" name="horaCadastroSCProtheus" id="horaCadastroSCProtheus">
|
||
<input type="hidden" name="cotacaoSCProtheus" id="cotacaoSCProtheus">
|
||
<input type="hidden" name="pedidoSCProtheus" id="pedidoSCProtheus">
|
||
<input type="hidden" name="statusAtendimento" id="statusAtendimento">
|
||
|
||
|
||
|
||
<div class="container activity-all">
|
||
<!-- ACTIVITY 0 / 1 - Dados da solicitação -->
|
||
<div class="activity activity-0 activity-1">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<h2><i class="flaticon flaticon-tests-central icon-md" aria-hidden="true"></i>Dados da solicitação</h2>
|
||
<h6>Dados referentes aos responsáveis pela abertura e pela solicitação do atual processo.</h6>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Linha 1 -->
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-2 col-xs-12">
|
||
<label>Tipo de Solicitação</label>
|
||
<select name="tipoSolicitacao" id="tipoSolicitacao" class="form-control" required>
|
||
<option value="">Selecione</option>
|
||
<option>Material</option>
|
||
<option>Serviço</option>
|
||
</select>
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>Usuário solicitante</label>
|
||
<input type="text" name="usuarioSolicitante" id="usuarioSolicitante" class="form-control"
|
||
placeholder="Inserir nome completo do solicitante. Ex: João da Silva"
|
||
data-protection="Usuário solicitante" data-protection-anonymizable data-protection-sensitive
|
||
data-protection-name data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>E-mail do solicitante</label>
|
||
<input type="email" name="emailSolicitante" id="emailSolicitante" class="form-control"
|
||
placeholder="Inserir e-mail do solicitante. Ex: joaodasilva@mail.com"
|
||
data-protection="E-mail do solicitante" data-protection-anonymizable data-protection-sensitive
|
||
data-protection-mail data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||
</div>
|
||
<div class="form-group col-md-4 col-xs-12 divEstabelecimentoFilial alertaCampo">
|
||
<label for="zoom">Estabelecimento/Filial <span class="required text-danger"><strong>*</strong></span></label>
|
||
<input type="zoom" class="form-control" name="estabelecimento" id="estabelecimento" data-zoom="{
|
||
'displayKey':'LOJA',
|
||
'placeholder': 'Buscar nome do estabelecimento ou filial',
|
||
'datasetId':'dsFiliais',
|
||
'fields':[
|
||
{'field':'LOJA','label':'Filial','standard':'true','search':'true'},
|
||
{'field':'REGIONAL','label':'REGIONAL','standard':'true'},
|
||
{'field':'UF','label':'UF','standard':'true'},
|
||
{'field':'RESPONSAVEL_LOJA','label':'RESPONSAVEL_LOJA','visible':'false'},
|
||
{'field':'PDV','label':'PDV','visible':'false'},
|
||
{'field':'PROTHEUS','label':'PROTHEUS','visible':'false'},
|
||
{'field':'COLLEAGUE_ID','label':'COLLEAGUE_ID','visible':'false'},
|
||
{'field':'LOGIN_LOJA','label':'LOGIN_LOJA','visible':'false'}
|
||
]
|
||
}">
|
||
<p class="help-block" id="estabelecimentoFilial" style="display:none;position:absolute;font-size:12px;">
|
||
Preenchimento obrigatório
|
||
</p>
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12 divCentroCusto alertaCampo">
|
||
<label>Gestor da loja <span class="required text-danger"><strong>*</strong></span></label>
|
||
<input type="text" class="form-control" name="centro_custo" id="centro_custo"
|
||
placeholder="Será preenchido automaticamente ao selecionar a filial" readonly>
|
||
<p class="help-block" id="centroCusto" style="display:none;position:absolute;font-size:12px;">
|
||
Preenchimento obrigatório
|
||
</p>
|
||
</div>
|
||
<div class="form-group col-md-2 col-xs-12">
|
||
<label>Urgência</label>
|
||
<select name="urgencia" id="urgencia" class="form-control">
|
||
<option value="">Selecione</option>
|
||
<option>Normal</option>
|
||
<option>Urgente</option>
|
||
<option>Emergencial</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Linha 3 -->
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-4 col-xs-12">
|
||
<label for="descProduto">Produto/serviço</label>
|
||
<div class="input-group">
|
||
<input type="hidden" name="produtoCod" id="produtoCod">
|
||
<input type="text" name="descProduto" id="descProduto" class="form-control" placeholder="Buscar..." readonly>
|
||
<div class="input-group-btn">
|
||
<button class="btn btn-info" type="button" id="btnBuscaProd">
|
||
<span class="fluigicon fluigicon-search"></span>
|
||
</button>
|
||
<button class="btn btn-danger" type="button" id="btnLimpaProd">
|
||
<span class="fluigicon fluigicon-trash"></span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="form-group col-md-2 col-xs-12">
|
||
<label>Quantidade </label>
|
||
<div class="input-group">
|
||
<span class="input-group-btn"><button type="button" class="btn btn-danger" id="qtdMenos">−</button></span>
|
||
<input type="number" min="0" step="1" name="quantidade" id="quantidade" class="form-control text-center" value="0" required>
|
||
<span class="input-group-btn"><button type="button" class="btn btn-success" id="qtdMais">+</button></span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Botão adicionar item (oculto) -->
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-8 col-xs-12 text-center">
|
||
<button type="button" id="btnAddItem" class="btn btn-primary" style="display:none;">
|
||
<span class="fluigicon fluigicon-add"></span> Adicionar Item
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Painel Itens -->
|
||
<div class="panel panel-default">
|
||
<div class="panel-heading"><strong>Itens</strong></div>
|
||
<div class="panel-body">
|
||
<table id="tbItens" tablename="tbItens" class="table table-bordered" noaddbutton="true" nodeletebutton="true">
|
||
<thead>
|
||
<tr>
|
||
<th>#</th>
|
||
<th>Código</th>
|
||
<th>Descrição</th>
|
||
<th>Qtd</th>
|
||
<th>Data Limite</th>
|
||
<th>*</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<!-- Linha modelo -->
|
||
<tr class="tableRow" detail="true">
|
||
<td><span class="tableIndex"></span></td>
|
||
<td><input type="text" name="Codproduto" class="form-control" readonly></td>
|
||
<td><input type="text" name="produtoDesc" class="form-control" readonly></td>
|
||
<td><input type="number" name="qtd" class="form-control text-right" min="0" step="1"></td>
|
||
<td><input type="date" name="dataNec" class="form-control" placeholder="dd/mm/aa"></td>
|
||
<td class="text-center">
|
||
<div class="btn-group">
|
||
<button type="button" class="btn btn-link" onclick="fnWdkRemoveChild(this)">
|
||
<span class="fluigicon fluigicon-trash"></span>
|
||
</button>
|
||
<button type="button" class="btn btn-link" onclick="handleProductLink(this)" data-link="">
|
||
<span class="fluigicon fluigicon-link"></span>
|
||
</button>
|
||
</div>
|
||
<!-- campo hidden que o Fluig vai gravar -->
|
||
<input type="hidden" name="produtoLink" class="produto-link">
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<!-- Linha 5 - Anexo + Observações -->
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>Adicionar Anexo?</label>
|
||
<div class="componentAnexo">
|
||
<div class="input-group input-group-sm">
|
||
<input type="hidden" class="descAnexo" name="fdComprovante" value="Anexo" />
|
||
<input type="text" id="fnComprovante" name="fnComprovante" class="form-control inputAnexo input-sm" placeholder="Selecione um arquivo" readonly />
|
||
<span class="input-group-btn">
|
||
<button type="button" class="btnUpFile btn btn-success btn-sm" data-acao="upload" onclick="anexo(event)" title="Selecionar">
|
||
<i class="fluigicon fluigicon-file-upload icon-sm"></i>
|
||
</button>
|
||
<button style="display:none;" type="button" class="btnViewerFile btn btn-info btn-sm" data-acao="viewer" onclick="anexo(event)" title="Visualizar" disabled>
|
||
<i class="fluigicon fluigicon-eye-open icon-sm"></i>
|
||
</button>
|
||
<button style="display:none;" type="button" class="btnDownloadFile btn btn-info btn-sm" data-acao="download" onclick="anexo(event)" title="Download" disabled>
|
||
<i class="fluigicon fluigicon-download icon-sm"></i>
|
||
</button>
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="form-group col-md-8 col-xs-12">
|
||
<label>Motivo da compra<span class="required text-danger"><strong>*</strong></span></label>
|
||
<textarea class="form-control" rows="3" id="observacoes" name="observacoes"
|
||
placeholder="Descreva aqui alguma informação adicional que julgar importante."></textarea>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div><!-- /activity-0/1 -->
|
||
|
||
<!-- ACTIVITY 4 - Análise da necessidade -->
|
||
<div class="activity activity-121">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<h2><i class="flaticon flaticon-check-circle" aria-hidden="true"></i>Análise da Necessidade</h2>
|
||
<h6>Informações complementares sobre a análise da solicitação pelo gestor responsável</h6>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-6 col-xs-12">
|
||
<label>Responsável por aprovar a solicitação</label>
|
||
<input type="text" name="user_validacao_gestor" id="user_validacao_gestor" class="form-control" readonly
|
||
data-protection="Responsável por lançamento de documentos" data-protection-anonymizable
|
||
data-protection-sensitive data-protection-name
|
||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>Data</label>
|
||
<input type="text" name="data_validacao_gestor" id="data_validacao_gestor" class="form-control" readonly />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_gestor">Justificativa</label>
|
||
<textarea class="form-control" name="justi_decisao_gestor" id="justi_decisao_gestor"></textarea>
|
||
<p class="help-block" id="justiDecisaoGestor" style="display:none;">Preenchimento obrigatório</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div><!-- /activity-4 -->
|
||
|
||
<!-- DADOS DO DOCUMENTO -->
|
||
<div class="activity activity-114">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<h2><i class="flaticon flaticon-totvs-forms icon-md" aria-hidden="true"></i>Dados da Solicitação</h2>
|
||
<h6>Dados referentes a solicitação.</h6>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sc-status-panel">
|
||
<div class="sc-primary-grid">
|
||
<div class="sc-info sc-info--primary sc-info--clickable" id="cardNumeroSC" title="Clique para ver a linha do tempo da SC">
|
||
<div class="sc-label">Número SC</div>
|
||
<div class="sc-value" id="numeroSCProtheus_label">-</div>
|
||
<span class="sc-hint" id="cardNumeroSCHint">Clique para ver a linha do tempo</span>
|
||
</div>
|
||
<div class="sc-info sc-info--primary">
|
||
<div class="sc-label">Status Cadastro</div>
|
||
<span class="sc-value badge bg-secondary" id="statusSCProtheus_label">-</span>
|
||
</div>
|
||
<div class="sc-info sc-info--primary">
|
||
<div class="sc-label">Andamento</div>
|
||
<span class="sc-value badge bg-secondary" id="statusSC_label">-</span>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sc-secondary-grid">
|
||
<div class="sc-info sc-info--secondary">
|
||
<div class="sc-label">Solicitante</div>
|
||
<div class="sc-value" id="solicitanteSCProtheus_label">-</div>
|
||
</div>
|
||
<div class="sc-info sc-info--secondary">
|
||
<div class="sc-label">Emissão</div>
|
||
<div class="sc-value" id="emissaoSCProtheus_label">-</div>
|
||
</div>
|
||
<div class="sc-info sc-info--secondary">
|
||
<div class="sc-label">Qtd. Itens</div>
|
||
<div class="sc-value" id="qtdItensSCProtheus_label">-</div>
|
||
</div>
|
||
<div class="sc-info sc-info--secondary">
|
||
<div class="sc-label">Data do Cadastro</div>
|
||
<div class="sc-value"><span id="dataCadastroSCProtheus_label">-</span> às <span id="horaCadastroSCProtheus_label">-</span></div>
|
||
</div>
|
||
<div class="sc-info sc-info--secondary">
|
||
<div class="sc-label">Cotação</div>
|
||
<div class="sc-value" id="cotacaoSC_label">-</div>
|
||
</div>
|
||
<div class="sc-info sc-info--secondary">
|
||
<div class="sc-label">Pedido</div>
|
||
<div class="sc-value" id="pedidoSC_label">-</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sc-timeline-wrap" id="scTimelineSection">
|
||
<h4 class="sc-timeline-title">Linha do tempo da SC</h4>
|
||
<ul class="sc-timeline" id="scTimeline"></ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- CONSULTA COTAÇÃO -->
|
||
<div class="activity activity-105">
|
||
<div class="row">
|
||
<div class="panel panel-default">
|
||
<div class="panel-heading"><strong>Consulta Cotação</strong></div>
|
||
|
||
<!-- Campo hidden para guardar o total -->
|
||
<input type="hidden" name="valorTotalCotacao" id="valorTotalCotacao" value="0"/>
|
||
|
||
<!-- Tabela Pai-Filho -->
|
||
<table tablename="tbCotacao" id="tbCotacao" class="table table-bordered" noaddbutton="true" nodeletebutton="true">
|
||
<thead>
|
||
<tr>
|
||
<th>Item</th>
|
||
<th>Produto</th>
|
||
<th>Qtd</th>
|
||
<th>Preço</th>
|
||
<th>Total</th>
|
||
<th>Selecionar</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<!-- O Fluig precisa de uma linha “modelo” -->
|
||
<tr>
|
||
<td><input type="text" name="item" id="item" readonly></td>
|
||
<td><input type="text" name="produto" id="produto" readonly></td>
|
||
<td><input type="text" name="qtdc" id="qtdc" readonly></td>
|
||
<td><input type="text" name="preco" id="preco" readonly></td>
|
||
<td><input type="text" name="total" id="total" readonly></td>
|
||
<td><input type="checkbox" name="selecionado" id="selecionado" value="S"></td>
|
||
</tr>
|
||
</tbody>
|
||
<tfoot>
|
||
<tr>
|
||
<td colspan="4" class="sc-total-label">Total selecionado</td>
|
||
<td class="sc-total-value" id="valorTotalCotacaoLabel">R$ 0,00</td>
|
||
<td></td>
|
||
</tr>
|
||
</tfoot>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ACTIVITY 137- Aprovar cotação Compras -->
|
||
<div class="activity activity-137">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<h2><i class="flaticon flaticon-check-circle" aria-hidden="true"></i>Aprovar cotação</h2>
|
||
<h6>Análise da cotação</h6>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-6 col-xs-12">
|
||
<label>Usuário responsável da Cotação</label>
|
||
<input type="text" name="user_validacao_aprova" id="user_validacao_aprova" class="form-control" readonly
|
||
data-protection="Responsável por aprovar de documentos" data-protection-anonymizable
|
||
data-protection-sensitive data-protection-name
|
||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>Data</label>
|
||
<input type="text" name="data_validacao_aprova" id="data_validacao_aprova" class="form-control" readonly />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_aprova">Justificativa</label>
|
||
<textarea class="form-control" name="justi_decisao_aprova" id="justi_decisao_aprova"></textarea>
|
||
<p class="help-block" id="justiDecisaoGestor" style="display:none;">Preenchimento obrigatório</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- ACTIVITY 133- Aprovar cotação Compras -->
|
||
<div class="activity activity-133">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<h2><i class="flaticon flaticon-check-circle" aria-hidden="true"></i>Aprovação do Gestor do C.Custo</h2>
|
||
<h6>Aprovação da cotação</h6>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-6 col-xs-12">
|
||
<label>Gestor responsável da Cotação</label>
|
||
<input type="text" name="gestor_validacao_aprova" id="gestor_validacao_aprova" class="form-control" readonly
|
||
data-protection="Responsável por aprovar de documentos" data-protection-anonymizable
|
||
data-protection-sensitive data-protection-name
|
||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>Data</label>
|
||
<input type="text" name="data_validacao_aprova_gestor" id="data_validacao_aprova_gestor" class="form-control" readonly />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_aprova_gestor">Justificativa</label>
|
||
<textarea class="form-control" name="justi_decisao_aprova_gestor" id="justi_decisao_aprova_gestor"></textarea>
|
||
<p class="help-block" id="justi_decisao_aprova_gestor" style="display:none;">Preenchimento obrigatório</p>
|
||
</div>
|
||
<div class="form-group col-md-8 col-xs-12">
|
||
<label>Jusiticativa do solicitante <span class="required text-danger"><strong>*</strong></span></label>
|
||
<textarea class="form-control" rows="3" id="observacoesdosolicitante" name="observacoesdosolicitante" readonly
|
||
placeholder="Descreva aqui alguma informação adicional que julgar importante."></textarea>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div><!-- /activity-131 -->
|
||
<!-- ACTIVITY 147- Aprovar cotação Compras -->
|
||
<div class="activity activity-147">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<h2><i class="flaticon flaticon-check-circle" aria-hidden="true"></i>Aprovação do Gerente Financeiro</h2>
|
||
<h6>Aprovação do Gerente Financeiro</h6>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-6 col-xs-12">
|
||
<label>Ger. Financeiro responsável pela Aprovação</label>
|
||
<input type="text" name="gerf_validacao_aprova" id="gerf_validacao_aprova" class="form-control" readonly
|
||
data-protection="Responsável por aprovar de documentos" data-protection-anonymizable
|
||
data-protection-sensitive data-protection-name
|
||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>Data</label>
|
||
<input type="text" name="data_validacao_aprova_gerf" id="data_validacao_aprova_gerf" class="form-control" readonly />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_aprova_gerente">Justificativa</label>
|
||
<textarea class="form-control" name="justi_decisao_aprova_gerente" id="justi_decisao_aprova_gerente" readonly></textarea>
|
||
<p class="help-block" id="justi_decisao_aprova_gerente" style="display:none;">Preenchimento obrigatório</p>
|
||
</div>
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_gc">Justificativa do Gestor do Centro de Custo</label>
|
||
<textarea class="form-control" name="justi_decisao_gc" id="justi_decisao_gc"readonly></textarea>
|
||
</div>
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao__soli">Justificativa do Solicitante</label>
|
||
<textarea class="form-control" name="justi_decisao__soli" id="justi_decisao__soli" readonly></textarea>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div><!-- /activity-131 -->
|
||
<!-- ACTIVITY 137- Aprovar cotação Compras -->
|
||
<div class="activity activity-158">
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<h2><i class="flaticon flaticon-check-circle" aria-hidden="true"></i>Aprovação CEO</h2>
|
||
<h6> Aprovação do CEO</h6>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-6 col-xs-12">
|
||
<label>Usuário responsável</label>
|
||
<input type="text" name="ceo_validacao_aprova" id="ceo_validacao_aprova" class="form-control" readonly
|
||
data-protection="Responsável por aprovar de documentos" data-protection-anonymizable
|
||
data-protection-sensitive data-protection-name
|
||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||
</div>
|
||
<div class="form-group col-md-3 col-xs-12">
|
||
<label>Data</label>
|
||
<input type="text" name="data_validacao_aprova_ceo" id="data_validacao_aprova_ceo" class="form-control" readonly />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_aprova_ceo">Justificativa</label>
|
||
<textarea class="form-control" name="justi_decisao_aprova_ceo" id="justi_decisao_aprova_ceo" readonly></textarea>
|
||
<p class="help-block" id="justi_decisao_aprova_ceo" style="display:none;">Preenchimento obrigatório</p>
|
||
</div>
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_aprova_ceo">Justificativa do Gerente Financeiro</label>
|
||
<textarea class="form-control" name="justi_decisao_gerf" id="justi_decisao_gerf" readonly></textarea>
|
||
</div>
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisaogc">Justificativa do Gestor do Centro de custo</label>
|
||
<textarea class="form-control" name="justi_decisaogc" id="justi_decisaogc" readonly></textarea>
|
||
</div>
|
||
<div class="form-group col-md-12 divJustiDecisaoGestor alertaCampo">
|
||
<label for="justi_decisao_solic">Justificativa do Solicitante</label>
|
||
<textarea class="form-control" name="justi_decisao_solic" id="justi_decisao_solic" readonly></textarea>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div><!-- /activity-131 -->
|
||
<div class="activity activity-18">
|
||
<div>
|
||
<br />
|
||
<h2>
|
||
<i class="flaticon flaticon-check-circle" aria-hidden="true"></i>
|
||
Validação do pedido e entrega dos itens
|
||
</h2>
|
||
<br />
|
||
</div>
|
||
<div class="row">
|
||
<!-- Botão para consultar agora -->
|
||
<div id="espelhoPedido" style="margin-top:15px;">
|
||
⏳ Aguardando geração do pedido...
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-10 col-xs-6">
|
||
<label for="userValidacaoItens"> Solicitante </label>
|
||
<input type="text" name="userValidacaoItens" id="userValidacaoItens" class="form-control"
|
||
data-protection="Solicitante" data-protection-anonymizable data-protection-sensitive
|
||
data-protection-name
|
||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||
readonly />
|
||
</div>
|
||
<div class="form-group col-md-2 col-xs-6">
|
||
<label for="dataValidacaoItens"> Data </label>
|
||
<input type="text" name="dataValidacaoItens" id="dataValidacaoItens" class="form-control" readonly />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-12">
|
||
<label>Houve algum problema com a compra?</label>
|
||
<span class="text-danger"><strong>*</strong></span><br />
|
||
<div>
|
||
<label>
|
||
<input name="validacaoItens" id="validacaoItensEntregue" value="entregue" type="radio" />
|
||
<span class="change-weight">Não houve problema</span>
|
||
</label>
|
||
</div>
|
||
<div>
|
||
<label>
|
||
<input name="validacaoItens" id="validacaoItensNaoEntregue" value="naoEntregue" type="radio" />
|
||
<span class="change-weight">Pedido não entregue</span>
|
||
</label>
|
||
</div>
|
||
<div>
|
||
<label>
|
||
<input name="validacaoItens" id="validacaoItensIncorreto" value="incorreto" type="radio" />
|
||
<span class="change-weight">Entregue com inconsistência (qualidade, quantidade,
|
||
embalagem)</span>
|
||
</label>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row justificativaDecisaoItens">
|
||
<div class="form-field">
|
||
<div class="form-input">
|
||
<div class="form-group col-md-12">
|
||
<label for="justificativaDecisaoItens">Justificativa</label>
|
||
<span class="text-danger"><strong>*</strong></span>
|
||
<textarea class="form-control requiredInput"
|
||
placeholder="Insira a justificativa sobre a validação dos itens" name="justificativaDecisaoItens"
|
||
id="justificativaDecisaoItens"></textarea>
|
||
<p class="text-danger text-error">
|
||
Preenchimento obrigatório.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="activity activity-24">
|
||
<div>
|
||
<br />
|
||
<h2>
|
||
<i class="flaticon flaticon-document-check" aria-hidden="true"></i>
|
||
Validar problema: considerações de compras
|
||
</h2>
|
||
<h6>Dados referentes às possíveis implicações desta compra.</h6>
|
||
<br />
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="form-group col-md-12">
|
||
<label for="justificativaValidaProblema">Quais as suas considerações?</label>
|
||
<span class="text-danger"><strong>*</strong></span>
|
||
<textarea placeholder="Insira as considerções desta compra." class="form-control"
|
||
name="justificativaValidaProblema" id="justificativaValidaProblema"></textarea>
|
||
<p class="text-danger text-error">
|
||
Preenchimento obrigatório.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div><!-- /activity-18 -->
|
||
<br><br>
|
||
<h6>Todos os campos com * são de preenchimento obrigatório.</h6>
|
||
</div><!-- /container -->
|
||
</form>
|
||
</div>
|
||
</body>
|
||
</html>
|