{"version":3,"sources":["webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_editar.vue?db50","webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_editar.vue","webpack:///src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_editar.vue","webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_editar.vue?718e","webpack:///./src/views/Helexium/Erp/Contabilidad/Articulos/Categoria_editar.vue?6cfd"],"names":["render","_vm","this","_c","_self","attrs","staticClass","scopedSlots","_u","key","fn","staticStyle","_v","proxy","on","$event","preventDefault","saveCategoria","apply","arguments","saveCategoriaobjet","Categoria","Nombre","Descripcion","_l","Impuestos","data","index","listaImpuestos","updateDescripcion","option","_s","Impuesto","model","value","callback","$$v","$set","expression","Porcentaje","eliminarImpuesto","agregarImpuesto","Descuentos","listaDescuentos","updateDescripcionDescuento","Descuento","eliminarDescuento","agregarDescuento","waiting","$router","push","staticRenderFns","Id","valor","JSON","parse","localStorage","getItem","EmpresaId","empresa","id","GetCategoria","methods","$store","dispatch","path","then","response","respuesta","map","item","ID","TextoLabel","$vs","notification","position","title","text","mensaje","border","$route","params","res","Swal","fire","icon","confirmButtonText","error","selectedId","selectedImpuesto","find","descuento","splice","impuesto","component"],"mappings":"2IAAA,W,uDCAIA,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,wBAAwBC,OAAM,MAAS,CAACV,EAAG,OAAO,CAACG,YAAY,OAAOK,YAAY,CA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AA,CACAR,MAAA,QACAC,KAAAV,EAAAW,QACAO,KAAA,QACAC,kBAAA,YAGA,MAAAC,GACAJ,IAAAC,KAAA,CACAR,MAAA,QACAC,KAAA,6BACAQ,KAAA,QACAC,kBAAA,YAEA,QACA,KAAAtC,SAAA,IAGAJ,2BAAAjB,GACA,MAAA6D,EAAA,KAAApE,mBAAAsB,WAAAf,GAAAkB,UACA4C,EAAA,KAAA9C,gBAAA+C,KAAAC,KAAApB,KAAAiB,GAEA,KAAApE,mBAAAsB,WAAAf,GAAAJ,YAAAkE,EACAA,EAAAlE,YAAA,GACA,KAAAH,mBAAAsB,WAAAf,GAAAY,WAAAkD,EACAA,EAAAlD,WAAA,IAEAQ,mBACA,KAAA3B,mBAAAsB,WAAAQ,KAAA,CACAL,UAAA,KACAtB,YAAA,KACAgB,WAAA,KAGAO,kBAAAnB,GACA,KAAAP,mBAAAsB,WAAAkD,OAAAjE,EAAA,IAEAc,kBACA,KAAArB,mBAAAK,UAAAyB,KAAA,CACAlB,SAAA,KACAT,YAAA,KACAgB,WAAA,KAGAC,iBAAAb,GACA,KAAAP,mBAAAK,UAAAmE,OAAAjE,EAAA,IAEAE,kBAAAF,GACA,MAAA6D,EAAA,KAAApE,mBAAAK,UAAAE,GAAAK,SACAyD,EAAA,KAAA7D,eAAA8D,KAAAG,KAAAtB,KAAAiB,GACA,KAAApE,mBAAAK,UAAAE,GAAAJ,YAAAkE,IAAAlE,YAAA,MCvSwb,I,wBCQpbuE,EAAY,eACd,EACA9F,EACAmD,GACA,EACA,KACA,KACA,MAIa,aAAA2C,E","file":"js/chunk-6c065ecf.7f5e2fc2875ec3439000.js","sourcesContent":["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_editar.vue?vue&type=style&index=0&id=a8a2b494&prod&lang=css\"","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(\"Editar 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\":\"\",\"value\":_vm.saveCategoriaobjet.Categoria.Nombre}})],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\":\"\",\"value\":_vm.saveCategoriaobjet.Categoria.Descripcion}})],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 veran 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('/helex/Erp/Contabilidad/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 Editar 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 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 veran 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\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_editar.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_editar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Categoria_editar.vue?vue&type=template&id=a8a2b494\"\nimport script from \"./Categoria_editar.vue?vue&type=script&lang=js\"\nexport * from \"./Categoria_editar.vue?vue&type=script&lang=js\"\nimport style0 from \"./Categoria_editar.vue?vue&type=style&index=0&id=a8a2b494&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"],"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 veran reflejados en la factura