(window.webpackJsonp=window.webpackJsonp||[]).push([[339],{1336:function(t,e,o){"use strict";o.r(e);var l={props:{data:{type:Object,default:function(){}}},computed:{item:{get:function(){return this.data||{}},set:function(data){this.$emit("update:data",data)}}},methods:{cancelHistoricoModal:function(){this.$bvModal.hide("editHistoricoModal")}}},n=o(42),component=Object(n.a)(l,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("b-modal",{attrs:{id:"editHistoricoModal",size:"lg",scrollable:"",centered:"","hide-header-close":"","hide-footer":""},scopedSlots:t._u([{key:"modal-header",fn:function(){return[o("div",{staticClass:"d-flex"},[o("fa-icon",{staticStyle:{"font-size":"1.3rem","margin-top":"15px"},attrs:{icon:"tools"}}),t._v(" "),o("h4",{staticClass:"ml-3 mt-3"},[t._v("Historico")])],1)]},proxy:!0}])},[t._v(" "),o("b-form",[o("b-row",{staticClass:"mt-2"},[o("b-col",{attrs:{xl:"6"}},[o("b-form-group",{attrs:{label:"Mês/Ano:"}},[o("b-form-input",{model:{value:t.item.mesAno,callback:function(e){t.$set(t.item,"mesAno",e)},expression:"item.mesAno"}})],1)],1),t._v(" "),o("b-col",{attrs:{xl:"6"}},[o("b-form-group",{attrs:{label:"Tipo Índice:"}},[o("b-form-select",{attrs:{options:["IPCA","IGPM"]},scopedSlots:t._u([{key:"first",fn:function(){return[o("b-form-select-option",{attrs:{disabled:"",value:""}},[t._v("Selecione")])]},proxy:!0}]),model:{value:t.item.indiceIPCA,callback:function(e){t.$set(t.item,"indiceIPCA",e)},expression:"item.indiceIPCA"}})],1)],1)],1),t._v(" "),o("b-row",{staticClass:"mt-2"},[o("b-col",{attrs:{xl:"6"}},[o("b-form-group",{attrs:{label:"Índice do mês:"}},[o("b-form-input",{model:{value:t.item.indiceMes,callback:function(e){t.$set(t.item,"indiceMes",e)},expression:"item.indiceMes"}})],1)],1),o("b-col",{attrs:{xl:"6"}},[o("b-form-group",{attrs:{label:"Índice"}},[o("b-form-input",{model:{value:t.item.valor,callback:function(e){t.$set(t.item,"valor",e)},expression:"item.valor"}})],1)],1)],1),t._v(" "),o("b-row",{staticClass:"mt-2"},[o("b-col",{attrs:{xl:"6"}},[o("b-form-group",{attrs:{label:"Índice acumulado do ano:"}},[o("b-form-input",{model:{value:t.item.indiceAno,callback:function(e){t.$set(t.item,"indiceAno",e)},expression:"item.indiceAno"}})],1)],1),o("b-col",{attrs:{xl:"6"}},[o("b-form-group",{attrs:{label:"Índice acumulado 12 meses:"}},[o("b-form-input",{model:{value:t.item.indiceMeses,callback:function(e){t.$set(t.item,"indiceMeses",e)},expression:"item.indiceMeses"}})],1)],1)],1),t._v(" "),o("b-row",{staticClass:"mt-2"},[o("b-col",[o("b-btn",{staticClass:"my-2 ml-2 rounded",attrs:{size:"sm",variant:"primary",type:"submit"}},[o("fa-icon",{attrs:{icon:"save"}}),t._v(" "),o("span",{staticClass:"ml-1"},[t._v("Salvar")])],1),t._v(" "),o("b-btn",{staticClass:"my-2 ml-2 rounded",attrs:{size:"sm",variant:"outline-secondary"},on:{click:t.cancelHistoricoModal}},[o("fa-icon",{attrs:{icon:"times"}}),t._v(" "),o("span",{staticClass:"ml-1"},[t._v("Cancelar")])],1)],1),t._v(" "),Object.keys(t.item).length>0?o("b-col",{staticClass:"text-right"},[o("b-button",{staticClass:"my-2 ml-2 rounded",attrs:{size:"sm",variant:"outline-danger"}},[o("fa-icon",{attrs:{icon:"trash-alt"}}),t._v(" "),o("span",{staticClass:"ml-1"},[t._v("Excluir")])],1)],1):t._e()],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=bc6ecba-1.2.11.js.map