{"version":3,"sources":["webpack:///./src/views/modules/production/Machine/MachineForm.vue?c7a6","webpack:///./src/services/modules/production/TypeMachine.service.js","webpack:///./src/services/modules/production/Operator.service.js","webpack:///src/views/modules/production/Machine/MachineForm.vue","webpack:///./src/views/modules/production/Machine/MachineForm.vue?d7a9","webpack:///./src/views/modules/production/Machine/MachineForm.vue","webpack:///./src/model/types/resource/SettingType.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","currentPage","singularTitle","t","pageTitle","command","status","generalErrors","checkErrorsComponent","name","pageFormIsLoaded","on","onSubmit","scopedSlots","_u","key","fn","ref","model","value","form","callback","$$v","$set","expression","error","modeCodeLabel","SettingType","mode","MODE_CODE_LABEL_MANUAL","machineCodeLabel","MODE_CODE_LABEL_AUTOMATIC_DEFAULT","_e","typeMachinesOptions","operatorsOptions","userAuth","entityFieldCustomized","lotId","pageId","fieldKey","staticRenderFns","path","typeMoldService","params","http","list","service","mixins","pageDefaultMixin","data","genKey","enableGeneralFields","machineId","typeMachineId","operatorId","serialNumber","heritageNumber","purchaseDate","note","methods","mountedPrepare","component","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_EMPLOYEE_CODE_LABEL","TYPE_PRODUCT_SEARCH_MEASURE_RANGE_DEFAULT","TYPE_ENTERPRISE_CODE_LABEL","TYPE_ENVIRONMENT_CODE_LABEL","TYPE_CHECKLIST_ITEM_CODE_LABEL","TYPE_PATHOLOGY_CODE_LABEL","TYPE_SPOT_FOLDER_CODE_LABEL","TYPE_INSPECTOR_CODE_LABEL","RENDER_TAG_COD_LABEL"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,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hB,KAAM,GACNqB,iBAAkB,IAIpBJ,cAAe,GACfO,oBAAqB,GACrBC,iBAAkB,KAItByB,QAAS,CAEPC,eAFJ,aAKI,iBALJ,WAKA,+JAEA,oEAFA,SAIA,mCACA,2BACA,gDANA,uBAQA,mCACA,wBACA,gDAVA,OAaA,sBAbA,8CAiBI,SAtBJ,WAsBA,wKAEA,sBAFA,+CAYE,QApEF,WAoEA,+JAEA,mBAFA,SAIA,qBAJA,uBAMA,qBANA,+CCvJkY,I,YCO9XC,EAAY,eACd,EACApE,EACA+C,GACA,EACA,KACA,KACA,MAIa,aAAAqB,E,6CClBf,IAAMC,EAAO,CACTC,sBAAuB,EACvBC,2BAA4B,EAC5BC,0BAA2B,EAC3BC,yBAA0B,EAC1BC,6BAA8B,EAC9BC,yBAA0B,EAC1BC,wBAAyB,EACzBC,yBAA0B,EAC1BC,0CAA2C,EAC3CC,2BAA4B,GAC5BC,4BAA6B,GAC7BC,+BAAgC,GAChCC,0BAA2B,GAC3BC,4BAA6B,GAC7BC,0BAA2B,IAGzBpF,EAAS,CACXqF,qBAAsB,oBAGpBlD,EAAO,CACTG,kCAAmC,oBACnCF,uBAAwB,UAGb,QACXiC,OACArE,SACAmC","file":"js/chunk-33f1305b.640d38bc.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page',[_c('t-page-form',{attrs:{\"card\":\"\",\"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.machineId),callback:function ($$v) {_vm.$set(_vm.form, \"machineId\", $$v)},expression:\"form.machineId\"}}),_c('b-row',[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"cols\":\"9\",\"label\":\"Descrição\",\"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.machineCodeLabel,\"upper\":\"\",\"cols\":\"3\",\"label\":\"Cód. Máquina\",\"code-label\":\"\",\"help\":\"Código inserido manualmente conforme configurado em Produção > Configurações > Parâmetros\",\"required\":\"\"},model:{value:(_vm.form.machineCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"machineCodeLabel\", $$v)},expression:\"form.machineCodeLabel\"}}):(_vm.modeCodeLabel === _vm.SettingType.mode.MODE_CODE_LABEL_AUTOMATIC_DEFAULT)?_c('t-input',{attrs:{\"add-error\":_vm.error.machineCodeLabel,\"upper\":\"\",\"cols\":\"3\",\"fixed\":\"\",\"label\":\"Cód. Máquina\",\"help\":\"Código inserido automaticamente conforme configurado em Produção > Configurações > Parâmetros\"},model:{value:(_vm.form.machineCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"machineCodeLabel\", $$v)},expression:\"form.machineCodeLabel\"}}):_vm._e()],1),_c('t-input',{attrs:{\"select\":\"\",\"options\":_vm.typeMachinesOptions,\"label\":\"Tipo de Máquina\",\"required\":\"\"},model:{value:(_vm.form.typeMachineId),callback:function ($$v) {_vm.$set(_vm.form, \"typeMachineId\", $$v)},expression:\"form.typeMachineId\"}}),_c('t-input',{attrs:{\"select\":\"\",\"options\":_vm.operatorsOptions,\"label\":\"Operador preferêncial\"},model:{value:(_vm.form.operatorId),callback:function ($$v) {_vm.$set(_vm.form, \"operatorId\", $$v)},expression:\"form.operatorId\"}}),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"4\",\"label\":\"Nº Série\"},model:{value:(_vm.form.serialNumber),callback:function ($$v) {_vm.$set(_vm.form, \"serialNumber\", $$v)},expression:\"form.serialNumber\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"label\":\"Nº Patrimônio\"},model:{value:(_vm.form.heritageNumber),callback:function ($$v) {_vm.$set(_vm.form, \"heritageNumber\", $$v)},expression:\"form.heritageNumber\"}}),_c('t-input',{attrs:{\"date\":\"\",\"cols\":\"4\",\"label\":\"Data Compra\"},model:{value:(_vm.form.purchaseDate),callback:function ($$v) {_vm.$set(_vm.form, \"purchaseDate\", $$v)},expression:\"form.purchaseDate\"}})],1),_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.lotId,\"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)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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 = \"production/type-machine\"\r\n\r\nclass typeMoldService {\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 typeMoldService();\r\n\r\n\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 = \"production/operator\"\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\nexport default new service();\r\n\r\n\r\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!./MachineForm.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!./MachineForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MachineForm.vue?vue&type=template&id=7a5432b8&\"\nimport script from \"./MachineForm.vue?vue&type=script&lang=js&\"\nexport * from \"./MachineForm.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}"],"sourceRoot":""}