{"version":3,"sources":["webpack:///./src/modules/orders/components/detail-page/DeliveryInfoTab.vue?17d6","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/modules/orders/components/detail-page/DeliveryInfoTab.vue?4072","webpack:///./src/modules/orders/components/detail-page/DeliveryInfoTab.vue","webpack:///./src/modules/orders/components/detail-page/DeliveryInfoTab.vue?0c38","webpack:///./src/modules/orders/components/detail-page/DeliveryInfoTab.vue?4414"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","cols","products","prevent_sort","scopedSlots","_u","key","fn","ref","item","_v","_s","indexOf","staticClass","product","nomenclature","class","$style","cell_small","product_code","quantity","weight","volume","delivery_name","trasnport_company_name","delivery_address","_f","order_details","shipment_date","proxy","staticRenderFns","state","orders_store","getters","DeliveryInfoTab","updated_cols","deliveryInfoCols","cols_modal_quantity","deliveryInfoModalQuantity","cols_modal_delivery","splice","OrderStatuses","products_list","map","clone_deep","products_sorted","delivery","delivery_type","name","address","transport_company","name_transport_company","Vue","Component","components","Table","injectStyles","context","locals","component","module","exports"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACE,MAAM,CAAC,QAAUN,EAAIO,KAAK,MAAQP,EAAIQ,SAAS,cAAcR,EAAIS,aAAa,cAAgB,GAAG,eAAe,6DAA6DC,YAAYV,EAAIW,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,SAASC,GAClV,IAAIC,EAAOD,EAAIC,KACf,MAAO,CAACf,EAAIgB,GAAG,IAAIhB,EAAIiB,GAAGjB,EAAIQ,SAASU,QAAQH,GAAQ,GAAG,QAAQ,CAACH,IAAI,oBAAoBC,GAAG,SAASC,GACvG,IAAIC,EAAOD,EAAIC,KACf,MAAO,CAACX,EAAG,KAAK,CAACe,YAAY,QAAQ,CAACnB,EAAIgB,GAAG,IAAIh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sC,UAAU,gCAAgC,UAAU,gCAAgC,eAAiB,uCAAuC,aAAe,qCAAqC,WAAa","file":"js/chunk-9772b36c.769aa9a8.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Table',{attrs:{\"headers\":_vm.cols,\"items\":_vm.products,\"custom-sort\":_vm.prevent_sort,\"not_resizeble\":\"\",\"no-data-text\":\"Заказы, удовлетворяющие выбранным параметрам, отсутствуют\"},scopedSlots:_vm._u([{key:\"item.id\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(_vm.products.indexOf(item) + 1)+\" \")]}},{key:\"item.nomenclature\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.product ? item.product.nomenclature : '')+\" \"),_c('br'),_c('span',{class:_vm.$style.cell_small},[_vm._v(\" Код товара \"+_vm._s(item.product ? item.product.product_code : '')+\" \")])])]}},{key:\"item.quantity\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.quantity)+\" \")])]}},{key:\"item.params\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(item.weight ? item.weight + \" кг\" : '')+\" \"),_c('br'),_vm._v(\" \"+_vm._s(item.volume)+\" \")])]}},{key:\"item.delivery_type\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(_vm.delivery_name(item))+\" \")])]}},{key:\"item.transport_company\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(_vm.trasnport_company_name(item))+\" \")])]}},{key:\"item.address\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"py-2\"},[_vm._v(\" \"+_vm._s(_vm.delivery_address(item))+\" \"),_c('br'),_c('br')])]}},{key:\"item.shipment_date\",fn:function(){return [_c('td',{staticClass:\"py-2\"},[_vm._v(_vm._s(_vm._f(\"date\")(_vm.order_details.shipment_date))+\" \"),_c('br')])]},proxy:true}],null,true)})],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { prevent_sort, clone_deep } from '@/utils';\nimport { OrderStatuses } from '@/enums';\nimport { TableCol } from '@/types';\n// SimpleDialog, Snackbar, Select, Textarea\nimport { Table } from '@/components';\n// import { TextField } from '@/components/global/inputs/text-field';\n// import ValidateMixin from '@/mixins/validate';\nimport { orders_store } from '@/store';\n// Mixins\nimport { Vue, Component } from 'vue-property-decorator';\nimport { Orders } from '../../types';\n// import { orderDetailedInfo } from \"../../mock\";\nimport { deliveryInfoCols, deliveryInfoModalQuantity } from '../../consts';\n// import UpdateOrderDetailsMixin from '../../mixins/update_order_functions';\n\nconst {\n state, getters,\n} = orders_store;\n\n@Component({\n components: {\n Table,\n // \n // SimpleDialog,\n // Snackbar,\n // TextField,\n // Select,\n // Textarea,\n },\n})\n// \n// Mixins(ValidateMixin, UpdateOrderDetailsMixin)\nexport default class DeliveryInfoTab extends Vue {\n prevent_sort = prevent_sort;\n updated_cols: TableCol[] = []\n cols = [...deliveryInfoCols];\n cols_modal_quantity = [...deliveryInfoModalQuantity];\n cols_modal_delivery = [...deliveryInfoModalQuantity].splice(0, 2);\n\n OrderStatuses = OrderStatuses;\n\n get products_list() {\n return getters.products_sorted;\n }\n\n products = this.products_list.map((item: Orders.OrderProductInfo) => clone_deep(item));\n\n get order_details() {\n return state.order_details;\n }\n\n // \n // get order_is_new() {\n // return this.order_details.order_status.slug === OrderStatuses.NEW;\n // }\n\n // get order_was_shipped() {\n // return this.order_details.order_status.slug === OrderStatuses.SHIPPED;\n // }\n\n delivery_name(item: Orders.OrderProductInfo) {\n return item.delivery?.delivery_type?.name || '';\n }\n\n delivery_address(item: Orders.OrderProductInfo) {\n return item.delivery?.delivery_address?.address || '';\n }\n\n trasnport_company_name(item: Orders.OrderProductInfo) {\n return item.delivery?.transport_company?.name_transport_company || '';\n }\n // \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!./DeliveryInfoTab.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!./DeliveryInfoTab.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DeliveryInfoTab.vue?vue&type=template&id=5886d0d5&\"\nimport script from \"./DeliveryInfoTab.vue?vue&type=script&lang=ts&\"\nexport * from \"./DeliveryInfoTab.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DeliveryInfoTab.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","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!./DeliveryInfoTab.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!./DeliveryInfoTab.vue?vue&type=style&index=0&module=true&lang=scss&\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"v-application\":\"DeliveryInfoTab_v-application_2n_5F\",\"text-h1\":\"DeliveryInfoTab_text-h1_odq4R\",\"text-h2\":\"DeliveryInfoTab_text-h2_2VvLw\",\"quantity_input\":\"DeliveryInfoTab_quantity_input_2N5Cu\",\"modal_select\":\"DeliveryInfoTab_modal_select_3emjA\",\"cell_small\":\"DeliveryInfoTab_cell_small_3djuX\"};"],"sourceRoot":""}