{"version":3,"sources":["webpack:///./src/views/modules/product/RawMaterialForm.vue?f0e9","webpack:///./src/views/modules/product/TypeRawMaterialDialog.vue?7aa9","webpack:///src/views/modules/product/TypeRawMaterialDialog.vue","webpack:///./src/views/modules/product/TypeRawMaterialDialog.vue?4ba5","webpack:///./src/views/modules/product/TypeRawMaterialDialog.vue","webpack:///./src/services/modules/product/TypeRawMaterial.service.js","webpack:///src/views/modules/product/RawMaterialForm.vue","webpack:///./src/views/modules/product/RawMaterialForm.vue?4780","webpack:///./src/views/modules/product/RawMaterialForm.vue","webpack:///./src/model/types/resource/SettingType.js","webpack:///./src/services/modules/general/TypeMeasure.service.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","noOptionAdd","on","onTypeRawMaterialDialog","currentPage","singularTitle","t","pageTitle","command","status","generalErrors","checkErrorsComponent","name","pageFormIsLoaded","onSubmit","scopedSlots","_u","key","fn","ref","model","value","form","callback","$$v","$set","expression","error","modeCodeLabel","SettingType","mode","MODE_CODE_LABEL_MANUAL","rawMaterialCodeLabel","MODE_CODE_LABEL_AUTOMATIC_DEFAULT","_e","typeRawMaterialOptions","search","$event","addNoOption","_v","openDialogForm","proxy","typeMeasureOptions","userAuth","entityFieldCustomized","instrumentId","pageId","fieldKey","staticClass","directives","rawName","availableAllGroups","_l","family","groupId","_s","groupLabel","selectGroup","options","item","groupsProduct","find","a","groupProductId","addGroupSelected","text","staticRenderFns","title","okText","id","showModal","resetModal","components","mixins","pageDialogFormMixin","data","typeRawMaterialId","note","methods","watch","component","path","service","params","http","list","pageDefaultMixin","genKey","enableGeneralFields","rawMaterialId","measureId","groupProductOptions","mountedPrepare","checked","el","indexRemove","itemInserted","push","type","TYPE_MODEL_CODE_LABEL","TYPE_INSTRUMENT_CODE_LABEL","TYPE_COMPONENT_CODE_LABEL","TYPE_COMPOUND_CODE_LABEL","TYPE_RAW_MATERIAL_CODE_LABEL","TYPE_MATERIAL_CODE_LABEL","TYPE_MACHINE_CODE_LABEL","TYPE_E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BC,yBAA0B,EAC1BC,6BAA8B,EAC9BC,yBAA0B,EAC1BC,wBAAyB,EACzBC,yBAA0B,EAC1BC,0CAA2C,EAC3CC,2BAA4B,GAC5BC,4BAA6B,GAC7BC,+BAAgC,GAChCC,0BAA2B,GAC3BC,4BAA6B,GAC7BC,0BAA2B,IAGzBxH,EAAS,CACXyH,qBAAsB,oBAGpBpF,EAAO,CACTG,kCAAmC,oBACnCF,uBAAwB,UAGb,QACXmE,OACAzG,SACAqC,S,0EC3BEmD,EAAO,uBAEPC,E,gGAEF,SAAWC,GACP,OAAOC,OAAKC,KAAKJ,EAAO,cAAcE,O,KAM/B,WAAID","file":"js/chunk-74b7d581.12faab45.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page',[_c('TypeRawMaterialDialog',{attrs:{\"no-option-add\":_vm.noOptionAdd},on:{\"onSubmit\":_vm.onTypeRawMaterialDialog}}),_c('t-page-form',{attrs:{\"multi-cards\":\"\",\"submit-text\":_vm.currentPage.singularTitle,\"title\":_vm.t('form-of')+_vm.currentPage.pageTitle,\"command\":_vm.command,\"status\":_vm.status,\"generalErrors\":_vm.generalErrors,\"check-errors-again\":_vm.checkErrorsComponent,\"go-back-title\":_vm.t('go-back-list'),\"go-back-to\":_vm.currentPage.name,\"busy\":!_vm.pageFormIsLoaded},on:{\"onSubmit\":_vm.onSubmit},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar status = ref.status;\nreturn [_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.rawMaterialId),callback:function ($$v) {_vm.$set(_vm.form, \"rawMaterialId\", $$v)},expression:\"form.rawMaterialId\"}}),_c('t-form-card',{attrs:{\"title\":\"Dados Básicos\"}},[_c('b-row',[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Descrição\",\"cols\":\"9\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}}),(_vm.modeCodeLabel === _vm.SettingType.mode.MODE_CODE_LABEL_MANUAL)?_c('t-input',{attrs:{\"add-error\":_vm.error.rawMaterialCodeLabel,\"upper\":\"\",\"cols\":\"3\",\"label\":\"Cód. Matéria-Prima\",\"code-label\":\"\",\"help\":\"Código inserido manualmente conforme configurado em Produtos > Configurações > Parâmetros\",\"required\":\"\"},model:{value:(_vm.form.rawMaterialCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"rawMaterialCodeLabel\", $$v)},expression:\"form.rawMaterialCodeLabel\"}}):(_vm.modeCodeLabel === _vm.SettingType.mode.MODE_CODE_LABEL_AUTOMATIC_DEFAULT)?_c('t-input',{attrs:{\"add-error\":_vm.error.rawMaterialCodeLabel,\"upper\":\"\",\"cols\":\"3\",\"fixed\":\"\",\"label\":\"Cód. Matéria-Prima\",\"help\":\"Código inserido automaticamente conforme configurado em Produtos > Configurações > Parâmetros\"},model:{value:(_vm.form.rawMaterialCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"rawMaterialCodeLabel\", $$v)},expression:\"form.rawMaterialCodeLabel\"}}):_vm._e()],1),_c('t-input',{attrs:{\"options\":_vm.typeRawMaterialOptions,\"label\":\"Tipo de Matéria-Prima\",\"select\":\"\",\"required\":\"\"},scopedSlots:_vm._u([{key:\"no-options\",fn:function(ref){\nvar search = ref.search;\nreturn [_c('b-link',{on:{\"click\":function($event){return _vm.addNoOption('modal-type-raw-material',search)}}},[_vm._v(\"Cadastrar Tipo\")])]}},{key:\"input-group-append\",fn:function(){return [_c('t-button',{attrs:{\"title\":\"Adicionar novo tipo\",\"icon-plus\":\"\"},on:{\"click\":function($event){return _vm.openDialogForm('modal-type-raw-material')}}})]},proxy:true}],null,true),model:{value:(_vm.form.typeRawMaterialId),callback:function ($$v) {_vm.$set(_vm.form, \"typeRawMaterialId\", $$v)},expression:\"form.typeRawMaterialId\"}}),_c('t-input',{attrs:{\"label\":\"Tipo de Medida\",\"options\":_vm.typeMeasureOptions,\"select\":\"\",\"required\":\"\"},model:{value:(_vm.form.measureId),callback:function ($$v) {_vm.$set(_vm.form, \"measureId\", $$v)},expression:\"form.measureId\"}}),_c('t-page-form-field-customized',{ref:\"fieldsGeneral\",attrs:{\"command\":_vm.command,\"status\":status,\"user-auth\":_vm.userAuth,\"fields-customizable\":_vm.entityFieldCustomized('page'),\"primary-key\":_vm.form.instrumentId,\"foreign-key\":_vm.currentPage.pageId,\"busy\":!_vm.pageFormIsLoaded,\"primary-key-column\":_vm.fieldKey,\"foreign-key-column\":\"pageId\"}}),_c('t-input',{attrs:{\"label\":\"Observações\",\"max-length\":\"500\",\"textarea\":\"\"},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}}),_c('t-input-status',{model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, \"status\", $$v)},expression:\"form.status\"}})],1),_c('t-form-card',{attrs:{\"title\":\"Grupos de produtos\",\"icon-folder\":\"\"}},[_c('b-form-checkbox',{staticClass:\"col-sm-12 ml-2\",attrs:{\"switch\":\"\"},model:{value:(_vm.form.availableAllGroups),callback:function ($$v) {_vm.$set(_vm.form, \"availableAllGroups\", $$v)},expression:\"form.availableAllGroups\"}},[_vm._v(\" Disponibilizar esta matéria-prima a todos os grupos de produtos? \"),_c('t-help',{attrs:{\"title\":\"Você poderá especificar quais os produtos podem utilizar esta matéria-prima, basta desmarcar esta opção e selecionar os grupos de produtos desejados.\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.form.availableAllGroups),expression:\"!form.availableAllGroups\"}],staticClass:\"mt-2\"},_vm._l((_vm.groupProductOptions),function(family){return _c('div',{key:family.groupId,staticClass:\"pb-2 mb-2 border-bottom\"},[_c('h6',{staticClass:\"mb-0\"},[_c('b',[_vm._v(_vm._s(family.groupLabel))])]),_c('div',{staticClass:\"mb-2\"},[_c('small',[_c('b-link',{on:{\"click\":function($event){return _vm.selectGroup(true,family.options)}}},[_vm._v(\"Todos\")]),_vm._v(\" | \"),_c('b-link',{on:{\"click\":function($event){return _vm.selectGroup(false,family.options)}}},[_vm._v(\"Nenhum\")])],1)]),_vm._l((family.options),function(item){return _c('b-form-checkbox',{key:item.value,staticClass:\"ml-3\",attrs:{\"checked\":_vm.form.groupsProduct.find(function (a) { return a.groupProductId === item.value; }) != null},on:{\"change\":function($event){return _vm.addGroupSelected($event,item.value)}}},[_vm._v(\" \"+_vm._s(item.text)+\" \")])})],2)}),0)],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-dialog-form',{ref:\"dialog_form\",attrs:{\"generalErrors\":_vm.generalErrors,\"title\":_vm.title,\"ok-text\":_vm.okText,\"id\":_vm.id,\"command\":_vm.command},on:{\"show\":_vm.showModal,\"hidden\":_vm.resetModal,\"onSubmit\":_vm.onSubmit}},[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Tipo de Matéria-Prima\",\"submitted\":\"\",\"focus\":\"\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n \n \n \n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TypeRawMaterialDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TypeRawMaterialDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TypeRawMaterialDialog.vue?vue&type=template&id=753ab54a&\"\nimport script from \"./TypeRawMaterialDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./TypeRawMaterialDialog.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","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"product/type-raw-material\"\r\n\r\nclass service {\r\n\r\n selectList(params) {\r\n return http.list(path + \"/selectList\",params);\r\n }\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","\n\n \n\n \n\n \n\n\n \n\n \n\n \n\n \n\n \n\n Configurações > Parâmetros\"\n required/>\n\n Configurações > Parâmetros\"\n />\n\n\n\n \n\n \n\n \n Cadastrar Tipo\n \n\n \n \n \n\n \n\n \n\n \n \n\n \n\n \n\n \n\n \n\n \n Disponibilizar esta matéria-prima a todos os grupos de produtos?\n \n \n\n \n\n \n\n {{ family.groupLabel }}\n\n \n \n Todos\n |\n Nenhum\n \n \n\n a.groupProductId === item.value) != null\"\n @change=\"addGroupSelected($event,item.value)\">\n {{ item.text }}\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--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RawMaterialForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RawMaterialForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RawMaterialForm.vue?vue&type=template&id=7ecd38e2&\"\nimport script from \"./RawMaterialForm.vue?vue&type=script&lang=js&\"\nexport * from \"./RawMaterialForm.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","const type = {\r\n TYPE_MODEL_CODE_LABEL: 1,\r\n TYPE_INSTRUMENT_CODE_LABEL: 2,\r\n TYPE_COMPONENT_CODE_LABEL: 3,\r\n TYPE_COMPOUND_CODE_LABEL: 4,\r\n TYPE_RAW_MATERIAL_CODE_LABEL: 5,\r\n TYPE_MATERIAL_CODE_LABEL: 6,\r\n TYPE_MACHINE_CODE_LABEL: 7,\r\n TYPE_EMPLOYEE_CODE_LABEL: 8,\r\n TYPE_PRODUCT_SEARCH_MEASURE_RANGE_DEFAULT: 9,\r\n TYPE_ENTERPRISE_CODE_LABEL: 10,\r\n TYPE_ENVIRONMENT_CODE_LABEL: 11,\r\n TYPE_CHECKLIST_ITEM_CODE_LABEL: 12,\r\n TYPE_PATHOLOGY_CODE_LABEL: 13,\r\n TYPE_SPOT_FOLDER_CODE_LABEL: 14,\r\n TYPE_INSPECTOR_CODE_LABEL: 15,\r\n}\r\n\r\nconst render = {\r\n RENDER_TAG_COD_LABEL: \"settingCodeLabel\",\r\n}\r\n\r\nconst mode = {\r\n MODE_CODE_LABEL_AUTOMATIC_DEFAULT: \"automatic-default\",\r\n MODE_CODE_LABEL_MANUAL: \"manual\",\r\n}\r\n\r\nexport default {\r\n type,\r\n render,\r\n mode\r\n}","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"general/type-measure\"\r\n\r\nclass service {\r\n\r\n selectList(params) {\r\n return http.list(path + \"/selectList\",params);\r\n }\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n"],"sourceRoot":""}