{"version":3,"sources":["webpack:///./node_modules/eslint-loader/index.js","webpack:///./src/modules/repairs/components/new-repair/RepairComponents.vue?1be8","webpack:///./src/modules/repairs/components/new-repair/RepairComponents.vue?0139","webpack:///./src/modules/repairs/components/new-repair/RepairComponents.vue?00c1","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/modules/repairs/components/new-repair/RepairComponents.vue?649a","webpack:///./src/modules/repairs/components/new-repair/RepairComponents.vue"],"names":["warning_text","repair_orders_cols","text","align","value","width","sortable","is_visible","disabled","cellClass","repair_details_alert_text","repair_details_alert_email","repair_components_headers","new_repair_components_headers","repair_stages_headers","products_tab_headers","products_modal_headers","product_new_repair_headers","slice","repair_documents_headers","tabs","main_info_cols","field","client_cols","add_components_elements","title","cancel","proceed","attach_doc_alert","unfilled_diagnostics_alert","repairs_reports_cols","reports_alert_text","report_repair_cols","report_products_cols","warranty_data_cols","warranty_alert_text","return_zips_cols","module","exports","render","_vm","this","_h","$createElement","_c","_self","ref","attrs","on","$event","preventDefault","submit","apply","arguments","model","callback","$$v","form_valid","expression","staticClass","_v","sub_form_submit","sub_form_valid","class","$style","itemsRow","item","v","is_require","require_message","new_component","$set","wide","can_add_component","new_repair_components","prevent_sort","scopedSlots","_u","key","fn","del_handler","btnWrapper","is_mobile","close_new_repair","length","loading_submit","staticRenderFns","repairs_store","modules","new_repair","state","mutations","MainInfoStep","repair_components_set","main_form_valid","global_store","isMobile","complections","nomenclature","comment","ADD_NEW_REPAIR_COMPONENT","sub_form","resetValidation","DELETE_NEW_REPAIR_COMPONENT","Mixins","ValidateMixin","NewRepairStepMixin","__decorate","Ref","Prop","type","Boolean","default","Component","components","TextField","Datepicker","Select","Textarea","Table","injectStyles","context","locals","component","VBtn","VCol","VForm","VIcon","VRow","form_valid_val","val","$emit","form","validate","Vue"],"mappings":"85CAGaA,G,oBAAe,6RAGfC,EAAoC,CAC/C,CACEC,KAAM,GACNC,MAAO,QACPC,MAAO,SACPC,MAAO,OACPC,UAAU,EAC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EAAcC,GAErBhF,KAAK,UAAa,aAAOiF,QAAU,aAMrC,IAAIC,EAAY,eACd,EACApF,EACA+C,GACA,EACAkC,EACA,KACA,MAIa,aAAAG,EAAiB,QAShC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,OAAA,KAAKC,QAAA,KAAMC,QAAA,KAAMC,OAAA,Q,qHNnB/BtB,EAAkB,wDAAvC,iD,0BAIE,EAAAuB,gBAAiB,EAJnB,EAAuC,+CAMrC,WACE,OAAOxF,KAAKwF,gBAPuB,IAUrC,SAAeC,GACbzF,KAAKwF,eAAiBC,EACtBzF,KAAK0F,MAAM,QAASD,KAZe,oBAerC,WACMzF,KAAK2F,KAAKC,aACZ5F,KAAK0F,MAAM,UACX1F,KAAK0F,MAAM,SAAS,MAlBa,qBAsBrC,WACM1F,KAAK2F,KAAKC,YACZ5F,KAAK0F,MAAM,aAxBsB,8BA4BrC,WACE1F,KAAK0F,MAAM,aA7BwB,GAASG,QAE9C3B,gBADCC,kBACD,2BAFmBF,EAAkB,gBALtCO,eAAU,CACTC,WAAY,MAIOR","file":"js/home1278.24509893.js","sourcesContent":["import {\n Component,\n Ref,\n Vue,\n} from 'vue-property-decorator';\nimport { repairs_store } from '@/store';\nimport { VForm } from '@/types';\nimport { Repairs } from '../types';\n\n/**\n * вся повторяющаяся логика компонентов RepairMainInfo.vue / RepairComponents.vue\n */\n@Component({\n components: {\n\n },\n})\nexport default class NewRepairStepMixin extends Vue {\n @Ref()\n readonly form!: VForm;\n\n form_valid_val = false;\n\n get form_valid() {\n return this.form_valid_val;\n }\n\n set form_valid(val: boolean) {\n this.form_valid_val = val;\n this.$emit('valid', val);\n }\n\n submit() {\n if (this.form.validate()) {\n this.$emit('submit');\n this.$emit('valid', true);\n }\n }\n\n go_back() {\n if (this.form.validate()) {\n this.$emit('go_back');\n }\n }\n\n close_new_repair() {\n this.$emit('close');\n }\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"v-application\":\"RepairComponents_v-application_vuZLX\",\"text-h1\":\"RepairComponents_text-h1_I-OCC\",\"text-h2\":\"RepairComponents_text-h2_2_Q-p\",\"itemsRow\":\"RepairComponents_itemsRow_36D-r\",\"itemsTitle\":\"RepairComponents_itemsTitle_33Noy\",\"item\":\"RepairComponents_item_2DWoR\",\"wide\":\"RepairComponents_wide_3SAjy\",\"itemThreePartsRow\":\"RepairComponents_itemThreePartsRow_26yEM\",\"itemThreeParts\":\"RepairComponents_itemThreeParts_DY5_6\",\"btnWrapper\":\"RepairComponents_btnWrapper_1JyXC\"};","export { default } from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RepairComponents.vue?vue&type=style&index=0&module=true&lang=scss&\"; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-0-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-0-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-0-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-0-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RepairComponents.vue?vue&type=style&index=0&module=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-form',{ref:\"form\",attrs:{\"lazy-validation\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}},model:{value:(_vm.form_valid),callback:function ($$v) {_vm.form_valid=$$v},expression:\"form_valid\"}},[_c('v-row',{staticClass:\"mt-0\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"lg\":\"8\"}},[_c('h3',{staticClass:\"text-h3 mb-8\"},[_vm._v(\"Комплектация\")]),_c('v-form',{ref:\"sub_form\",attrs:{\"lazy-validation\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.sub_form_submit.apply(null, arguments)}},model:{value:(_vm.sub_form_valid),callback:function ($$v) {_vm.sub_form_valid=$$v},expression:\"sub_form_valid\"}},[_c('div',{class:_vm.$style.itemsRow},[_c('TextField',{class:[_vm.$style.item],attrs:{\"label\":\"Номенклатура\",\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }],\"required\":\"\"},model:{value:(_vm.new_component.nomenclature),callback:function ($$v) {_vm.$set(_vm.new_component, \"nomenclature\", $$v)},expression:\"new_component.nomenclature\"}})],1),_c('div',{class:_vm.$style.itemsRow},[_c('Textarea',{class:[_vm.$style.item, _vm.$style.wide],attrs:{\"label\":\"Комментарий о состоянии оборудования\",\"counter\":250,\"maxlength\":250,\"rows\":3,\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }],\"required\":\"\"},model:{value:(_vm.new_component.comment),callback:function ($$v) {_vm.$set(_vm.new_component, \"comment\", $$v)},expression:\"new_component.comment\"}})],1),_c('v-btn',{attrs:{\"color\":\"accent darken-4\",\"depressed\":\"\",\"type\":\"submit\",\"disabled\":!_vm.sub_form_valid || !_vm.can_add_component}},[_vm._v(\" Добавить комплектацию \")])],1)],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('Table',{attrs:{\"headers\":_vm.repair_components_headers,\"items\":_vm.new_repair_components,\"custom-sort\":_vm.prevent_sort,\"no-results-text\":\"Комплектация не добавлена\",\"no-data-text\":\"Комплектация не добавлена\",\"hide-default-footer\":\"\"},scopedSlots:_vm._u([{key:\"item.action\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_c('tr',[_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"secondary darken-4\",\"title\":\"Удалить\"},on:{\"click\":function($event){return _vm.del_handler(item)}}},[_c('v-icon',[_vm._v(\"mdi-delete-outline\")])],1)],1)])]}}],null,true)}),_c('div',{class:[_vm.$style.btnWrapper, 'd-flex mt-6']},[_c('v-btn',{class:_vm.is_mobile ? 'mb-6' : 'mr-auto',attrs:{\"depressed\":\"\"},on:{\"click\":_vm.close_new_repair}},[_vm._v(\" Отменить создание \")]),_c('v-btn',{class:_vm.is_mobile ? '' : 'ml-4',attrs:{\"color\":\"accent darken-4\",\"depressed\":\"\",\"type\":\"submit\",\"disabled\":!_vm.new_repair_components.length,\"loading\":_vm.loading_submit}},[_vm._v(\" Создать заказ-наряд \")])],1)],1)],1)],1)],1)}\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n Component, Mixins, Ref, Prop,\n} from 'vue-property-decorator';\nimport {\n TextField, Datepicker, Select, Textarea, Table,\n} from '@/components';\nimport { repairs_store, global_store } from '@/store';\nimport { VForm } from '@/types';\nimport { prevent_sort } from '@/utils';\nimport ValidateMixin from '@/mixins/validate';\nimport { new_repair_components_headers } from '../../consts';\nimport NewRepairStepMixin from '../../mixins/funcs_new_repair_step';\nimport { Repairs } from '../../types';\n\nconst { state, mutations } = repairs_store.modules.new_repair;\n\n@Component({\n components: {\n TextField,\n Datepicker,\n Select,\n Textarea,\n Table,\n },\n})\nexport default class MainInfoStep extends Mixins(ValidateMixin, NewRepairStepMixin) {\n @Ref()\n readonly sub_form!: VForm;\n\n @Prop({ type: Boolean, default: false })\n loading_submit!: boolean;\n\n repair_components_headers = new_repair_components_headers;\n prevent_sort = prevent_sort;\n repair_components_set = [];\n main_form_valid = false;\n sub_form_valid = false;\n\n new_component: Repairs.ComponentPayload = {} as Repairs.ComponentPayload;\n\n get is_mobile() {\n return global_store.state.isMobile;\n }\n\n get new_repair() {\n return state.new_repair;\n }\n\n get new_repair_components() {\n return this.new_repair.complections || [];\n }\n\n get can_add_component() {\n return this.new_component?.nomenclature && this.new_component?.comment;\n }\n\n sub_form_submit() {\n mutations.ADD_NEW_REPAIR_COMPONENT(this.new_component);\n this.new_component = {} as Repairs.ComponentPayload;\n this.sub_form.resetValidation();\n }\n\n del_handler(item: Repairs.ComponentPayload) {\n mutations.DELETE_NEW_REPAIR_COMPONENT(item);\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RepairComponents.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RepairComponents.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RepairComponents.vue?vue&type=template&id=24f5be11&\"\nimport script from \"./RepairComponents.vue?vue&type=script&lang=ts&\"\nexport * from \"./RepairComponents.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RepairComponents.vue?vue&type=style&index=0&module=true&lang=scss&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\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 injectStyles,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VForm,VIcon,VRow})\n"],"sourceRoot":""}