{"version":3,"sources":["webpack:///./src/modules/dashboard/components/ButtonDelete.vue","webpack:///src/modules/dashboard/components/ButtonDelete.vue","webpack:///./src/modules/dashboard/components/ButtonDelete.vue?ad7b","webpack:///./src/modules/dashboard/components/ButtonDelete.vue?6bcb","webpack:///./src/modules/dashboard/catalogue/components/products/Edit.vue","webpack:///src/modules/dashboard/catalogue/components/products/Edit.vue","webpack:///./src/modules/dashboard/catalogue/components/products/Edit.vue?d234","webpack:///./src/modules/dashboard/catalogue/components/products/Edit.vue?2822"],"names":["render","_vm","this","_c","_self","attrs","model","value","visible","callback","$$v","expression","_v","staticStyle","staticClass","on","$event","handleOnConfirm","isShowButton","slot","icoTrash","staticRenderFns","name","data","methods","$emit","props","type","Boolean","default","component","product","ref","rules","onConfirmDelete","handleSaveClick","image","onFileBase64","_t","cod_main_product","$set","code","amount","onInputAmount","taxes_id","onSelectTax","categories_id","onChangeSelectCategories","_e","description","onInputChange","_l","productTypes","option","index","key","label","status_product","onStatusProduct","stocks","stock","is_stock_counter","_s","establishment","quantity","onTrackingProduct","apiResponse","message","Validate","required","numeric","computed","base64","onChangeInput","_objectSpread","_ref","_ref2","tracking","_ref3","status","_ref4","selectCategories","_ref5","id","onSaveVariations","_ref6","variations","_this","$refs","form","validate","_ref7","_asyncToGenerator","_regeneratorRuntime","mark","_callee","valid","response","_response$data","success","wrap","_context","prev","next","$store","dispatch","catalogueService","updateProductId","finally","sent","$notifications","t0","abrupt","stop","_x","apply","arguments","handleGetProductId","productId","_this2","_callee2","_context2","getProductId","_this3","_callee3","_response$data2","_context3","deleteProductId","$router","push","components","TopBarTitleComponent","ButtonPrimaryComponent","ButtonDeleteComponent","FileUploadComponent","InputTextComponent","SelectCategories","TransitionFadeComponent","SwitchTracking","SwitchStatus","InputAmount","SelectTaxes","mounted","$route","params"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,aAAa,CAACE,M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,EAAA0D,EAAA1D,QAAApC,EAAA8F,EAAA9F,QACAoE,IACAwB,EAAA5F,UACA4F,EAAAb,eAAAX,QAAA,CACAhC,aAGA8B,EAAA1E,KAAA4E,SACAwB,EAAAK,QAAAC,KAAA,CAAA3G,KAAA,uBACAwG,EAAAvB,KAAA,wBAAAuB,EAAAxB,KAAA,GAAAwB,EAAAf,GAAAe,EAAA,YAAAA,EAAAd,OAAA,UAEA,4BAAAc,EAAAb,UAAAW,EAAA,kBAnBAhC,KAuBAsC,WAAA,CACAC,4BACAC,8BACAC,6BACAC,2BACAC,0BAEAC,wBACAC,+BACAC,sBACAC,oBACAC,mBACAC,oBAEAC,QAAA,WACA,IAAAxB,EAAA,KAAAyB,OAAAC,OAAA7D,GACAmC,GAAA,KAAAD,mBAAAC,KC9TyY,I,YCOrYxF,EAAY,eACd,EACA9B,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAAS,E","file":"js/chunk-56599fbf.8d30384b.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-popover',{attrs:{\"placement\":\"bottom\",\"width\":\"250\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('p',[_vm._v(\"En caso si desea sincronizar debera activar el estado del producto y guardar el registro, ¿Seguro en querer eliminar?\")]),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin\":\"0\"}},[_c('button',{staticClass:\"btn md__btn-link\",on:{\"click\":function($event){_vm.visible = false}}},[_vm._v(\" Cancelar \")]),_c('button',{staticClass:\"btn md__btn-link text-color-secondary\",on:{\"click\":_vm.handleOnConfirm}},[_vm._v(\" Confirmar \")])]),(_vm.isShowButton)?_c('button',{staticClass:\"btn md__btn-third-secondary cursor-point\",attrs:{\"slot\":\"reference\",\"type\":\"button\"},slot:\"reference\"},[_vm._v(\" Eliminar \")]):_c('button',{staticClass:\"btn md__btn-link bgt p-0 m-0 float-right cursor-point\",attrs:{\"slot\":\"reference\",\"type\":\"button\"},slot:\"reference\"},[_c('img',{attrs:{\"src\":_vm.icoTrash,\"alt\":\"ico trash\"}})])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n En caso si desea sincronizar debera activar el estado del producto y guardar el registro, ¿Seguro en querer eliminar?\n \n \n Cancelar\n \n \n Confirmar\n \n \n \n Eliminar\n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../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!./ButtonDelete.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/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!./ButtonDelete.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ButtonDelete.vue?vue&type=template&id=c8a70d5a\"\nimport script from \"./ButtonDelete.vue?vue&type=script&lang=js\"\nexport * from \"./ButtonDelete.vue?vue&type=script&lang=js\"\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","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.product)?_c('div',{},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.product,\"rules\":_vm.rules}},[_c('TopBarTitleComponent',{attrs:{\"title\":\"Productos\",\"showBackIcon\":true}},[_c('template',{slot:\"right-area\"},[_c('div',{staticClass:\"d-flex justify-content-end align-items-center\"},[_c('ButtonDeleteComponent',{staticClass:\"mr-4\",on:{\"onConfirmDelete\":_vm.onConfirmDelete}}),_c('ButtonPrimaryComponent',{attrs:{\"title\":\"Actualizar\"},on:{\"onSaveClick\":_vm.handleSaveClick}})],1)])],2),_c('b-container',{staticClass:\"pb-4 px-lg-4\",attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',{attrs:{\"xs\":\"12\",\"sm\":\"12\",\"md\":\"6\"}},[_c('div',{staticClass:\"card box-shadow\"},[_c('div',{staticClass:\"card-body\"},[_c('FileUploadComponent',{attrs:{\"title\":\"Subir imagen\",\"showFileList\":false,\"preview\":_vm.product.image},on:{\"fileBase64\":_vm.onFileBase64}}),_c('el-form-item',{attrs:{\"prop\":\"name\"}},[_vm._t(\"label\",function(){return [_c('label',{staticClass:\"font-semi-bold m-0\"},[_vm._v(\" Nombre del Servicio / Producto \")])]}),_c('el-input',{attrs:{\"type\":\"text\",\"disabled\":_vm.product.cod_main_product != 0},model:{value:(_vm.product.name),callback:function ($$v) {_vm.$set(_vm.product, \"name\", $$v)},expression:\"product.name\"}})],2),_c('el-form-item',{attrs:{\"prop\":\"code\"}},[_vm._t(\"label\",function(){return [_c('label',{staticClass:\"font-semi-bold m-0\"},[_vm._v(\"Código/SKU\")])]}),_c('el-input',{attrs:{\"type\":\"text\"},model:{value:(_vm.product.code),callback:function ($$v) {_vm.$set(_vm.product, \"code\", $$v)},expression:\"product.code\"}})],2),_c('el-form-item',{attrs:{\"prop\":\"amount\"}},[_vm._t(\"label\",function(){return [_c('label',{staticClass:\"font-semi-bold m-0\"},[_vm._v(\"Precio\")])]}),_c('InputAmount',{attrs:{\"amount\":_vm.product.amount},on:{\"onChange\":amount => _vm.onInputAmount(amount, 'amount')}})],2),_c('el-form-item',{attrs:{\"prop\":\"taxes_id\"}},[_vm._t(\"label\",function(){return [_c('label',{staticClass:\"font-semi-bold m-0\"},[_vm._v(\"IVA\")])]}),_c('SelectTaxes',{attrs:{\"setTaxesId\":_vm.product.taxes_id},on:{\"onSelectTax\":_vm.onSelectTax}})],2),(_vm.product.cod_main_product == 0)?_c('el-form-item',{attrs:{\"prop\":\"categories_id\"}},[_c('SelectCategories',{attrs:{\"setSelectCategories\":_vm.product.categories_id},on:{\"onChangeSelect\":_vm.onChangeSelectCategories}})],1):_vm._e(),_c('el-form-item',{attrs:{\"prop\":\"description\"}},[_vm._t(\"label\",function(){return [_c('label',{staticClass:\"font-semi-bold m-0\"},[_vm._v(\" Descripción de la categoría \"),_c('span',{staticClass:\"text-muted\"},[_vm._v(\" (detalle a visualizar en los documentos) \")])])]}),_c('InputTextComponent',{attrs:{\"maxlength\":\"null\",\"showWordLimit\":false,\"value\":_vm.product.description},on:{\"onInputChange\":_vm.onInputChange}})],2)],1)])]),_c('b-col',{attrs:{\"xs\":\"12\",\"sm\":\"12\",\"md\":\"6\"}},[_c('div',{staticClass:\"card box-shadow mb-4\"},[_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"h5 text-color-primary font-semi-bold line-bottom pb-2\"},[_vm._v(\" Tipo de Producto \")]),_c('el-form-item',{attrs:{\"prop\":\"type\"}},[_c('el-select',{attrs:{\"placeholder\":\"Seleccionar\",\"disabled\":\"\"},model:{value:(_vm.product.type),callback:function ($$v) {_vm.$set(_vm.product, \"type\", $$v)},expression:\"product.type\"}},_vm._l((_vm.productTypes),function(option,index){return _c('el-option',{key:index,attrs:{\"label\":option.label,\"value\":option.value}})}),1)],1)],1)]),_c('div',{staticClass:\"card box-shadow mb-4\"},[_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"h5 text-color-primary font-semi-bold line-bottom pb-2\"},[_vm._v(\" Estado de Producto \")]),_c('el-form-item',{attrs:{\"prop\":\"status_product\"}},[_c('SwitchStatus',{attrs:{\"setValue\":_vm.product.status_product},on:{\"update:setValue\":function($event){return _vm.$set(_vm.product, \"status_product\", $event)},\"update:set-value\":function($event){return _vm.$set(_vm.product, \"status_product\", $event)},\"onStatus\":_vm.onStatusProduct}})],1)],1)]),_c('TransitionFadeComponent',[_c('div',{staticClass:\"card box-shadow mb-4\"},[_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"h5 text-color-primary font-semi-bold line-bottom pb-2\"},[_vm._v(\" Gestión de inventario \")]),_vm._l((_vm.product.stocks),function(stock,index){return _c('TransitionFadeComponent',{key:index},[(_vm.product.is_stock_counter)?_c('el-form-item',{attrs:{\"prop\":\"stock\"}},[_vm._t(\"label\",function(){return [_c('label',{staticClass:\"font-semi-bold m-0\"},[_vm._v(\" \"+_vm._s(stock.establishment)+\" \")])]}),_c('el-input-number',{attrs:{\"controls\":false,\"min\":0,\"placeholder\":\"Cantidad\"},model:{value:(_vm.product.stocks[index].quantity),callback:function ($$v) {_vm.$set(_vm.product.stocks[index], \"quantity\", $$v)},expression:\"product.stocks[index].quantity\"}})],2):_vm._e()],1)}),_c('el-form-item',{attrs:{\"prop\":\"is_stock_counter\"}},[_c('SwitchTracking',{attrs:{\"setValue\":_vm.product.is_stock_counter},on:{\"update:setValue\":function($event){return _vm.$set(_vm.product, \"is_stock_counter\", $event)},\"update:set-value\":function($event){return _vm.$set(_vm.product, \"is_stock_counter\", $event)},\"onTracking\":_vm.onTrackingProduct}})],1)],2)])])],1)],1)],1)],1)],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n Nombre del Servicio / Producto\n \n \n \n \n \n \n Código/SKU\n \n \n \n \n \n Precio\n \n onInputAmount(amount, 'amount')\"\n />\n \n \n \n IVA\n \n \n \n \n \n \n \n \n \n Descripción de la categoría\n \n (detalle a visualizar en los documentos)\n \n \n \n \n \n \n \n \n \n \n \n Tipo de Producto\n \n \n \n \n \n \n \n \n \n \n \n Estado de Producto\n \n \n \n \n \n \n\n \n \n \n \n Gestión de inventario\n \n \n \n \n \n {{ stock.establishment }}\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../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!./Edit.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/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!./Edit.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=284e9f4c\"\nimport script from \"./Edit.vue?vue&type=script&lang=js\"\nexport * from \"./Edit.vue?vue&type=script&lang=js\"\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":""}
En caso si desea sincronizar debera activar el estado del producto y guardar el registro, ¿Seguro en querer eliminar?