{"version":3,"sources":["webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_nueva.vue","webpack:///src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_nueva.vue","webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_nueva.vue?af11","webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_nueva.vue?a5bd","webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_nueva.vue?e6b3"],"names":["render","_vm","this","_c","_self","attrs","staticClass","scopedSlots","_u","key","fn","staticStyle","_v","proxy","on","$event","preventDefault","saveCategoria","apply","arguments","_l","saveCategoriaobjet","Impuestos","data","index","listaImpuestos","updateDescripcion","option","_s","Impuesto","model","value","callback","$$v","$set","expression","Descripcion","Porcentaje","eliminarImpuesto","agregarImpuesto","Descuentos","listaDescuentos","updateDescripcionDescuento","Descuento","eliminarDescuento","agregarDescuento","waiting","$router","push","staticRenderFns","EmpresaId","Categoria","Object","valor","JSON","parse","localStorage","getItem","empresa","id","getData","methods","event","fromEntries","FormData","target","entries","$store","dispatch","path","then","response","respuesta","Swal","fire","title","text","icon","confirmButtonText","mensaje","error","selectedId","selectedImpuesto","find","descuento","ID","splice","$vs","notification","position","border","map","item","TextoLabel","impuesto","component"],"mappings":"uIAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,MAAM,CAAC,GAAK,OAAO,CAACF,EAAG,OAAO,CAACG,YAAY,OAAOC,YAAYN,EAAIO,GAAG,CAAC,CAACC,IAAI,cAAcC,GAAG,WAAW,MAAO,CAACP,EAAG,KAAK,CAACG,YAAY,8BAA8BK,YAAY,CAAC,YAAY,SAAS,CAACV,EAAIW,GAAG,uBAAuBC,OAAM,MAAS,CAACV,EAAG,OAAO,CAACG,YAAY,OAAOK,YAAY,CA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AAA8B,EAAAhD,KAEA,KAAAgE,IAAAC,aAAA,CACAC,SAAA,aACAd,MAAA,QACAC,KAAAL,EAAAQ,QACAW,OAAA,mBAKA,KAAAvB,OAAAC,SAAA,UACAC,KAAA,kCACAC,KAAAC,IACAA,EAAAC,YACA,KAAA/C,eAAA8C,EAAAhD,KAAAoE,IAAAC,IAAA,CACAP,GAAAO,EAAAP,GACAxD,SAAA+D,EAAA/D,SACAO,YAAAwD,EAAAxD,YACAyD,WAAA,GAAAD,EAAA/D,eAAA+D,EAAAxD,qBAKAG,kBACA,KAAAlB,mBAAAC,UAAA0B,KAAA,CACAnB,SAAA,KACAO,YAAA,KACAC,WAAA,KAGAC,iBAAAd,GACA,KAAAH,mBAAAC,UAAAgE,OAAA9D,EAAA,IAEAE,kBAAAF,GACA,MAAAyD,EAAA,KAAA5D,mBAAAC,UAAAE,GAAAK,SACAqD,EAAA,KAAAzD,eAAA0D,KAAAW,KAAAT,KAAAJ,GACA,KAAA5D,mBAAAC,UAAAE,GAAAY,YAAA8C,IAAA9C,YAAA,MC3Rub,I,wBCQnb2D,EAAY,eACd,EACA/F,EACAiD,GACA,EACA,KACA,KACA,MAIa,aAAA8C,E,2CCnBf,W","file":"js/chunk-67310265.09751b9b0164905bdfff.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-container',{attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('card',{staticClass:\"pb-5\",scopedSlots:_vm._u([{key:\"headerTitle\",fn:function(){return [_c('h4',{staticClass:\"card-title font-weight-bold\",staticStyle:{\"font-size\":\"30px\"}},[_vm._v(\"Nueva Categoría\")])]},proxy:true}])},[_c('form',{staticClass:\"px-4\",staticStyle:{\"height\":\"auto\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.saveCategoria.apply(null, arguments)}}},[_c('div',{staticClass:\"row pt-4 align-items-center\"},[_c('div',{staticClass:\"col-12 col-md-6 pb-3 pb-md-0\"},[_c('label',{attrs:{\"for\":\"nombre\"}},[_vm._v(\"nombre *\")]),_c('b-form-input',{attrs:{\"id\":\"nombre\",\"name\":\"nombre\",\"required\":\"\",\"placeholder\":\"Ingrese Nombre\",\"trim\":\"\"}})],1)]),_c('div',{staticClass:\"pt-3\"},[_c('label',{attrs:{\"for\":\"descripcion\"}},[_vm._v(\"Descripción\")]),_c('br'),_c('b-form-textarea',{staticClass:\"p-3\",attrs:{\"rows\":\"6\",\"id\":\"descripcion\",\"name\":\"descripcion\",\"placeholder\":\"Ingrese Descripción\",\"required\":\"\"}})],1),_c('div',{staticClass:\"d-flex flex-column pt-5 pb-2\"},[_c('h4',{staticClass:\"mb-2\",staticStyle:{\"font-size\":\"large\"}},[_vm._v(\"Impuestos\")]),_c('p',{staticClass:\"w-100\",staticStyle:{\"font-size\":\"13px\"}},[_vm._v(\"Los impuestos seran calculados en base al costo del articulo, y se van a ver reflejados en la factura\")]),_c('hr',{staticClass:\"w-100\",staticStyle:{\"height\":\"1px\",\"background\":\"var(--dark)\"}})]),_c('vs-table',{scopedSlots:_vm._u([{key:\"thead\",fn:function(){return [_c('vs-tr',{staticStyle:{\"background\":\"var(--body-bg) !important\"}},[_c('vs-th',{staticStyle:{\"min-width\":\"270px !important\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Impuesto \")]),_c('vs-th',{staticStyle:{\"min-width\":\"280px !important\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Descripcion \")]),_c('vs-th',{staticStyle:{\"min-width\":\"10rem\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Porcentaje \")]),_c('vs-th',{staticStyle:{\"min-width\":\"10rem\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Acciones \")])],1)]},proxy:true},{key:\"tbody\",fn:function(){return _vm._l((_vm.saveCategoriaobjet.Impuestos),function(data,index){return _c('vs-tr',{key:index},[_c('vs-td',[_c('b-form-select',{attrs:{\"name\":\"Impuesto\",\"options\":_vm.listaImpuestos,\"value-field\":'ID',\"text-field\":'TextoLabel',\"placeholder\":\"-- Seleccionar un Impuesto --\",\"required\":\"\"},on:{\"change\":function($event){return _vm.updateDescripcion(index)}},scopedSlots:_vm._u([{key:\"selected\",fn:function({ option }){return [_vm._v(\" \"+_vm._s(option?.Impuesto || '-- Seleccionar un Impuesto --')+\" \")]}},{key:\"first\",fn:function(){return [_c('b-form-select-option',{attrs:{\"value\":\"null\",\"disabled\":\"\"}},[_vm._v(\"-- Seleccionar un Impuesto --\")])]},proxy:true}],null,true),model:{value:(_vm.saveCategoriaobjet.Impuestos[index].Impuesto),callback:function ($$v) {_vm.$set(_vm.saveCategoriaobjet.Impuestos[index], \"Impuesto\", $$v)},expression:\"saveCategoriaobjet.Impuestos[index].Impuesto\"}})],1),_c('vs-td',[_vm._v(_vm._s(data.Descripcion))]),_c('vs-td',[_c('b-form-input',{attrs:{\"type\":\"number\",\"id\":\"Porcentaje\",\"name\":\"PorcentajeImpuesto\",\"disabled\":_vm.saveCategoriaobjet.Impuestos[index].Impuesto==null,\"aria-describedby\":\"input-live-help input-live-feedback\",\"placeholder\":\"Ingrese Porcentaje\",\"required\":\"\",\"trim\":\"\"},model:{value:(_vm.saveCategoriaobjet.Impuestos[index].Porcentaje),callback:function ($$v) {_vm.$set(_vm.saveCategoriaobjet.Impuestos[index], \"Porcentaje\", $$v)},expression:\"saveCategoriaobjet.Impuestos[index].Porcentaje\"}})],1),_c('vs-td',[_c('vs-button',{staticClass:\"bg-danger\",on:{\"click\":function($event){$event.preventDefault();return _vm.eliminarImpuesto(index)}}},[_c('ion-icon',{attrs:{\"name\":\"trash-outline\"}})],1)],1)],1)})},proxy:true},{key:\"footer\",fn:function(){return [_c('div',{staticClass:\"d-flex justify-content-center\"},[_c('vs-button',{staticClass:\"d-flex\",staticStyle:{\"gap\":\"1rem\"},attrs:{\"primary\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.agregarImpuesto.apply(null, arguments)}}},[_c('ion-icon',{staticStyle:{\"font-size\":\"1.6rem\"},attrs:{\"name\":\"add-outline\"}}),_vm._v(\" Agregar Impuesto \")],1)],1)]},proxy:true}])}),_c('div',{staticClass:\"d-flex flex-column pt-5 pb-2\"},[_c('h4',{staticClass:\"mb-2\",staticStyle:{\"font-size\":\"large\"}},[_vm._v(\"Descuentos\")]),_c('p',{staticClass:\"w-100\",staticStyle:{\"font-size\":\"13px\"}},[_vm._v(\"Los Descuentos seran calculados en base al costo del articulo, y se van a ver reflejados en la factura\")]),_c('hr',{staticClass:\"w-100\",staticStyle:{\"height\":\"1px\",\"background\":\"var(--dark)\"}})]),_c('vs-table',{scopedSlots:_vm._u([{key:\"thead\",fn:function(){return [_c('vs-tr',{staticStyle:{\"background\":\"var(--body-bg) !important\"}},[_c('vs-th',{staticStyle:{\"min-width\":\"270px !important\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Descuento \")]),_c('vs-th',{staticStyle:{\"min-width\":\"280px !important\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Descripcion \")]),_c('vs-th',{staticStyle:{\"min-width\":\"10rem\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Porcentaje \")]),_c('vs-th',{staticStyle:{\"min-width\":\"10rem\",\"background\":\"var(--body-bg) !important\"}},[_vm._v(\" Acciones \")])],1)]},proxy:true},{key:\"tbody\",fn:function(){return _vm._l((_vm.saveCategoriaobjet.Descuentos),function(data,index){return _c('vs-tr',{key:index},[_c('vs-td',[_c('b-form-select',{attrs:{\"name\":\"Impuesto\",\"options\":_vm.listaDescuentos,\"value-field\":'ID',\"text-field\":'Descuento',\"placeholder\":\"-- Seleccionar un Impuesto --\",\"required\":\"\"},on:{\"change\":function($event){return _vm.updateDescripcionDescuento(index)}},scopedSlots:_vm._u([{key:\"selected\",fn:function({ option }){return [_vm._v(\" \"+_vm._s(option?.Impuesto || '-- Seleccionar un Impuesto --')+\" \")]}},{key:\"first\",fn:function(){return [_c('b-form-select-option',{attrs:{\"value\":\"null\",\"disabled\":\"\"}},[_vm._v(\"-- Seleccionar un Impuesto --\")])]},proxy:true}],null,true),model:{value:(_vm.saveCategoriaobjet.Descuentos[index].Descuento),callback:function ($$v) {_vm.$set(_vm.saveCategoriaobjet.Descuentos[index], \"Descuento\", $$v)},expression:\"saveCategoriaobjet.Descuentos[index].Descuento\"}})],1),_c('vs-td',[_vm._v(_vm._s(data.Descripcion))]),_c('vs-td',[_vm._v(\" \"+_vm._s(_vm.saveCategoriaobjet.Descuentos[index].Porcentaje)+\" % \")]),_c('vs-td',[_c('vs-button',{staticClass:\"bg-danger\",on:{\"click\":function($event){$event.preventDefault();return _vm.eliminarDescuento(index)}}},[_c('ion-icon',{attrs:{\"name\":\"trash-outline\"}})],1)],1)],1)})},proxy:true},{key:\"footer\",fn:function(){return [_c('div',{staticClass:\"d-flex justify-content-center\"},[_c('vs-button',{staticClass:\"d-flex\",staticStyle:{\"gap\":\"1rem\"},attrs:{\"primary\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.agregarDescuento.apply(null, arguments)}}},[_c('ion-icon',{staticStyle:{\"font-size\":\"1.6rem\"},attrs:{\"name\":\"add-outline\"}}),_vm._v(\" Agregar Descuento \")],1)],1)]},proxy:true}])}),_c('div',{staticClass:\"d-flex pt-4 justify-content-end\"},[_c('vs-button',{attrs:{\"size\":\"large\",\"loading\":_vm.waiting}},[_vm._v(\"Guardar\")]),_c('vs-button',{staticClass:\"bg-danger\",attrs:{\"size\":\"large\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$router.push('Categorias')}}},[_vm._v(\"Cancelar\")])],1)],1)])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n Nueva Categoría\r\n \r\n \r\n \r\n \r\n nombre *\r\n \r\n \r\n \r\n \r\n Descripción\r\n \r\n \r\n\r\n \r\n Impuestos\r\n Los impuestos seran calculados en base al costo del\r\n articulo, y se van a ver reflejados en la factura\r\n \r\n \r\n \r\n \r\n \r\n \r\n Impuesto\r\n \r\n \r\n Descripcion\r\n \r\n \r\n Porcentaje\r\n \r\n \r\n Acciones\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ option?.Impuesto || '-- Seleccionar un Impuesto --' }}\r\n \r\n \r\n \r\n -- Seleccionar un Impuesto --\r\n \r\n \r\n \r\n {{ data.Descripcion }}\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 \r\n Agregar Impuesto\r\n \r\n \r\n \r\n \r\n \r\n Descuentos\r\n Los Descuentos seran calculados en base al costo del\r\n articulo, y se van a ver reflejados en la factura\r\n \r\n \r\n \r\n \r\n \r\n \r\n Descuento\r\n \r\n \r\n Descripcion\r\n \r\n \r\n Porcentaje\r\n \r\n \r\n Acciones\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ option?.Impuesto || '-- Seleccionar un Impuesto --' }}\r\n \r\n \r\n -- Seleccionar un Impuesto --\r\n \r\n \r\n \r\n {{ data.Descripcion }}\r\n \r\n {{ saveCategoriaobjet.Descuentos[index].Porcentaje }} %\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 Agregar Descuento\r\n \r\n \r\n \r\n \r\n \r\n Guardar\r\n Cancelar\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Categoria_nueva.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Categoria_nueva.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Categoria_nueva.vue?vue&type=template&id=4c31b65c\"\nimport script from \"./Categoria_nueva.vue?vue&type=script&lang=js\"\nexport * from \"./Categoria_nueva.vue?vue&type=script&lang=js\"\nimport style0 from \"./Categoria_nueva.vue?vue&type=style&index=0&id=4c31b65c&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Categoria_nueva.vue?vue&type=style&index=0&id=4c31b65c&prod&lang=css\""],"sourceRoot":""}
Los impuestos seran calculados en base al costo del\r\n articulo, y se van a ver reflejados en la factura
Los Descuentos seran calculados en base al costo del\r\n articulo, y se van a ver reflejados en la factura