{"version":3,"sources":["webpack:///./src/modules/retro-bonuses/views/RewardDocumentDetail.vue?9c98","webpack:///./src/modules/retro-bonuses/views/RewardDocumentDetail.vue?9ce8","webpack:///./src/modules/retro-bonuses/views/RewardDocumentDetail.vue?a545","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/modules/retro-bonuses/views/RewardDocumentDetail.vue?397c","webpack:///./src/modules/retro-bonuses/views/RewardDocumentDetail.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","attrs","go_back","scopedSlots","_u","key","fn","_v","_s","title","proxy","class","$style","card","deliveryItem","deliveryTop","staticClass","start_period_at","end_period_at","_l","reward_document_details","item","delivery","deliveryGrid","deliveryRow","shipment_plan","_e","shipment_fact","percentage_plan_completion","_f","bonus_total","totalItemsInfo","product_count","table","cols","reward_document_products","table_options","prevent_sort","retro_bonuses_loading","on","$event","ref","reward_amount","quantity_shipped","pagination_props","upd_pagination","staticRenderFns","state","retro_bonuses_store","mutations","actions","RetroBonusesDetail","current_tab","mounted_comp","text","value","sortable","upd_pagination_debounced","debounce","id","$route","params","get_reward_document_products_by_id","get_reward_document_by_id","contract","name","RetroBonuses","Pages","RETRO_BONUSES_REWARD_DOCUMENTS","contract_id","correct_date_format","opts","SET_TABLE_OPTIONS","UPD_PAGINATION_FIELD","Vue","Component","components","PageTitle","Select","Tabs","InfoAlert","Table","Pagination","BackBtn","injectStyles","context","locals","component","VCard"],"mappings":"4GAAA,oE,qBCCAA,EAAOC,QAAU,CAAC,gBAAgB,2CAA2C,UAAU,qCAAqC,UAAU,qCAAqC,QAAU,qCAAqC,WAAa,wCAAwC,KAAO,kCAAkC,oBAAsB,iDAAiD,OAAS,oCAAoC,aAAe,0CAA0C,OAAS,oCAAoC,WAAa,wCAAwC,aAAe,0CAA0C,SAAW,sCAAsC,KAAO,kCAAkC,eAAiB,4CAA4C,SAAW,sCAAsC,aAAe,0CAA0C,YAAc,yCAAyC,aAAe,0CAA0C,YAAc,2C,yCCD//B,IAA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AAOS,EAAMX,eAtEsB,IAyErC,SAAkBmC,GAGhB,GAFAtB,EAAUuB,kBAAkBD,GAExB3E,KAAKyD,aAAc,CACrB,IAAQM,EAAO/D,KAAKgE,OAAOC,OAAnBF,GAERT,EAAQY,mCAAmCH,MA/EV,4BAmFrC,WACE,OAAOZ,EAAMH,mBApFsB,qFAuFrC,WAAqBvC,EAA4BkD,GAAjD,iFACEN,EAAUwB,qBAAqB,CAAEpE,MAAKkD,UAE1B,UAARlD,GACF4C,EAAUwB,qBAAqB,CAAEpE,IAAK,eAAgBkD,MAAO,IAE/D3D,KAAK6D,2BANP,gDAvFqC,mFAsGrC,SAAUF,GACR3D,KAAKwD,YAAcG,MAvGgB,GAASmB,QAA3BvB,EAAkB,gBAXtCwB,eAAU,CACTC,WAAY,CACVC,iBACAC,cACAC,YACAC,iBACAC,aACAC,kBACAC,mBAGiBhC,WC5J8Z,I,yDCQnb,SAASiC,EAAcC,GAErBzF,KAAK,UAAa,aAAO0F,QAAU,aAMrC,IAAIC,EAAY,eACd,EACA7F,EACAoD,GACA,EACAsC,EACA,KACA,MAIa,aAAAG,EAAiB,QAKhC,IAAkBA,EAAW,CAACC,QAAA","file":"js/home1504.fa450f8a.js","sourcesContent":["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!./RewardDocumentDetail.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!./RewardDocumentDetail.vue?vue&type=style&index=0&module=true&lang=scss&\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"v-application\":\"RewardDocumentDetail_v-application_HQYXn\",\"text-h1\":\"RewardDocumentDetail_text-h1_1ITEQ\",\"text-h2\":\"RewardDocumentDetail_text-h2_2ucWL\",\"filters\":\"RewardDocumentDetail_filters_3mrPR\",\"searchForm\":\"RewardDocumentDetail_searchForm_3Nrxb\",\"city\":\"RewardDocumentDetail_city_1RUxD\",\"organizations_types\":\"RewardDocumentDetail_organizations_types_1r45t\",\"region\":\"RewardDocumentDetail_region_1vuXJ\",\"organization\":\"RewardDocumentDetail_organization_31ep3\",\"select\":\"RewardDocumentDetail_select_25T6I\",\"datepicker\":\"RewardDocumentDetail_datepicker_pqYSK\",\"filtersBlock\":\"RewardDocumentDetail_filtersBlock_1HRN6\",\"btnOuter\":\"RewardDocumentDetail_btnOuter_2qlYc\",\"card\":\"RewardDocumentDetail_card_3AU4I\",\"totalItemsInfo\":\"RewardDocumentDetail_totalItemsInfo_3xQNQ\",\"delivery\":\"RewardDocumentDetail_delivery_1Y-tY\",\"deliveryItem\":\"RewardDocumentDetail_deliveryItem_1I4KR\",\"deliveryTop\":\"RewardDocumentDetail_deliveryTop_3T_xE\",\"deliveryGrid\":\"RewardDocumentDetail_deliveryGrid_287Ab\",\"deliveryRow\":\"RewardDocumentDetail_deliveryRow_1Vfcv\"};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('BackBtn',{attrs:{\"go_to\":_vm.go_back}}),_c('PageTitle',{attrs:{\"hide_btns\":\"\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.title || '')+\" \")]},proxy:true}])}),_c('v-card',{class:_vm.$style.card},[_c('div',{class:_vm.$style.deliveryItem},[_c('div',{class:_vm.$style.deliveryTop},[_c('h3',{staticClass:\"text-h4\"},[_vm._v(\"За период: \"+_vm._s(_vm.start_period_at)+\" - \"+_vm._s(_vm.end_period_at))])])]),_c('InfoAlert',{staticClass:\"mb-6 pt-6\",attrs:{\"is_dark\":\"\"},scopedSlots:_vm._u([{key:\"alert_text\",fn:function(){return [_c('div',[_vm._v(\" Условия начисления премии: \"),_c('br'),_vm._l((_vm.reward_document_details.reward_list),function(item){return _c('div',{key:item},[_c('span',[_vm._v(_vm._s(item))])])})],2)]},proxy:true}])}),_c('div',{staticClass:\"mb-6\",class:_vm.$style.delivery},[_c('div',{staticClass:\"mb-6\",class:_vm.$style.deliveryItem},[_c('div',{class:_vm.$style.deliveryTop},[_c('h3',{staticClass:\"text-h4\"},[_vm._v(\"Выполнение плана\")])]),_c('div',[_c('div',{class:_vm.$style.deliveryGrid},[_c('div',{class:_vm.$style.deliveryRow},[_c('div',[_vm._v(\"План по отгрузке\")]),(_vm.reward_document_details.shipment_plan)?_c('div',[_vm._v(\" \"+_vm._s(_vm.reward_document_details.shipment_plan)+\" ед. \")]):_vm._e()]),_c('div',{class:_vm.$style.deliveryRow},[_c('div',[_vm._v(\"Факт по отгруженным товарам\")]),(_vm.reward_document_details.shipment_fact)?_c('div',[_vm._v(\" \"+_vm._s(_vm.reward_document_details.shipment_fact)+\" ед. \")]):_vm._e()]),_c('div',{class:_vm.$style.deliveryRow},[_c('div',[_vm._v(\"Процент выполнения плана\")]),(_vm.reward_document_details.percentage_plan_completion)?_c('div',[_vm._v(\" \"+_vm._s(_vm.reward_document_details.percentage_plan_completion)+\" % \")]):_vm._e()]),_c('div',{class:_vm.$style.deliveryRow},[_c('div',[_vm._v(\"Премия итого\")]),(_vm.reward_document_details.bonus_total)?_c('div',[_vm._v(\" \"+_vm._s(_vm._f(\"currency_rub\")(_vm.reward_document_details.bonus_total))+\" \")]):_vm._e()])])])]),_c('div',{class:_vm.$style.deliveryItem},[_c('div',{class:_vm.$style.deliveryTop},[_c('h3',{staticClass:\"text-h4\"},[_vm._v(\"Перечень товаров, учавствующих в акции. \"),_c('span',{class:_vm.$style.totalItemsInfo},[_vm._v(\"Всего товаров: \"+_vm._s(_vm.reward_document_details.product_count))])])]),_c('Table',{class:_vm.$style.table,attrs:{\"headers\":_vm.cols,\"items\":_vm.reward_document_products,\"options\":_vm.table_options,\"custom-sort\":_vm.prevent_sort,\"loading\":_vm.retro_bonuses_loading,\"no-data-text\":\"Товары, удовлетворяющие выбранным параметрам, отсутствуют\",\"hide-default-footer\":\"\",\"not_resizeble\":\"\"},on:{\"update:options\":function($event){_vm.table_options=$event}},scopedSlots:_vm._u([{key:\"item.reward_amount\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',[(item.reward_amount)?_c('div',{class:_vm.$style['table-currency']},[_vm._v(\" \"+_vm._s(_vm._f(\"currency_rub\")(item.reward_amount))+\" \")]):_c('div',{class:_vm.$style['table-currency']},[_vm._v(\" - \")])])]}},{key:\"item.quantity_shipped\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',[_c('div',{class:_vm.$style['table-currency']},[_vm._v(\" \"+_vm._s(item.quantity_shipped || '-')+\" \")])])]}},{key:\"footer\",fn:function(){return [_c('Pagination',{attrs:{\"pagination_props\":_vm.pagination_props},on:{\"change_page\":function($event){return _vm.upd_pagination('current_page', $event)},\"page_size_changed\":function($event){return _vm.upd_pagination('limit', $event)}}})]},proxy:true}],null,true)})],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\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, Vue } from 'vue-property-decorator';\nimport { retro_bonuses_store } from '@/store';\nimport {\n InfoAlert, PageTitle, Select, Tabs, Table, Pagination,\n BackBtn,\n} from '@/components';\nimport { prevent_sort, debounce, correct_date_format } from '@/utils';\nimport { TableOptions, PaginationProps, TableCol } from '@/types';\nimport { RetroBonuses } from '../types';\n\nconst { state, mutations, actions } = retro_bonuses_store;\n\n@Component({\n components: {\n PageTitle,\n Select,\n Tabs,\n InfoAlert,\n Table,\n Pagination,\n BackBtn,\n },\n})\nexport default class RetroBonusesDetail extends Vue {\n async mounted() {\n const { id } = this.$route.params;\n\n await actions.get_reward_document_by_id(id);\n\n await actions.get_reward_document_products_by_id(id);\n this.mounted_comp = true;\n }\n\n current_tab = 0;\n prevent_sort = prevent_sort;\n mounted_comp = false;\n\n cols: TableCol[] = [\n {\n text: 'Код товара',\n value: 'product_code',\n sortable: true,\n },\n {\n text: 'Номенклатура',\n value: 'nomenclature',\n sortable: true,\n },\n {\n text: 'Количество отгруженных',\n value: 'quantity_shipped',\n sortable: true,\n },\n {\n text: 'Премия',\n value: 'reward_amount',\n sortable: true,\n },\n ]\n\n get reward_document_details() {\n return state.reward_document_details;\n }\n\n get contract_id() {\n return state.reward_document_details.contract?.id;\n }\n\n get go_back() {\n return { name: RetroBonuses.Pages.RETRO_BONUSES_REWARD_DOCUMENTS, params: { id: this.contract_id } };\n }\n\n get reward_document_products() {\n return state.reward_document_products;\n }\n\n get title() {\n return state.reward_document_details?.title;\n }\n\n get start_period_at() {\n return correct_date_format(state.reward_document_details?.start_period_at);\n }\n\n get end_period_at() {\n return correct_date_format(state.reward_document_details?.end_period_at);\n }\n\n get retro_bonuses_loading() {\n return state.retro_bonuses_loading;\n }\n\n get table_options() {\n return state.table_options;\n }\n\n set table_options(opts: TableOptions) {\n mutations.SET_TABLE_OPTIONS(opts);\n\n if (this.mounted_comp) {\n const { id } = this.$route.params;\n\n actions.get_reward_document_products_by_id(id);\n }\n }\n\n get pagination_props() {\n return state.pagination_props;\n }\n\n async upd_pagination(key: keyof PaginationProps, value: number) {\n mutations.UPD_PAGINATION_FIELD({ key, value });\n\n if (key === 'limit') {\n mutations.UPD_PAGINATION_FIELD({ key: 'current_page', value: 1 });\n }\n this.upd_pagination_debounced();\n }\n\n upd_pagination_debounced = debounce(() => {\n const { id } = this.$route.params;\n\n actions.get_reward_document_products_by_id(id);\n }, 1000);\n\n tab_model(value: number) {\n this.current_tab = value;\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!./RewardDocumentDetail.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!./RewardDocumentDetail.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RewardDocumentDetail.vue?vue&type=template&id=4fc21905&\"\nimport script from \"./RewardDocumentDetail.vue?vue&type=script&lang=ts&\"\nexport * from \"./RewardDocumentDetail.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RewardDocumentDetail.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 { VCard } from 'vuetify/lib/components/VCard';\ninstallComponents(component, {VCard})\n"],"sourceRoot":""}