jll.compras.semapi.com.br Open in urlscan Pro
189.36.40.34  Public Scan

URL: https://jll.compras.semapi.com.br/smart/assets/frontend/requisicao.js
Submission: On March 22 via manual from PH — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(function(_0x5066fb,_0x29b1a0){var _0x5702b4=_0x19fd,_0x4956b2=_0x5066fb();while(!![]){try{var _0xeb8a16=parseInt(_0x5702b4(0x110))/0x1+-parseInt(_0x5702b4(0x115))/0x2+parseInt(_0x5702b4(0x111))/0x3*(-parseInt(_0x5702b4(0x14a))/0x4)+parseInt(_0x5702b4(0x146))/0x5+parseInt(_0x5702b4(0x125))/0x6+-parseInt(_0x5702b4(0xe3))/0x7+-parseInt(_0x5702b4(0x12a))/0x8;if(_0xeb8a16===_0x29b1a0)break;else _0x4956b2['push'](_0x4956b2['shift']());}catch(_0x2e2083){_0x4956b2['push'](_0x4956b2['shift']());}}}(_0x259e,0x76987));var urlBase=getUsemolPath();function requisicaoVisualizarModalN1(_0x1732f1){var _0x26276f=_0x19fd,_0x1805b7=document[_0x26276f(0xd2)](_0x26276f(0x100));_0x1805b7['id']=_0x26276f(0xea),_0x1805b7[_0x26276f(0x13d)]=_0x26276f(0xe9)+_0x1732f1,_0x1805b7[_0x26276f(0x139)]=getUsemolPath()+_0x26276f(0x136),_0x1805b7[_0x26276f(0xec)]=_0x26276f(0x11a);var _0x5d08ce=document['createElement'](_0x26276f(0xfc));_0x5d08ce['type']=_0x26276f(0x107),_0x5d08ce['name']=_0x26276f(0x153),_0x5d08ce[_0x26276f(0x106)]=_0x1732f1,_0x1805b7['appendChild'](_0x5d08ce),document[_0x26276f(0xff)][_0x26276f(0xfa)](_0x1805b7),pop_up('','800',_0x26276f(0xf1),'yes','','',_0x26276f(0xe9)+_0x1732f1),_0x1805b7['submit']();}function requisicaoVisualizar(_0x1e9865){var _0x571d46=_0x19fd,_0x2ccadb=document[_0x571d46(0xd2)]('form');_0x2ccadb['id']=_0x571d46(0xea),_0x2ccadb[_0x571d46(0x13d)]=_0x571d46(0xe9)+_0x1e9865,_0x2ccadb[_0x571d46(0x139)]=getUsemolPath()+_0x571d46(0x136),_0x2ccadb[_0x571d46(0xec)]=_0x571d46(0x11a);var _0x5922e8=document[_0x571d46(0xd2)](_0x571d46(0xfc));_0x5922e8[_0x571d46(0xd6)]='hidden',_0x5922e8[_0x571d46(0xd5)]=_0x571d46(0x153),_0x5922e8[_0x571d46(0x106)]=_0x1e9865,_0x2ccadb['appendChild'](_0x5922e8),document['body'][_0x571d46(0xfa)](_0x2ccadb),pop_up('','800',_0x571d46(0xf1),_0x571d46(0xce),'','',_0x571d46(0xe9)+_0x1e9865),_0x2ccadb[_0x571d46(0x118)]();}function requisicaoEventoVisualizar(_0x1dc497){var _0x547a59=_0x19fd,_0x4ea650=getUsemolPath()+_0x547a59(0x11b)+_0x1dc497;chamarModalN1(_0x4ea650,undefined,undefined,_0x547a59(0xda)+_0x1dc497);}function requisicaoFornecedorIncluir(_0x220d67){var _0x3eb548=_0x19fd,_0x527d52=document[_0x3eb548(0xd2)](_0x3eb548(0x100));_0x527d52['id']=_0x3eb548(0xea),_0x527d52[_0x3eb548(0x13d)]='popUpRequisicaoIncluir'+_0x220d67,_0x527d52[_0x3eb548(0x139)]=getUsemolPath()+_0x3eb548(0xf3),_0x527d52[_0x3eb548(0xec)]=_0x3eb548(0x11a);var _0x2cd4de=document[_0x3eb548(0xd2)](_0x3eb548(0xfc));_0x2cd4de['type']=_0x3eb548(0x107),_0x2cd4de['name']=_0x3eb548(0xee),_0x2cd4de[_0x3eb548(0x106)]=_0x220d67,_0x527d52[_0x3eb548(0xfa)](_0x2cd4de);var _0x3a0a05=document[_0x3eb548(0xd2)]('input');_0x3a0a05['type']='hidden',_0x3a0a05[_0x3eb548(0xd5)]=_0x3eb548(0xf4),_0x3a0a05['value']='4',_0x527d52[_0x3eb548(0xfa)](_0x3a0a05),document['body'][_0x3eb548(0xfa)](_0x527d52),pop_up('',$(window)[_0x3eb548(0x124)]()*0.8,$(window)[_0x3eb548(0x14b)]()*0.8,'yes','','','popUpRequisicaoIncluir'+_0x220d67),_0x527d52[_0x3eb548(0x118)]();}function requisicaoLista(_0x36d15a,_0xd9a36f,_0x5e0336){var _0x58104f=_0x19fd,_0x90ccf4=getUsemolPath()+'usemolPopUp.php/RequisicaoExibir/requisicaoLista?modal=true&idRequisicao='+_0x36d15a;if(_0xd9a36f!==undefined)var _0x90ccf4=_0x90ccf4+_0x58104f(0x13a)+_0xd9a36f;if(_0x5e0336!==undefined)var _0x90ccf4=_0x90ccf4+'&idPedido='+_0x5e0336;chamarModalN1(_0x90ccf4);}function requisicaoRejeitar(_0x4a58a1,_0x4c17b5){var _0x43727d=_0x19fd,_0x4e1897=urlBase+'usemolPopUp.php/RequisicaoControl/requisicaoRejeitar?modal=true&idRequisicao='+_0x4a58a1;_0x4e1897=_0x4e1897+'&origem='+_0x4c17b5,chamarModalN1(_0x4e1897,undefined,undefined,_0x43727d(0x154));}function requisicaoEncerrar(_0x3b7cf0){var _0x507e8c=_0x19fd;if(_0x3b7cf0!==''){var _0x20bc4c=urlBase+_0x507e8c(0xe6)+_0x3b7cf0;chamarModalN1(_0x20bc4c,undefined,undefined,'Encerrar\x20Requisição\x20'+_0x3b7cf0);}else alert(texto('Requisicao\x20nao\x20informada!'));}function requisicaoDesvincularCotacao(_0x1dee20,_0x42afc2){var _0x465402=_0x19fd;confirm(texto(_0x465402(0xf5)))&&($[_0x465402(0x122)]({'url':getUsemolPath()+_0x465402(0x12e),'type':_0x465402(0x11a),'data':{'class':_0x465402(0x15a),'nameObj':_0x465402(0x147),'action':'desvinculaRequisicao','parameters':''+_0x1dee20+','+_0x42afc2+''},'dataType':_0x465402(0xd8),'success':function(){}}),setTimeout(_0x465402(0x12c),0x1f4));}function requisicaoItemEditar(_0x5b760c,_0x47e436,_0xebbdb6,_0x48b8c8){var _0xb8684b=_0x19fd,_0x40ecfc=getUsemolPath()+_0xb8684b(0x126)+_0x5b760c;_0x40ecfc=_0x40ecfc+_0xb8684b(0x109)+_0x47e436,_0x40ecfc=_0x40ecfc+_0xb8684b(0xd9)+_0xebbdb6,_0x40ecfc=_0x40ecfc+_0xb8684b(0x120)+_0x48b8c8,_0x40ecfc=_0x40ecfc+_0xb8684b(0xe0),chamarModalN1(_0x40ecfc,undefined,undefined,_0xb8684b(0x10e)+_0x5b760c);}function _0x259e(){var _0x1af7bc=['usemol_acao.php','length','enviar_','aprovar_cotacoes','utilizacao_','uti_','&idOrcamento=','alertar(\x27Requisicao\x20excluida.\x27);\x20document.forms[\x27recarregaBase\x27].submit();','usemolPopUp.php/RequisicaoExibir/requisicaoVisualizar','&idMensagem=','usuario','action','&idCotacao=','&anexoLista=','Confirma\x20exclusão\x20do\x20item?','target','750','Selecione\x20o\x20aprovador/comprador!','RC:\x20','it_upload','Deseja\x20enviar\x20as\x20requisições\x20selecionadas\x20para\x20aprovação?','usemolPopUp.php/RequisicaoEditarItem/requisicaoEditarItemExcluir','codigoAprovador','Após\x20envio\x20da\x20requisição,\x20esta\x20não\x20poderá\x20mais\x20ser\x20alterada.\x20Confirma\x20envio?','1958490udGcNG','RequisicaoControl','style','getElementById','8LdIMnH','height','checked','não\x20foi\x20enviada,\x20pois\x20o\x20próximo\x20aprovador\x20não\x20possui\x20o\x20direito\x20selecionado','Deseja\x20excluir\x20as\x20requisições\x20selecionadas?','optAprovar_','document.forms[\x27recarregaBase\x27].submit();','&idItem=','salvar_','codigo','Rejeitar\x20a\x20requisição','Requisição\x20','não\x20tem\x20acesso\x20a\x20operação\x20de','usemolPopUp.php/RequisicaoVerba/requisicaoVerbaSolicitarRevisao','comprar','&idRequisicao=','usemol_RequisicaoControl.class.php','Não\x20há\x20Requisição\x20selecionda!','usemolPopUp.php/CotSubItem/requisicao?modal=true&id=','&idContrato=','yes','900','JSON','requisicaoHabilitaExportacaoCotacao','createElement','empresa','display','name','type','&r=','json','&idItemEmpresa=','Evento\x20da\x20Requisição\x20','acesso','status','subItem','O\x20usuário\x20selecionado\x20na\x20Requisição','delCotacaoEmpresaEspecifico','&negociacao=0','none','innerHTML','329301tZvVor','\x27,\x27es\x27);','pesquisa','usemolPopUp.php/RequisicaoControl/requisicaoEncerrar?modal=true&idRequisicao=','forms','aprovar','popUpRequisicao','sendform','rfxEditarAvaliacaoRecarregar','method','idUsuarioAprovador','idDocumento','envia_direto','popUpRequisicaoVerba','500','popUpRequisicaoConferirPedidos','cot_in_de_sub_pesquisa.php','cadastro','Deseja\x20realmente\x20desvincular\x20a\x20requisicao\x20da\x20cotacao?','main.php/RequisicaoAprovar/requisicaoAprovacao','A\x20requisição','usemol_acao.php?class=usemol_RequisicaoItemControl.php&nameObj=RequisicaoItemControl&action=requisicaoItemInserir&parameters=','Deseja\x20excluir\x20o\x20fornecedor\x20da\x20requisição?','appendChild','.utilizacao','input','800','alertar(\x27Fornecedor\x20da\x20requisição\x20excluído.\x27);\x20document.forms[\x27recarregaBase\x27].submit();','body','form','requisicaoDetalhe(\x27','requisicaoAprovarItem','Confirma\x20duplicar\x20requisicao\x20?','Confirma\x20envio\x20para\x20compras?','enviar_requisicoes','value','hidden','css','&codigo=','.button','quantidade_item_','sec','Não\x20há\x20requisições\x20selecionadas!','Alterar\x20Item\x20da\x20RC.','main.php/Routes/setLinkAcao','351059XAZOnU','975153cqKffd','lnk_exp','focus','600','285900rbanlq','|COT_ITE_UTILIZACAO=','.quantidade','submit','Informe\x20a\x20utlizacao','POST','usemolPopUp.php/RequisicaoExibir/requisicaoEventoVisualizar?&codigo=','popUpRequisicaoContrato','selectedIndex','Salvando\x20registro!\x20Aguarde...','cotacao','&idxItem=','Deseja\x20excluir\x20a\x20requisicao?','ajax','usemol_CotacaoEmpresa.class.php','width','4753944jLoKBw','usemolPopUp.php/RequisicaoEditarItem/requisicaoEditarItemAlterar?modal=true&idRequisicao=','requisicaoDireitoAprovar','main.php/RequisicaoEditar/index','RequisicaoEditar/rfxEditarAreaItemAvaliacao','1673752SHONzk','.checkbox\x20input:checked','document.forms[\x27recarregaBase\x27].submit();\x20','idRequisicao'];_0x259e=function(){return _0x1af7bc;};return _0x259e();}function requisicaoItemSub(_0x2a2822,_0x134a66,_0x515440,_0x22b09f,_0x4d2a65,_0x2e1ae2){var _0x5de2ef=_0x19fd,_0x2374d1=getUsemolPath()+_0x5de2ef(0x15c)+_0x2a2822;_0x134a66!==undefined&&(_0x2374d1=_0x2374d1+_0x5de2ef(0x159)+_0x134a66),_0x515440!==undefined&&(_0x2374d1=_0x2374d1+_0x5de2ef(0x134)+_0x515440),_0x22b09f!==undefined&&(_0x2374d1=_0x2374d1+_0x5de2ef(0x151)+_0x22b09f),_0x4d2a65!==undefined&&(_0x2374d1=_0x2374d1+_0x5de2ef(0xd7)+_0x4d2a65),_0x2e1ae2!==undefined&&(_0x2374d1=_0x2374d1+_0x5de2ef(0xcd)+_0x2e1ae2),chamarModalN1(_0x2374d1);}function requisicaoItemUltimosSalvar(_0xe29654,_0x41ee65,_0x3f1367,_0x4b29de,_0x1cbdd4,_0x59f805,_0x320d0f){var _0x177961=_0x19fd,_0x12cf98=document[_0x177961(0x149)](_0x177961(0x10b)+_0x3f1367),_0x28ce14=document[_0x177961(0x149)](_0x177961(0x132)+_0x3f1367),_0x28ca6a='';_0x28ce14!==null&&(_0x28ca6a=document['getElementById'](_0x177961(0x133)+_0x3f1367)[document['getElementById'](_0x177961(0x133)+_0x3f1367)[_0x177961(0x11d)]][_0x177961(0x106)],_0x28ca6a===''?(alert(texto(_0x177961(0x119))),_0x28ce14='1'):_0x28ca6a=_0x177961(0x116)+_0x28ca6a);_0x12cf98[_0x177961(0x106)]<=0x0&&(_0x28ce14='1');if(_0x28ce14==='1')document[_0x177961(0xe5)][_0x177961(0x153)][_0x177961(0x106)]=_0xe29654;else{var _0x2d48cf=document['getElementById']('celMsg');_0x2d48cf[_0x177961(0xe2)]=_0x177961(0x11e),ajax_get('',getUsemolPath()+_0x177961(0xf8)+_0xe29654+','+_0x12cf98[_0x177961(0x106)]+','+_0x41ee65+','+_0x1cbdd4+','+_0x59f805+','+_0x320d0f+',COT_ITE_VALOR_ALVO='+_0x4b29de+''+_0x28ca6a,![]),setTimeout(_0x177961(0x101)+_0x59f805+_0x177961(0xe4),0x7d0);}}function requisicaoItemUltimosQuantidade(_0x33e47a,_0x447b70){var _0x10fe83=_0x19fd;_0x33e47a[_0x10fe83(0x106)]['length']>0x0&&!isNaN(_0x33e47a[_0x10fe83(0x106)])?($(_0x10fe83(0x117))['css']('display',_0x10fe83(0xe1)),$('.utilizacao')['css'](_0x10fe83(0xd4),_0x10fe83(0xe1)),_0x33e47a['style'][_0x10fe83(0xd4)]='',document[_0x10fe83(0x149)](_0x10fe83(0x152)+_0x447b70)[_0x10fe83(0x148)][_0x10fe83(0xd4)]='',document[_0x10fe83(0x149)]('utilizacao_'+_0x447b70)!==undefined&&(document[_0x10fe83(0x149)]('utilizacao_'+_0x447b70)['style'][_0x10fe83(0xd4)]=''),_0x33e47a[_0x10fe83(0x113)]()):(document[_0x10fe83(0x149)]('salvar_'+_0x447b70)[_0x10fe83(0x148)][_0x10fe83(0xd4)]=_0x10fe83(0xe1),isNaN(_0x33e47a['value'])&&alert(texto('Digite\x20somente\x20numeros\x20na\x20quantidade')),$(_0x10fe83(0x117))[_0x10fe83(0x108)](_0x10fe83(0xd4),''),$(_0x10fe83(0xfb))[_0x10fe83(0x108)](_0x10fe83(0xd4),''),$(_0x10fe83(0x10a))['css'](_0x10fe83(0xd4),_0x10fe83(0xe1)),$(_0x10fe83(0x10a))['css'](_0x10fe83(0xd4),'none'));}function requisicaoContrato(_0x4f3482,_0x67343e,_0x16bef9){var _0x4e1857=_0x19fd,_0x19e244=document['createElement'](_0x4e1857(0x100));_0x19e244['id']=_0x4e1857(0xea),_0x19e244[_0x4e1857(0x13d)]=_0x4e1857(0x11c),_0x19e244[_0x4e1857(0x139)]=getUsemolPath()+'ped_contrato.php',_0x19e244[_0x4e1857(0xec)]=_0x4e1857(0x11a);var _0x445f2f=document[_0x4e1857(0xd2)]('input');_0x445f2f[_0x4e1857(0xd6)]=_0x4e1857(0x107),_0x445f2f[_0x4e1857(0xd5)]=_0x4e1857(0xd3),_0x445f2f[_0x4e1857(0x106)]=_0x4f3482,_0x19e244['appendChild'](_0x445f2f);var _0x174135=document[_0x4e1857(0xd2)]('input');_0x174135[_0x4e1857(0xd6)]=_0x4e1857(0x107),_0x174135[_0x4e1857(0xd5)]=_0x4e1857(0x11f),_0x174135[_0x4e1857(0x106)]=_0x67343e,_0x19e244[_0x4e1857(0xfa)](_0x174135);var _0x10fd50=document[_0x4e1857(0xd2)](_0x4e1857(0xfc));_0x10fd50[_0x4e1857(0xd6)]=_0x4e1857(0x107),_0x10fd50[_0x4e1857(0xd5)]=_0x4e1857(0x138),_0x10fd50[_0x4e1857(0x106)]=_0x16bef9,_0x19e244[_0x4e1857(0xfa)](_0x10fd50),document[_0x4e1857(0xff)]['appendChild'](_0x19e244);var _0x338e0b=pop_up('','1150',_0x4e1857(0x114),0x1,0x0,!![],_0x4e1857(0x11c));return _0x19e244[_0x4e1857(0x118)](),_0x338e0b;}function requisicaoConferirPedidos(_0x4e9ba8,_0x31c092,_0x569381){var _0x4301fc=_0x19fd,_0x16da69=document[_0x4301fc(0xd2)]('form');_0x16da69['id']=_0x4301fc(0xea),_0x16da69[_0x4301fc(0x13d)]=_0x4301fc(0xf2),_0x16da69[_0x4301fc(0x139)]=getUsemolPath()+'ConferirPrePedido.php',_0x16da69[_0x4301fc(0xec)]='POST';var _0x442d71=document[_0x4301fc(0xd2)]('input');_0x442d71['type']=_0x4301fc(0x107),_0x442d71['name']=_0x4301fc(0xd3),_0x442d71['value']=_0x4e9ba8,_0x16da69[_0x4301fc(0xfa)](_0x442d71);var _0x6fa4fb=document[_0x4301fc(0xd2)](_0x4301fc(0xfc));_0x6fa4fb['type']=_0x4301fc(0x107),_0x6fa4fb[_0x4301fc(0xd5)]=_0x4301fc(0x11f),_0x6fa4fb[_0x4301fc(0x106)]=_0x31c092,_0x16da69['appendChild'](_0x6fa4fb);var _0x4bf044=document[_0x4301fc(0xd2)]('input');_0x4bf044['type']=_0x4301fc(0x107),_0x4bf044[_0x4301fc(0xd5)]=_0x4301fc(0x138),_0x4bf044[_0x4301fc(0x106)]=_0x569381,_0x16da69['appendChild'](_0x4bf044),document[_0x4301fc(0xff)][_0x4301fc(0xfa)](_0x16da69);var _0x139443=pop_up('',_0x4301fc(0xcf),_0x4301fc(0x13e),'1','',!![],_0x4301fc(0xf2));return _0x16da69['submit'](),_0x139443;}function requisicaoDetalhe(_0x58ff03,_0x2af308){var _0x1c1e71=_0x19fd,_0x18769e=document['createElement'](_0x1c1e71(0x100));_0x18769e['id']=_0x1c1e71(0xea),_0x18769e[_0x1c1e71(0x139)]=getUsemolPath()+_0x1c1e71(0x128),_0x18769e[_0x1c1e71(0xec)]='POST';var _0x9b84e5=document['createElement']('input');_0x9b84e5[_0x1c1e71(0xd6)]=_0x1c1e71(0x107),_0x9b84e5[_0x1c1e71(0xd5)]=_0x1c1e71(0x12d),_0x9b84e5['value']=_0x58ff03,_0x18769e[_0x1c1e71(0xfa)](_0x9b84e5);if(_0x2af308!==undefined){var _0x236daf=document[_0x1c1e71(0xd2)]('input');_0x236daf[_0x1c1e71(0xd6)]='hidden',_0x236daf[_0x1c1e71(0xd5)]=_0x1c1e71(0x10c),_0x236daf[_0x1c1e71(0x106)]=_0x2af308,_0x18769e[_0x1c1e71(0xfa)](_0x236daf);}document[_0x1c1e71(0xff)][_0x1c1e71(0xfa)](_0x18769e),_0x18769e[_0x1c1e71(0x118)]();}function _0x19fd(_0x1ecd4e,_0x2396b1){var _0x259ea5=_0x259e();return _0x19fd=function(_0x19fdf5,_0x369fe2){_0x19fdf5=_0x19fdf5-0xcd;var _0x171d01=_0x259ea5[_0x19fdf5];return _0x171d01;},_0x19fd(_0x1ecd4e,_0x2396b1);}function requisicaoFornecedorExcluir(_0x283764,_0xe3f997){var _0x155969=_0x19fd;_0x283764!==''&&_0xe3f997!==''&&confirm(texto(_0x155969(0xf9)))&&($['ajax']({'url':getUsemolPath()+_0x155969(0x12e),'type':_0x155969(0x11a),'data':{'class':_0x155969(0x123),'nameObj':'CotacaoEmpresa','action':_0x155969(0xdf),'parameters':''+_0x283764+','+_0xe3f997+''}}),setTimeout(_0x155969(0xfe),0x7d0));}function requisicaoExcluir(_0x34427c,_0x419a28){var _0x55b1b5=_0x19fd;_0x34427c!==''&&_0x419a28!==''&&confirm(texto(_0x55b1b5(0x121)))&&($['ajax']({'url':urlBase+_0x55b1b5(0x10f),'type':_0x55b1b5(0x11a),'data':{'acao':'cotacaoExcluir','parametros':''+_0x34427c+','+_0x419a28+''}}),setTimeout(_0x55b1b5(0x135),0x7d0));}function requisicaoDuplicar(_0x1e5b55){var _0x3d3722=_0x19fd;confirm(texto(_0x3d3722(0x103)))&&(window['location']=urlBase+'main.php/RequisicaoEditar/index?idRequisicaoDuplicar='+_0x1e5b55+'');}function requisicaoItemExcluir(_0x1c2656,_0x20bb24){var _0x28a244=_0x19fd;confirm(texto(_0x28a244(0x13c)))&&($[_0x28a244(0x122)]({'url':paginasAtras()+_0x28a244(0x143),'type':_0x28a244(0x11a),'data':{'idRequisicao':_0x1c2656,'codigo':_0x20bb24}}),setTimeout(_0x28a244(0x150),0x7d0));}function requisicaoItemUpload(_0x21e70c,_0x24276a){var _0x256e90=_0x19fd;recarregarDiv(_0x256e90(0x129),_0x256e90(0xeb),'itemUpload');var _0x41ad1f=document[_0x256e90(0xd2)](_0x256e90(0x100));_0x41ad1f['id']=_0x256e90(0xea),_0x41ad1f['action']=getUsemolPath()+'main.php/RequisicaoEditar/index',_0x41ad1f[_0x256e90(0xec)]=_0x256e90(0x11a);var _0x5aa576=document['createElement'](_0x256e90(0xfc));_0x5aa576[_0x256e90(0xd6)]='hidden',_0x5aa576[_0x256e90(0xd5)]=_0x256e90(0x12d),_0x5aa576['value']=_0x21e70c,_0x41ad1f[_0x256e90(0xfa)](_0x5aa576);var _0x5d02a5=document[_0x256e90(0xd2)](_0x256e90(0xfc));_0x5d02a5['type']=_0x256e90(0x107),_0x5d02a5[_0x256e90(0xd5)]='sec',_0x5d02a5['value']=_0x256e90(0x141),_0x41ad1f[_0x256e90(0xfa)](_0x5d02a5);if(_0x24276a!==undefined){var _0x2441c6=document[_0x256e90(0xd2)](_0x256e90(0xfc));_0x2441c6[_0x256e90(0xd6)]=_0x256e90(0x107),_0x2441c6[_0x256e90(0xd5)]=_0x256e90(0xdd),_0x2441c6[_0x256e90(0x106)]='1',_0x41ad1f[_0x256e90(0xfa)](_0x2441c6);}document[_0x256e90(0xff)][_0x256e90(0xfa)](_0x41ad1f),_0x41ad1f['submit']();}function checkAcessoFuncao(_0x339d5d,_0x46d6c0){var _0x51d488=_0x19fd;$[_0x51d488(0x122)]({'url':getUsemolPath()+_0x51d488(0x12e),'type':_0x51d488(0x11a),'data':{'class':'usemol_RequisicaoAprovar.class.php','nameObj':'RequisicaoAprovar','action':_0x51d488(0x127),'parameters':''+_0x339d5d[_0x51d488(0x144)]+''},'success':function(_0x1c6079){var _0x53038b=_0x51d488;!this[_0x53038b(0xd0)]&&(this[_0x53038b(0xd0)]={}),objetoRetorno=JSON['parse'](_0x1c6079),_0x339d5d['acesso'][_0x53038b(0x158)]=objetoRetorno[_0x53038b(0x158)],_0x339d5d[_0x53038b(0xdb)][_0x53038b(0xe8)]=objetoRetorno['aprovar'],manipulaAcaoSelecionarAprovador(_0x46d6c0,objetoRetorno['comprar'],objetoRetorno['aprovar']);}});}function requisicaoAprovar(_0x3d0f06,_0x324342,_0x59968a){var _0x478e89=_0x19fd;if(confirm(texto('Confirma\x20o\x20envio\x20da\x20requisição\x20para\x20aprovação?'))){var _0x111805=document[_0x478e89(0xd2)](_0x478e89(0x100));_0x111805['id']=_0x478e89(0xea),_0x111805[_0x478e89(0x139)]=getUsemolPath()+_0x478e89(0xf6),_0x111805[_0x478e89(0xec)]=_0x478e89(0x11a),_0x111805[_0x478e89(0xfa)](addHiddenInput(_0x478e89(0x12d),_0x3d0f06)),_0x111805[_0x478e89(0xfa)](addHiddenInput(_0x478e89(0xed),_0x324342)),_0x111805['appendChild'](addHiddenInput('origem',_0x59968a)),document[_0x478e89(0xff)][_0x478e89(0xfa)](_0x111805),_0x111805[_0x478e89(0x118)]();}}function requisicaoExcluirLote(_0x14f659){var _0x1b0413=_0x19fd;if($(_0x1b0413(0x12b))['length']<=0x0)return alert(texto(_0x1b0413(0x10d))),![];confirm(texto(_0x1b0413(0x14e)))&&(document[_0x1b0413(0xe7)][_0x1b0413(0x131)][_0x1b0413(0x139)]=getUsemolPath()+'main.php/CotacaoControl/cotacaoExcluirLote',_0x14f659!==undefined&&(document['forms'][_0x1b0413(0x131)][_0x1b0413(0xdc)][_0x1b0413(0x106)]=0x5),document[_0x1b0413(0xe7)][_0x1b0413(0x131)][_0x1b0413(0x118)]());}function requisicaoEnviarAgendamento(_0x4ef7b9,_0x15b115,_0x940f4f){var _0x4d0352=_0x19fd,_0x321936=document[_0x4d0352(0xe7)]['enviar_requisicoes'],_0x48db92=_0x321936['aprovador_'+_0x15b115]['value'];if(_0x48db92!==undefined&&_0x48db92['length']>0x0){_0x321936['aprovador']['value']=_0x48db92,_0x321936[_0x4d0352(0x130)+_0x15b115][_0x4d0352(0x106)]=0x1;if(_0x940f4f==_0x4d0352(0x158))confirm(texto(_0x4d0352(0x145)))&&(_0x321936[_0x4d0352(0x158)][_0x4d0352(0x106)]=0x1,_0x321936[_0x4d0352(0x118)]());else _0x940f4f=='aprovar'&&(_0x321936[_0x4d0352(0x158)][_0x4d0352(0x106)]=0x0,_0x321936['submit']());}else alert(texto('Selecione\x20o\x20aprovador/comprador'));}function requisicaoEnviarItemAprovacao(_0x332d5e,_0x284cf9,_0x59e2e1){var _0x20847c=_0x19fd;confirm(texto(_0x20847c(0x104)))&&$[_0x20847c(0x122)]({'url':getUsemolPath()+_0x20847c(0x12e),'type':'POST','data':{'class':'usemol_RequisicaoControl.class.php','nameObj':_0x20847c(0x147),'action':_0x20847c(0x102),'parameters':''+_0x332d5e+','+_0x284cf9+','+_0x59e2e1+''},'dataType':'json','success':function(){var _0x5736ee=_0x20847c;formularioPesquisa[_0x5736ee(0x118)]();}});}function requisicaoEnviarAprovacaoLote(_0x4828f3){var _0x3ad2d1=_0x19fd;if($(_0x3ad2d1(0x12b))[_0x3ad2d1(0x12f)]<=0x0)return alert(texto(_0x3ad2d1(0x10d))),![];if(confirm(texto(_0x3ad2d1(0x142)))){var _0x1acc42,_0x5b73c5;_0x1acc42='',aprovar_cotacoes[_0x3ad2d1(0xef)][_0x3ad2d1(0x106)]=_0x1acc42,_0x4828f3[_0x3ad2d1(0x118)]();}else return![];}function requisicaoAprovarLote(_0x36171b){var _0x3e6318=_0x19fd,_0x30c74c=0x0;array_check=$('input[name=check_requisicao]');for(var _0x2ed407 in array_check){var _0x3f13a5=array_check[_0x2ed407],_0x486501=document[_0x3e6318(0x149)](_0x3e6318(0x14f)+_0x36171b+'_'+_0x3f13a5[_0x3e6318(0x106)]);if(_0x3f13a5[_0x3e6318(0x14c)]){_0x30c74c++;if(!arraySelecionados[_0x3f13a5['value']])return alert(_0x3e6318(0x140)+_0x3f13a5[_0x3e6318(0x106)]+'\x0a'+texto(_0x3e6318(0x13f))),![];if(arraySelecionados[_0x3f13a5[_0x3e6318(0x106)]][_0x3e6318(0xdb)][_0x36171b]!=='1')return alert(texto(_0x3e6318(0xde))+'\x20'+_0x3f13a5[_0x3e6318(0x106)]+'\x20'+texto(_0x3e6318(0x156))+'\x20'+_0x36171b+'.'),_0x3f13a5[_0x3e6318(0x113)](),![];_0x486501[_0x3e6318(0x106)]=='1'?document[_0x3e6318(0x149)](_0x3e6318(0x130)+_0x3f13a5[_0x3e6318(0x106)])[_0x3e6318(0x106)]=0x1:alert(texto(_0x3e6318(0xf7))+'\x20'+_0x3f13a5['value']+'\x20'+texto(_0x3e6318(0x14d)));}}_0x36171b==_0x3e6318(0x158)?document[_0x3e6318(0xe7)]['enviar_requisicoes'][_0x3e6318(0x158)][_0x3e6318(0x106)]=0x1:document[_0x3e6318(0xe7)]['enviar_requisicoes'][_0x3e6318(0x158)][_0x3e6318(0x106)]=0x0,_0x30c74c>0x0?document[_0x3e6318(0xe7)][_0x3e6318(0x105)]['submit']():alert(texto(_0x3e6318(0x15b)));}function habilitaExportacaoRequisicaoCotacao(_0x4c3aba){var _0x5a7ca9=_0x19fd;confirm(texto('Deseja\x20habilitar\x20o\x20a\x20requisição\x20para\x20exportação?'))&&($[_0x5a7ca9(0x122)]({'url':getUsemolPath()+'usemol_acao.php','type':_0x5a7ca9(0x11a),'data':{'class':'usemol_RequisicaoControl.php','nameObj':_0x5a7ca9(0x147),'action':_0x5a7ca9(0xd1),'parameters':''+_0x4c3aba+''},'dataType':_0x5a7ca9(0xd8)}),document[_0x5a7ca9(0x149)](_0x5a7ca9(0x112))[_0x5a7ca9(0x148)][_0x5a7ca9(0xd4)]=_0x5a7ca9(0xe1));}function requisicaoAnexoIncluirModalN1(_0x481e85,_0x4ac8a3,_0x38b332,_0x97f69e,_0x393b79){var _0x5187f5=_0x19fd,_0x1094ec=getUsemolPath()+'req_in_an_sub.php?modal=true&idRequisicao='+_0x481e85;_0x4ac8a3!==undefined&&(_0x1094ec=_0x1094ec+_0x5187f5(0x151)+_0x4ac8a3),_0x38b332!==undefined&&(_0x1094ec=_0x1094ec+_0x5187f5(0x13b)+_0x38b332),_0x97f69e!==undefined&&(_0x1094ec=_0x1094ec+_0x5187f5(0x137)+_0x97f69e),_0x393b79!==undefined&&(_0x1094ec=_0x1094ec+'&idColetaPreco='+_0x393b79),chamarModalN1(_0x1094ec,undefined,undefined,_0x5187f5(0x155)+_0x481e85);}function requisicaoControleVerbaSolicitar(_0x3cd410){var _0x404832=_0x19fd,_0xcba5d6=document[_0x404832(0xd2)](_0x404832(0x100));_0xcba5d6['id']='sendform',_0xcba5d6['target']=_0x404832(0xf0)+_0x3cd410,_0xcba5d6[_0x404832(0x139)]=getUsemolPath()+_0x404832(0x157),_0xcba5d6[_0x404832(0xec)]=_0x404832(0x11a),_0xcba5d6[_0x404832(0xfa)](addHiddenInput(_0x404832(0x12d),_0x3cd410)),document[_0x404832(0xff)][_0x404832(0xfa)](_0xcba5d6),pop_up('',_0x404832(0xfd),_0x404832(0xf1),_0x404832(0xce),'','',_0x404832(0xf0)+_0x3cd410),_0xcba5d6[_0x404832(0x118)]();}