{"version":3,"sources":["webpack:///./src/app/das/DasView.vue?ee1c","webpack:///./src/app/das/shared/components/colunas/index.js","webpack:///src/app/das/DasView.vue","webpack:///./src/app/das/DasView.vue?1399","webpack:///./src/app/das/DasView.vue","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./src/app/das/shared/services/api.js","webpack:///./src/app/das/DasView.vue?d815"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticStyle","_v","apiDas","on","$event","atualizarGrid","filtroAtual","filtroBy","baixarEmLote","ref","botoesOption","visualizacao","filtros","filtrosRapidos","scopedSlots","_u","key","fn","props","column","field","row","possuiDas","_s","_e","staticRenderFns","label","tdClass","type","name","components","DasList","Acoes","DownloadEmLote","DownloadEmExcel","AtualizarEmLote","data","linha","acaoClass","disabledCheckbox","placeholderBusca","colunas","evento","valor","id","mounted","updated","methods","carregar","pagina","tamanhoPagina","filtro","evt","api","aplicarFiltroQuery","component","$","$find","find","addToUnscopables","arrayMethodUsesToLength","FIND","SKIPS_HOLES","USES_TO_LENGTH","Array","target","proto","forced","callbackfn","arguments","length","undefined","PREFIX","getPaginado","page","pageSize","axios","post","getURLSimplesNacional","competencia","get","getURL","baixaEmLote","nomeArquivo","requestGuiasDas","empresaId","getObservacoes","removerObservacao","delete","salvarObservacao","observacao","recalcularDas","razaoSocial","notificaDas","nomeEmpresa","emailEmpresa","emailCc","idDas","mensagemAdicional","definirEmailPadrao","encodeURIComponent","baixarEmExcel","tipoCnd","deletarExcel","url","atualizarManual","empresasFiltro","dataRecalculo","getEmpresasAtualizacaoEmLote","put","getEmpresasAtualizacaoEmLoteFiltrado","body","getConsumoCredito"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACA,EAAG,QAAQ,CAACE,MAAM,CAAC,UAAU,QAAQ,CAACF,EAAG,QAAQ,CAACA,EAAG,UAA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TsC,qCAzDa,SAyDwBC,GACnC,OAAOnC,OAAMC,KAAN,UAAcL,EAAd,aAAiCuC,IAG1CC,kBA7Da,SA6DKN,GAChB,OAAO9B,OAAMC,KAAN,UAAcL,EAAd,oBAAwCkC,M,2DClEnD","file":"js/chunk-94859254.f3e51e9f.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',[_c('b-row',{attrs:{\"align-h\":\"end\"}},[_c('b-col',[_c('b-badge',{staticStyle:{\"margin-bottom\":\"0px\",\"padding\":\"10px\",\"white-space\":\"normal\"},attrs:{\"variant\":\"light-warning\"}},[_vm._v(\" As filiais não são exibidas devido ao fato de terem o mesmo relatório de pendencias que a Matriz. \")])],1),_c('b-col',{attrs:{\"cols\":\"auto\"}},[_c('atualizar-em-lote',{attrs:{\"texto-botao\":\"Atualizar DAS por PA\",\"tipo-rotina\":\"DAS\",\"tool-tip\":\"A atualização busca a Guia do DAS do período escolhido e atualiza o vencimento para todas as empresas selecionadas. Cada atualização consumirá dois créditos do saldo em conta.\",\"titulo-cabecalho\":\"Atualização do DAS por Empresa e período de apuração\",\"subtitulo-cabecalho\":\"Selecione as empresas que deseja atualizar\",\"titulo\":\"Selecione a(s) empresa(s) que deseja atualizar a guia do DAS\",\"subtitulo\":\"As empresas listadas abaixo possuem as configurações do DAS e o Sublimite marcadas no cadastro de empresas em Configurações de rotinas e-CAC\",\"api\":_vm.apiDas,\"alterar-style\":\"font-size: 11.5px;padding: .707rem 1rem;\"},on:{\"atualizar-grid\":function($event){return _vm.atualizarGrid()}}})],1),_c('b-col',{attrs:{\"cols\":\"auto\"}},[_c('download-em-excel',{attrs:{\"filtro\":_vm.filtroAtual,\"tipo\":\"Das\",\"alterar-style\":\"font-size: 11.5px;padding: .65rem 2rem;\",\"api\":_vm.apiDas}})],1),_c('b-col',{attrs:{\"cols\":\"auto\"}},[_c('download-em-lote',{attrs:{\"tipo-arquivo\":\"todos DAS\",\"tipo\":\"Das\",\"filtro\":_vm.filtroAtual.filtroBy,\"palavras-filtro\":[['Regulares', 'Irregulares', 'Motivo']],\"alterar-style\":\"font-size: 11.5px;padding: .45rem 1rem;\"},on:{\"baixar-lote\":_vm.baixarEmLote}})],1)],1),_c('das-list',{ref:\"dasList\",attrs:{\"botoes-opcoes\":_vm.botoesOption,\"visualizacao-opcoes\":_vm.visualizacao,\"filtros\":_vm.filtros,\"filtros-rapidos\":_vm.filtrosRapidos},scopedSlots:_vm._u([{key:\"custom\",fn:function(ref ){\nvar props = ref.props;\nreturn [(props.column.field === 'dasEmAtraso')?_c('div',[(props.row.possuiDas == true && props.row[props.column.field] == null)?_c('span',[_vm._v(\" - \")]):_c('b-badge',{attrs:{\"variant\":props.row[props.column.field] == null ? 'light-primary' : !props.row[props.column.field]? 'light-success': 'light-danger'}},[_vm._v(\" \"+_vm._s(props.row[props.column.field] == null ? 'Sem DAS' : props.row[props.column.field]? 'Sim' : 'Não')+\" \")])],1):_vm._e(),(props.column.field === 'hasDebitos')?_c('b-badge',{attrs:{\"variant\":!props.row[props.column.field]? 'light-success': 'light-danger'}},[_vm._v(\" \"+_vm._s(props.row[props.column.field]? 'Sim' : 'Não')+\" \")]):_vm._e()]}},{key:\"acoes\",fn:function(ref ){\nvar props = ref.props;\nreturn [_c('acoes',{ref:(\"acoes\" + (props.row.id)),attrs:{\"grid-props\":props},on:{\"atualizar-grid\":_vm.atualizarGrid}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default [{\r\n label: 'Razão social', field: 'razaoSocial',\r\n},\r\n{ label: 'CNPJ/CPF', field: 'cadastroFederal', tdClass: 'tamanho-cnpj' },\r\n{ label: 'PA', field: 'competencia' },\r\n{\r\n label: 'Valor informado faturamento', field: 'rpa', tdClass: 'col-tamanho-situacao text-center',\r\n},\r\n{\r\n label: 'Valor principal DAS', field: 'valorDas', tdClass: 'col-tamanho-situacao text-center',\r\n},\r\n{\r\n label: 'DAS em atraso no PA', field: 'dasEmAtraso', tdClass: 'col-tamanho-situacao text-center', type: 'custom',\r\n},\r\n{\r\n label: 'Débitos', field: 'hasDebitos', tdClass: 'col-tamanho-situacao text-center', type: 'custom',\r\n},\r\n{ label: 'Consultado em', field: 'consultadoEm' }]\r\n","\r\n \r\n \r\n \r\n \r\n As filiais não são exibidas devido ao fato de terem o mesmo relatório de pendencias que a Matriz.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n