{"version":3,"sources":["webpack:///./node_modules/eslint-loader/index.js","webpack:///./src/modules/repairs/components/new-repair/RepairMainInfo.vue?8e75","webpack:///./src/modules/repairs/components/new-repair/RepairMainInfo.vue?63e7","webpack:///./src/modules/repairs/components/new-repair/RepairMainInfo.vue?3f82","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/modules/repairs/components/new-repair/RepairMainInfo.vue?9325","webpack:///./src/modules/repairs/components/new-repair/RepairMainInfo.vue","webpack:///./src/modules/repairs/components/SerialNumberSearch.vue?3205","webpack:///./src/modules/repairs/components/SerialNumberSearch.vue?769e","webpack:///./src/modules/repairs/components/SerialNumberSearch.vue","webpack:///./src/modules/repairs/components/SerialNumberSearch.vue?1830","webpack:///./src/modules/repairs/components/SerialNumberSearch.vue?68ee"],"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","AddClientMixin","Mixins","add_client","Component","actions","clients_store","StaffsInviteFunctionsMixin","payload","is_valid","client","loading","add_new_client","data","code","ResponseStatuses","Success","CREATED","Fail","UNAUTHORIZED","FORBIDDEN","UNPROCESSABLE","CONFLICT","client_id","String","client_exists_dialog","$dialog","open","center_title","bts_align","BtnsPosition","CENTER","url","$router","resolve","name","Clients","Pages","CLIENT_DETAIL","params","id","href","window","close","mutations","CLEAR_CLIENT","add_new_client_key","Vue","render","_obj","_vm","this","_h","$createElement","_c","_self","ref","attrs","on","$event","preventDefault","submit","apply","arguments","model","callback","$$v","form_valid","expression","staticClass","_v","_e","class","$style","itemsRow","key","select_key","select","item","clients","v","is_require","require_message","scopedSlots","_u","fn","select_client","_s","name_client_company","inn_client","kpp_client","new_repair","$set","btnNewRepair","organizations","is_new_repair_page","search_key","searchNewRepair","organization_id","is_product_not_found","itemFull","nomenclature","upd_field","expired_date","new_repair_operation_types","is_disabled","operation_type_id","selectNewRepair","new_repair_categories","editable_new_repair","wide","btnWrap","files","length","_g","_b","handle_upload","fileList","_l","file","idx","delete_file","close_new_repair","proxy","go_to_exist_client","close_client_exists_dialog","loading_upload","close_upload_dialog","submit_file","upload_form_valid","accept_rule","upload_dialog","loaded_dialog","error_response","error_msg","is_found_serial_number_modal","confirm_manual_entry","staticRenderFns","repairs_store","modules","state","MainInfoStep","prevent_sort","SET_NEW_REPAIR","default_new_repair","SET_NEW_REPAIR_WARRANTY","TOGGLE_IS_PRODUCT_NOT_FOUND","UPD_PAGINATION_FIELD","shared_clients_store","get_clients","max_request_limit","shared_organizations_store","get_organizations","get_new_repair_categories","getters","repairs_info","repair_details","filter","o","is_service_contract","diagnostics_selects","UPD_NEW_REPAIR_OPERATION_TYPE","is_not_found","is_not_warranty_repair","upload_form","resetValidation","f","validated","form","validate","complections","$emit","push","serial_number","get_new_repair_operation_types","UPD_NEW_REPAIR_KEY","SET_NEW_REPAIR_OPERATION_TYPES","get_operation_types","$route","Repairs","NEW_REPAIR","equipment_category_id","malfunction","ValidateMixin","NewRepairStepMixin","AddNewClientMixin","__decorate","Ref","Watch","components","TextField","Datepicker","Select","Table","SerialNumberSearch","Textarea","ClientExistDialog","SimpleDialog","FileInput","AddNewClientDialog","injectStyles","context","locals","component","VBtn","VCol","VDivider","VForm","VIcon","VList","VListItem","VListItemContent","VListItemSubtitle","VListItemTitle","VRow","VTooltip","itemThreeParts","menu","set_search_submit","clear_search","show_menu","listItems","items","searchItem","searchItemContent","infoRegular","bold","number","_f","actual_extended_warranties","group_items_wrapper","extended_warranty","type","date_start","date_end","handle_place_click","manual_entry_form_clear_modal","clear_confirm","DelLinePlacesSearch","new_repair_warranty_info","new_repair_actual_extended_warranties","TOGGLES_IS_SUBMITTED","UPD_SEARCH_KEY","search","get_new_repair_warranty","center_text","is_html","button_text","on_close","Prop","Boolean","default","SearchSelectBlock","VMenu","form_valid_val","val"],"mappings":"67CAGaA,G,oBAAe,6RAGfC,EAAoC,CAC/C,CACEC,KAAM,GACNC,MAAO,QACPC,MAAO,SACPC,MAAO,OACPC,UAAU,EACVC,YAAY,EACZC,UAAU,GAEZ,CACEN,KAAM,iBACNE,MAAO,KACPC,MAAO,QACPC,UAAU,EACVC,YAAY,GAEd,CACEL,KAAM,iBACNE,MAAO,gBACPC,MAAO,QACPC,UAAU,EACVC,YAAY,GASd,CACEL,KAAM,eACNE,MAAO,eACPC,MAAO,QACLC,UAAQ,EACVC,YAAY,GAEd,CACEL,KAAM,aACNE,MAAO,SACPC,MAAO,QACPC,UAAU,EACVC,YAAY,GAEd,CACEL,KAAM,6BACNE,MAAO,aACPC,MAAO,QACPC,UAAU,EACVG,UAAW,gBACXF,YAAY,GAEd,CACEL,KAAM,8BACNE,MAAO,SACPC,MAAO,QACPC,UAAU,EACVC,YAAY,GAEd,CACEL,KAAM,kBACNE,MAAO,aACPC,MAAO,QACPC,UAAU,EACVC,YAAY,GAEd,CACEL,KAAM,sBACNE,MAAO,kBACPC,MAAO,QACPC,UAAU,EACVG,UAAW,gBACXF,YAAY,GAEd,CACEL,KAAM,SACNE,MAAO,cACPC,MAAO,QACPC,UAAU,EACVC,YAAY,GAEd,CACEL,KAAM,cACNE,MAAO,cACPC,MAAO,QACPC,UAAU,EACVC,YAAY,GAEd,CACEL,KAAM,eACNE,MAAO,iBACPC,MAAO,QACPC,UAAU,EACVC,YAAY,IAWHG,EAA4B,qEAC5BC,EAA6B,cAE7BC,EAAwC,CACnD,CACEV,KAAM,4BACNE,MAAO,OACPE,UAAU,GAEZ,CACEJ,KAAM,cACNE,MAAO,UACPE,UAAU,GAEZ,CACEJ,KAAM,WACNE,MAAO,SACPE,UAAU,IAIDO,EAA4C,CACvD,CACEX,KAAM,4BACNE,MAAO,eAC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C,KAAO","file":"js/home1280.47604144.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\":\"RepairMainInfo_v-application_2CCz3\",\"text-h1\":\"RepairMainInfo_text-h1_1aPnF\",\"text-h2\":\"RepairMainInfo_text-h2_aZePL\",\"itemsRow\":\"RepairMainInfo_itemsRow_2xrwl\",\"itemsTitle\":\"RepairMainInfo_itemsTitle_2nPvi\",\"item\":\"RepairMainInfo_item_1oxmw\",\"wide\":\"RepairMainInfo_wide_20mSS\",\"itemThreePartsRow\":\"RepairMainInfo_itemThreePartsRow_Knexn\",\"itemThreeParts\":\"RepairMainInfo_itemThreeParts_zHVty\",\"itemsRowEqual\":\"RepairMainInfo_itemsRowEqual_3ZJ-t\",\"fileList\":\"RepairMainInfo_fileList_1fr5_\",\"itemFull\":\"RepairMainInfo_itemFull_SOZiC\",\"btnWrap\":\"RepairMainInfo_btnWrap_3AK2y\",\"btnNewRepair\":\"RepairMainInfo_btnNewRepair_1chAP\",\"searchNewRepair\":\"RepairMainInfo_searchNewRepair_1OQSB\",\"selectNewRepair\":\"RepairMainInfo_selectNewRepair_3C5uR\"};","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!./RepairMainInfo.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!./RepairMainInfo.vue?vue&type=style&index=0&module=true&lang=scss&\"","var render = function () {\nvar _obj;\nvar _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\"}},[(_vm.is_new_repair_page)?_c('h3',{staticClass:\"text-h3 mb-8\"},[_vm._v(\" Информация о заказчике ремонта (обслуживания) \")]):_vm._e(),_c('div',{class:[_vm.$style.itemsRow, 'mb-6']},[_c('Select',{key:_vm.select_key,class:[_vm.$style.select, _vm.$style.item],attrs:{\"items\":_vm.clients,\"label\":\"Наименование клиента\",\"item_value\":\"id\",\"item-text\":\"name_client_company\",\"hide-details\":\"\",\"clearable\":\"\",\"blue_icon\":\"\",\"background-color\":\"#fff\",\"require\":\"\",\"is_autocomplete\":\"\",\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }]},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-list-item',{on:{\"click\":function($event){return _vm.select_client(item.id)}}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(item.name_client_company)+\" \")]),_c('v-list-item-subtitle',{staticClass:\"mt-2\"},[_c('span',{staticClass:\"mr-4\"},[_vm._v(\"ИНН: \"+_vm._s(item.inn_client))]),_vm._v(\" КПП: \"+_vm._s(item.kpp_client)+\" \")])],1)],1)]}}]),model:{value:(_vm.new_repair.client_id),callback:function ($$v) {_vm.$set(_vm.new_repair, \"client_id\", $$v)},expression:\"new_repair.client_id\"}}),_c('v-btn',{class:_vm.$style.btnNewRepair,attrs:{\"color\":\"accent darken-4\",\"depressed\":\"\"},on:{\"click\":function($event){_vm.add_new_client = true}}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-plus\")]),_vm._v(\" Добавить нового клиента \")],1)],1),(_vm.is_new_repair_page)?_c('h3',{staticClass:\"text-h3 mb-8\"},[_vm._v(\" Основные данные \")]):_vm._e(),_c('div',{class:[_vm.$style.itemsRow, 'mb-6']},[_c('Select',{class:_vm.$style.item,attrs:{\"items\":_vm.organizations,\"label\":\"Организация\",\"item_value\":\"id\",\"item-text\":\"name_organization\",\"hide-details\":\"\",\"clearable\":\"\",\"blue_icon\":\"\",\"background-color\":\"#fff\",\"require\":\"\",\"disabled\":_vm.is_new_repair_page ? false : true,\"readonly\":_vm.is_new_repair_page ? false : true,\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }]},model:{value:(_vm.new_repair.organization_id),callback:function ($$v) {_vm.$set(_vm.new_repair, \"organization_id\", $$v)},expression:\"new_repair.organization_id\"}}),_c('SerialNumberSearch',{key:_vm.search_key,class:[_vm.$style.item, _vm.$style.searchNewRepair],attrs:{\"disabled\":!_vm.new_repair.organization_id}})],1),_c('div',{class:[_vm.$style.itemsRow]},[_c('TextField',{class:( _obj = {}, _obj[_vm.$style.item] = !_vm.new_repair.is_product_not_found, _obj[_vm.$style.itemFull] = _vm.new_repair.is_product_not_found, _obj ),attrs:{\"value\":_vm.new_repair.nomenclature,\"label\":_vm.new_repair.is_product_not_found ? 'Введите наименование номенклатуры вручную': 'Номенклатура',\"require\":\"\",\"disabled\":!_vm.new_repair.is_product_not_found,\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }]},on:{\"input\":function($event){return _vm.upd_field('nomenclature', $event)}}}),(!_vm.new_repair.is_product_not_found)?_c('TextField',{class:_vm.$style.item,attrs:{\"value\":_vm.new_repair.expired_date,\"label\":\"Срок гарантии\",\"require\":\"\",\"disabled\":\"\",\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }]}}):_vm._e()],1),_c('div',{class:[_vm.$style.itemsRow, 'mb-6']},[_c('Select',{class:_vm.$style.item,attrs:{\"items\":_vm.new_repair_operation_types,\"item_value\":\"id\",\"item-text\":\"name\",\"label\":\"Вид операции\",\"hide-details\":\"\",\"readonly\":_vm.is_disabled(),\"blue_icon\":\"\",\"background-color\":\"#fff\",\"require\":\"\",\"disabled\":_vm.is_disabled(),\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }]},model:{value:(_vm.operation_type_id),callback:function ($$v) {_vm.operation_type_id=$$v},expression:\"operation_type_id\"}}),(_vm.is_new_repair_page)?_c('Select',{class:[_vm.$style.item, _vm.$style.selectNewRepair],attrs:{\"items\":_vm.new_repair_categories,\"item_value\":\"id\",\"item-text\":\"name\",\"label\":\"Категория оборудования\",\"hide-details\":\"\",\"clearable\":\"\",\"blue_icon\":\"\",\"background-color\":\"#fff\",\"require\":\"\",\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }]},model:{value:(_vm.editable_new_repair.equipment_category_id),callback:function ($$v) {_vm.$set(_vm.editable_new_repair, \"equipment_category_id\", $$v)},expression:\"editable_new_repair.equipment_category_id\"}}):_vm._e()],1),(_vm.is_new_repair_page)?[_c('Textarea',{class:[_vm.$style.item, _vm.$style.wide],attrs:{\"label\":\"Заявленная неисправность\",\"counter\":1000,\"maxlength\":1000,\"rows\":3,\"require\":\"\",\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }]},model:{value:(_vm.editable_new_repair.malfunction),callback:function ($$v) {_vm.$set(_vm.editable_new_repair, \"malfunction\", $$v)},expression:\"editable_new_repair.malfunction\"}}),_vm._v(\" \"),_c('div',{class:_vm.$style.btnWrap},[(_vm.files.length >= 5)?_c('v-tooltip',{attrs:{\"color\":\"primary darken-3\",\"right\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"text\":\"\",\"disabled\":_vm.files.length >= 5},on:{\"click\":_vm.handle_upload}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-upload-outline\")]),_vm._v(\" Загрузить документ \")],1)],1)]}}],null,false,1601455627)},[_vm._v(\" В заказ-наряд можно прикрепить не более 5 документов. \")]):_c('v-btn',{attrs:{\"text\":\"\",\"disabled\":_vm.files.length >= 5},on:{\"click\":_vm.handle_upload}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-upload-outline\")]),_vm._v(\" Загрузить документ \")],1)],1),_c('v-list',{class:_vm.$style.fileList},[(_vm.files.length)?_vm._l((_vm.files),function(file,idx){return _c('v-list-item',{key:idx,staticClass:\"d-flex\",attrs:{\"dense\":\"\"}},[_c('div',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(file.name)+\" \")]),_c('v-btn',{attrs:{\"icon\":\"\",\"small\":\"\",\"color\":\"secondary darken-4\",\"title\":\"Удалить\"},on:{\"click\":function($event){return _vm.delete_file(file)}}},[_c('v-icon',[_vm._v(\"mdi-delete-outline\")])],1)],1)}):_vm._e()],2)]:_vm._e()],2)],1),(_vm.is_new_repair_page)?_c('v-row',{staticClass:\"mt-0\"},[_c('v-col',[_c('v-divider',{staticClass:\"mb-6\"}),_c('div',{staticClass:\"d-flex\"},[_c('v-btn',{staticClass:\"mr-auto\",attrs:{\"depressed\":\"\"},on:{\"click\":_vm.close_new_repair}},[_vm._v(\" Отменить создание \")]),_c('v-btn',{staticClass:\"ml-4\",attrs:{\"color\":\"accent darken-4\",\"depressed\":\"\",\"type\":\"submit\",\"disabled\":!_vm.is_valid}},[_vm._v(\" Продолжить \")])],1)],1)],1):_vm._e()],1),_c('AddNewClientDialog',{key:_vm.add_new_client_key,on:{\"submit\":_vm.add_client,\"close\":function($event){_vm.add_new_client = false}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" Добавление клиента \")]},proxy:true},{key:\"exist_client\",fn:function(){return [_c('ClientExistDialog',{on:{\"close\":function($event){_vm.client_exists_dialog = false},\"go_to_exist_client\":_vm.go_to_exist_client,\"close_client_exists_dialog\":_vm.close_client_exists_dialog},model:{value:(_vm.client_exists_dialog),callback:function ($$v) {_vm.client_exists_dialog=$$v},expression:\"client_exists_dialog\"}})]},proxy:true}]),model:{value:(_vm.add_new_client),callback:function ($$v) {_vm.add_new_client=$$v},expression:\"add_new_client\"}}),_c('SimpleDialog',{attrs:{\"persistent\":_vm.loading_upload,\"max-width\":\"712\"},on:{\"close\":_vm.close_upload_dialog},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" Загрузка документа \")]},proxy:true},{key:\"text\",fn:function(){return [_c('v-form',{ref:\"upload_form\",attrs:{\"id\":\"upload_form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.submit_file.apply(null, arguments)}},model:{value:(_vm.upload_form_valid),callback:function ($$v) {_vm.upload_form_valid=$$v},expression:\"upload_form_valid\"}},[_c('FileInput',{attrs:{\"require\":\"\",\"rules\":[function (v) { return _vm.is_require(v) || _vm.require_message; }],\"label\":\"Загрузите файл\",\"accept\":_vm.accept_rule,\"hint\":\"Загрузите файл формата doсx, pdf, jpg, png. Размер - до 10 мб.\",\"persistent-hint\":\"\",\"disabled\":_vm.loading_upload,\"value\":_vm.file},on:{\"change\":function($event){_vm.file = $event}}})],1)]},proxy:true},{key:\"actions\",fn:function(){return [_c('v-btn',{attrs:{\"type\":\"submit\",\"color\":\"accent darken-4\",\"depressed\":\"\",\"disabled\":!_vm.upload_form_valid,\"form\":\"upload_form\",\"loading\":_vm.loading_upload}},[_vm._v(\" Загрузить \")]),_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":_vm.close_upload_dialog}},[_vm._v(\" Отменить \")])]},proxy:true}]),model:{value:(_vm.upload_dialog),callback:function ($$v) {_vm.upload_dialog=$$v},expression:\"upload_dialog\"}}),_c('SimpleDialog',{attrs:{\"max-width\":\"564\",\"center_title\":\"\",\"center_text\":\"\",\"bts_align\":\"center\"},on:{\"close\":function($event){_vm.loaded_dialog = false}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [(!_vm.error_response)?[_vm._v(\" Загрузка закончена \")]:[_vm._v(\" \"+_vm._s(_vm.error_msg)+\" \")]]},proxy:true}]),model:{value:(_vm.loaded_dialog),callback:function ($$v) {_vm.loaded_dialog=$$v},expression:\"loaded_dialog\"}}),_c('SimpleDialog',{attrs:{\"max-width\":\"564\",\"center_title\":\"\",\"center_text\":\"\",\"bts_align\":\"center\"},on:{\"close\":function($event){_vm.is_found_serial_number_modal = false}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" Внимание! \")]},proxy:true},{key:\"text\",fn:function(){return [_c('div',[_vm._v(\"По серийному номеру номенклатура не найдена. Проверьте корректность заполнения серийного номера или добавьте номенклатуру вручную.\")]),_c('div',[_vm._v(\"При переходе к ручному вводу номенклатуры форма создания заказ-наряда на 1 шаге будет изменена.\")])]},proxy:true},{key:\"actions\",fn:function(){return [_c('v-btn',{attrs:{\"color\":\"accent darken-4\",\"depressed\":\"\"},on:{\"click\":_vm.confirm_manual_entry}},[_vm._v(\" Ввести вручную \")]),_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.is_found_serial_number_modal = false}}},[_vm._v(\" Отменить \")])]},proxy:true}]),model:{value:(_vm.is_found_serial_number_modal),callback:function ($$v) {_vm.is_found_serial_number_modal=$$v},expression:\"is_found_serial_number_modal\"}})],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { repairs_store } from '@/store';\nimport { Repairs } from '@/modules/repairs/types';\nimport { SearchSelectBlock, SimpleDialog } from '@/components';\nimport { BtnsPosition } from '@/components/dialogs/simple/types';\n\nconst { state, actions, mutations } = repairs_store.modules.new_repair;\n\n@Component({\n components: {\n SearchSelectBlock,\n SimpleDialog,\n },\n})\n\nexport default class DelLinePlacesSearch extends Vue {\n @Prop({ type: Boolean, default: false })\n disabled!: boolean;\n\n menu = false;\n\n loading = false;\n\n manual_entry_form_clear_modal = false;\n\n get is_not_warranty_repair() {\n return state.is_not_warranty_repair;\n }\n\n get items() {\n return state.new_repair_warranty_info;\n }\n\n get actual_extended_warranties() {\n return state.new_repair_actual_extended_warranties;\n }\n\n get serial_number() {\n return state.new_repair.serial_number;\n }\n\n get is_product_not_found() {\n return state.new_repair.is_product_not_found;\n }\n\n get search_key() {\n return state.search_key;\n }\n\n clear_search() {\n if (!this.is_product_not_found) {\n mutations.SET_NEW_REPAIR_WARRANTY([]);\n mutations.SET_NEW_REPAIR_OPERATION_TYPES([]);\n mutations.UPD_NEW_REPAIR_KEY({ key: 'serial_number', value: '' });\n mutations.UPD_NEW_REPAIR_KEY({ key: 'nomenclature', value: '' });\n mutations.UPD_NEW_REPAIR_KEY({ key: 'expired_date', value: '' });\n mutations.UPD_NEW_REPAIR_KEY({ key: 'operation_type_id', value: 0 });\n mutations.TOGGLES_IS_SUBMITTED(false);\n } else {\n this.manual_entry_form_clear_modal = true;\n }\n }\n\n clear_confirm() {\n mutations.TOGGLE_IS_PRODUCT_NOT_FOUND(false);\n this.clear_search();\n mutations.UPD_SEARCH_KEY();\n this.manual_entry_form_clear_modal = false;\n }\n\n async set_search_submit(value: string) {\n mutations.UPD_NEW_REPAIR_KEY({ key: 'serial_number', value });\n await this.submit();\n }\n\n async submit() {\n this.loading = true;\n const search = state.new_repair.serial_number;\n\n await actions.get_new_repair_warranty(search);\n\n this.menu = true;\n this.loading = false;\n }\n\n show_menu() {\n if (this.items.length) {\n this.menu = true;\n }\n }\n\n handle_place_click(data: Repairs.Warranty) {\n this.menu = false;\n\n if (this.is_not_warranty_repair) {\n this.$dialog.open({\n title: 'Внимание!',\n text: 'Отсутствует аккредитация на ремонтируемую номенклатуру. Передайте аппарат в аккредитованный СЦ согласно перечню на сайте. Для доаккредитации направьте соответствующий запрос на asc@atol.ru',\n center_title: true,\n center_text: true,\n is_html: true,\n bts_align: BtnsPosition.CENTER,\n button_text: 'Понятно',\n }).on_close(() => {\n mutations.UPD_NEW_REPAIR_KEY({ key: 'nomenclature', value: data.nomenclature });\n mutations.UPD_NEW_REPAIR_KEY({ key: 'expired_date', value: data.expired_date });\n });\n } else {\n mutations.UPD_NEW_REPAIR_KEY({ key: 'nomenclature', value: data.nomenclature });\n mutations.UPD_NEW_REPAIR_KEY({ key: 'expired_date', value: data.expired_date });\n }\n\n if (state.new_repair_operation_types.length) {\n const { id } = state.new_repair_operation_types[0];\n\n mutations.UPD_NEW_REPAIR_KEY({ key: 'operation_type_id', value: id });\n }\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!./RepairMainInfo.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!./RepairMainInfo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RepairMainInfo.vue?vue&type=template&id=2f42b23c&\"\nimport script from \"./RepairMainInfo.vue?vue&type=script&lang=ts&\"\nexport * from \"./RepairMainInfo.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RepairMainInfo.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 { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCol,VDivider,VForm,VIcon,VList,VListItem,VListItemContent,VListItemSubtitle,VListItemTitle,VRow,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.itemThreeParts},[_c('v-menu',{attrs:{\"content-class\":_vm.$style.menu,\"close-on-content-click\":false,\"offset-y\":\"\",\"z-index\":\"9\",\"max-height\":\"380px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){return [_c('SearchSelectBlock',{attrs:{\"label\":\"Серийный номер\",\"dense\":\"\",\"loading\":_vm.loading,\"passed_search\":_vm.serial_number,\"disabled\":_vm.disabled},on:{\"submit\":function($event){return _vm.set_search_submit($event)},\"clear\":_vm.clear_search,\"focus\":_vm.show_menu}})]}}]),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c('v-list',{class:_vm.$style.listItems},[(_vm.items.length)?_vm._l((_vm.items),function(item,idx){return _c('v-list-item',{key:idx,class:_vm.$style.searchItem},[_c('div',{class:_vm.$style.searchItemContent},[_c('div',[_vm._v(\" \"+_vm._s(item.nomenclature)+\" \")]),_c('div',{class:_vm.$style.infoRegular},[_c('span',{class:_vm.$style.bold},[_vm._v(\"Серийный номер:\")]),_vm._v(\" \"+_vm._s(item.number)+\" \")]),_c('div',{class:_vm.$style.infoRegular},[_c('span',{class:_vm.$style.bold},[_vm._v(\"Срок гарантии:\")]),_vm._v(\" \"+_vm._s(_vm._f(\"date\")(item.expired_date))+\" \")]),(_vm.actual_extended_warranties.length)?_c('div',{class:_vm.$style.group_items_wrapper},_vm._l((_vm.actual_extended_warranties),function(extended_warranty){return _c('div',{key:extended_warranty.id},[(extended_warranty.type)?_c('div',{class:_vm.$style.infoRegular},[_c('span',{class:_vm.$style.bold},[_vm._v(\"Тип гарантии: \")]),_c('span',[_vm._v(_vm._s(extended_warranty.type))])]):_vm._e(),(extended_warranty.date_start)?_c('div',{class:_vm.$style.infoRegular},[_c('span',{class:_vm.$style.bold},[_vm._v(\"Начало гарантии: \")]),_c('span',[_vm._v(_vm._s(_vm._f(\"date\")(extended_warranty.date_start)))])]):_vm._e(),(extended_warranty.date_end)?_c('div',{class:_vm.$style.infoRegular},[_c('span',{class:_vm.$style.bold},[_vm._v(\"Завершение гарантии: \")]),_c('span',[_vm._v(_vm._s(_vm._f(\"date\")(extended_warranty.date_end)))])]):_vm._e()])}),0):_vm._e()]),_c('v-btn',{attrs:{\"color\":\"accent darken-4\",\"depressed\":\"\"},on:{\"click\":function($event){return _vm.handle_place_click(item)}}},[_vm._v(\" Выбрать \")])],1)}):[_c('v-list-item',[_vm._v(\" Ничего не найдено \")])]],2)],1),_c('SimpleDialog',{attrs:{\"max-width\":\"564\",\"center_title\":\"\",\"center_text\":\"\",\"bts_align\":\"center\"},on:{\"close\":function($event){_vm.manual_entry_form_clear_modal = false}},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" Внимание! \")]},proxy:true},{key:\"text\",fn:function(){return [_vm._v(\" При очищении поля “Серийный номер” форма создания заказ-наряда на 1 шаге примет вид по-умолчанию, без возможности ручного ввода номенклатуры. \")]},proxy:true},{key:\"actions\",fn:function(){return [_c('v-btn',{attrs:{\"color\":\"accent darken-4\",\"depressed\":\"\"},on:{\"click\":_vm.clear_confirm}},[_vm._v(\" Продолжить \")]),_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.manual_entry_form_clear_modal = false}}},[_vm._v(\" Отменить \")])]},proxy:true}]),model:{value:(_vm.manual_entry_form_clear_modal),callback:function ($$v) {_vm.manual_entry_form_clear_modal=$$v},expression:\"manual_entry_form_clear_modal\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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!./SerialNumberSearch.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!./SerialNumberSearch.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SerialNumberSearch.vue?vue&type=template&id=26620146&\"\nimport script from \"./SerialNumberSearch.vue?vue&type=script&lang=ts&\"\nexport * from \"./SerialNumberSearch.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SerialNumberSearch.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 { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\ninstallComponents(component, {VBtn,VList,VListItem,VMenu})\n","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!./SerialNumberSearch.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!./SerialNumberSearch.vue?vue&type=style&index=0&module=true&lang=scss&\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"v-application\":\"SerialNumberSearch_v-application_5alDy\",\"text-h1\":\"SerialNumberSearch_text-h1_1Sjx3\",\"text-h2\":\"SerialNumberSearch_text-h2_2xuzR\",\"itemsRow\":\"SerialNumberSearch_itemsRow_13Pyx\",\"itemsTitle\":\"SerialNumberSearch_itemsTitle_17bVs\",\"item\":\"SerialNumberSearch_item_1o8n2\",\"wide\":\"SerialNumberSearch_wide_2vP3y\",\"itemThreePartsRow\":\"SerialNumberSearch_itemThreePartsRow_1PN3W\",\"itemThreeParts\":\"SerialNumberSearch_itemThreeParts_1vGGz\",\"quantityInput\":\"SerialNumberSearch_quantityInput_15pQC\",\"menu\":\"SerialNumberSearch_menu__-Id_\",\"searchItem\":\"SerialNumberSearch_searchItem_rVGX7\",\"searchItemContent\":\"SerialNumberSearch_searchItemContent_A5fBy\",\"group_items_wrapper\":\"SerialNumberSearch_group_items_wrapper_3uY5B\",\"infoRegular\":\"SerialNumberSearch_infoRegular_2ZD4U\",\"bold\":\"SerialNumberSearch_bold_3u8Cp\"};"],"sourceRoot":""}