{"version":3,"sources":["webpack:///./src/components/GoodsLoadingTable.vue?0d57","webpack:///./src/views/GoodsLoading.vue","webpack:///./src/components/GoodsLoadingTable.vue","webpack:///src/components/GoodsLoadingTable.vue","webpack:///./src/components/GoodsLoadingTable.vue?3331","webpack:///./src/components/GoodsLoadingTable.vue?1e15","webpack:///src/views/GoodsLoading.vue","webpack:///./src/views/GoodsLoading.vue?c02d","webpack:///./src/views/GoodsLoading.vue?369f","webpack:///./src/mixins/pagination-mixin.js"],"names":["render","_vm","this","_c","_self","staticClass","staticRenderFns","attrs","groupOptions","group","title","$t","on","getGoodsByGroup","scopedSlots","_u","key","fn","_v","_s","proxy","model","value","selectedGroup","callback","$$v","expression","options","x","code","product","id","getAugment","selectedProduct","selectedProductHasSerialNumber","amount","stockProductAmount","_e","vehicleLoadedAmount","totalAmount","parseInt","productMissingAmount","filter","showVehiclesWithGoodsShortage","$event","onChangeFilterValue","showVehiclesWithCriticalGoodsShortage","showVehiclesWithExtraGoods","showVehiclesWithoutGoods","pagination","currentPage","totalCount","limit","onChangeCurrentPage","fields","items","onSortChanged","registrationNumber","manager","loadDate","$i18n","locale","row","item","loadedQuantity","minQuantity","optimalQuantity","onOpenEditGroupModal","changeAdditionalQuantity","additionalQuantity","$set","_n","products","find","hasSerialNumber","tags","autocompleteItems","changeTags","arguments","tag","vehicleId","changeLoadedQuantity","$d","Date","equipCar","mixins","components","VueTagsInput","data","groups","initialLoadedValues","availableSerialNumbers","computed","label","sortable","methods","mapActions","getVehicleLoadedAmount","getStockProductAmount","getProductMissingAmount","neededAmount","getTotalAmount","map","text","vehicle","getAllGoods","calcAmounts","clearAmounts","goodsId","params","groupTitle","itemToChange","serialNumbers","alert","count","uploadChangedData","api","changeLoadItem","then","catch","mounted","component","offset","sort","by","isDesc","paginationParams","sortBy","isSortDesc","loadDataCallback","sortDesc","page","filters","property","hasOwnProperty","type","categoryId"],"mappings":"kHAAA,W,gECAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAA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F,EAASC,EAAU/G,EAAO2G,GACxCG,EAAQE,eAAeD,KACT,QAAZA,GACFD,EAAQ,QAAU9G,EAAMiH,KACxBH,EAAQ,mBAAqB9G,EAAMkH,YAAc,MAEjDJ,EAAQC,GAAY/G,EAGtBpB,KAAKmD,oBAAoB,EAAG4E","file":"js/chunk-f981f3d4.55a2e508.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsLoadingTable.vue?vue&type=style&index=0&id=4cb4f579&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"post\"},[_c('goods-loading-table')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('b-container',{attrs:{\"fluid\":\"\"}},[_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('v-select',{attrs:{\"options\":_vm.groupOptions,\"reduce\":group => group.title,\"label\":\"title\",\"placeholder\":_vm.$t('goodsLoadingGroup.selectGroup')},on:{\"input\":_vm.getGoodsByGroup},scopedSlots:_vm._u([{key:\"no-options\",fn:function(){return [_vm._v(_vm._s(_vm.$t(\"vselect.noOptions\")))]},proxy:true}]),model:{value:(_vm.selectedGroup),callback:function ($$v) {_vm.selectedGroup=$$v},expression:\"selectedGroup\"}})],1)],1),_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('v-select',{attrs:{\"options\":_vm.options,\"getOptionLabel\":x => `${x.title} - ${x.code}`,\"reduce\":product => product.id,\"placeholder\":_vm.$t('goodsLoadingGroup.selectProduct'),\"label\":\"title\"},on:{\"input\":_vm.getAugment},scopedSlots:_vm._u([{key:\"no-options\",fn:function(){return [_vm._v(_vm._s(_vm.$t(\"vselect.noOptions\")))]},proxy:true}]),model:{value:(_vm.selectedProduct),callback:function ($$v) {_vm.selectedProduct=$$v},expression:\"selectedProduct\"}})],1)],1),_c('b-container',{staticClass:\"gray-container mb-2 px-4\",attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',[(_vm.selectedProduct)?_c('b-row',[(_vm.selectedProductHasSerialNumber)?_c('label',[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.productAmountInStock\", { amount: _vm.stockProductAmount }))+\" \")]):_vm._e()]):_vm._e(),(_vm.selectedProduct)?_c('b-row',[_c('label',[_vm._v(_vm._s(_vm.$t(\"goodsLoadingGroup.productAmountInVehicle\", { amount: _vm.vehicleLoadedAmount })))])]):_vm._e(),(_vm.selectedProduct)?_c('b-row',[_c('label',[_vm._v(_vm._s(_vm.$t(\"goodsLoadingGroup.productTotalAmount\", { amount: _vm.totalAmount })))])]):_vm._e()],1),_c('b-col',{attrs:{\"sm\":\"2\"}},[(_vm.selectedProduct)?_c('b-row',[(parseInt(_vm.productMissingAmount) >= 0 || _vm.productMissingAmount == '')?_c('label',[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.productMissingAmount\", { amount: _vm.productMissingAmount }))+\" \")]):_c('label',[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.productMissingAmountWithExcess\", { amount: _vm.productMissingAmount }))+\" \")])]):_vm._e()],1)],1)],1),_c('b-container',{staticClass:\"gray-container mb-2 p-3\",attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',[_c('b-input-group',[_c('b-form-checkbox',{attrs:{\"switch\":\"\",\"checked\":_vm.filter.showVehiclesWithGoodsShortage},on:{\"input\":function($event){return _vm.onChangeFilterValue(_vm.filter, 'showVehiclesWithGoodsShortage', $event, _vm.getAugment)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.showVehiclesWithGoodsShortage\"))+\" \")])],1)],1),_c('b-col',[_c('b-input-group',[_c('b-form-checkbox',{attrs:{\"switch\":\"\",\"checked\":_vm.filter.showVehiclesWithCriticalGoodsShortage},on:{\"input\":function($event){return _vm.onChangeFilterValue(_vm.filter, 'showVehiclesWithCriticalGoodsShortage', $event, _vm.getAugment)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.showVehiclesWithCriticalGoodsShortage\"))+\" \")])],1)],1),_c('b-col',[_c('b-input-group',[_c('b-form-checkbox',{attrs:{\"switch\":\"\",\"checked\":_vm.filter.showVehiclesWithExtraGoods},on:{\"input\":function($event){return _vm.onChangeFilterValue(_vm.filter, 'showVehiclesWithExtraGoods', $event, _vm.getAugment)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.showVehiclesWithExtraGoods\"))+\" \")])],1)],1),_c('b-col',[_c('b-input-group',[_c('b-form-checkbox',{attrs:{\"switch\":\"\",\"checked\":_vm.filter.showVehiclesWithoutGoods},on:{\"input\":function($event){return _vm.onChangeFilterValue(_vm.filter, 'showVehiclesWithoutGoods', $event, _vm.getAugment)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.showVehiclesWithoutGoods\"))+\" \")])],1)],1)],1)],1),_c('div',[_c('b-pagination',{attrs:{\"value\":_vm.pagination.currentPage,\"total-rows\":_vm.pagination.totalCount,\"per-page\":_vm.pagination.limit},on:{\"input\":function($event){return _vm.onChangeCurrentPage($event, _vm.getAugment)}}}),_c('b-table',{attrs:{\"fields\":_vm.fields,\"items\":_vm.items,\"responsive\":\"\",\"no-local-sorting\":\"\"},on:{\"sort-changed\":function($event){return _vm.onSortChanged($event, _vm.getAugment)}},scopedSlots:_vm._u([{key:\"top-row\",fn:function(){return [_c('td',[_c('b-input',{attrs:{\"value\":_vm.filter.registrationNumber,\"placeholder\":_vm.$t('goodsLoadingGroup.vehicleNumber')},on:{\"change\":function($event){return _vm.onChangeFilterValue(_vm.filter, 'registrationNumber', $event, _vm.getAugment)}}})],1),_c('td'),_c('td'),_c('td'),_c('td'),_c('td'),_c('td'),_c('td',[_c('b-input',{attrs:{\"value\":_vm.filter.manager,\"placeholder\":_vm.$t('goodsLoadingGroup.user')},on:{\"change\":function($event){return _vm.onChangeFilterValue(_vm.filter, 'manager', $event, _vm.getAugment)}}})],1),_c('td',[_c('b-datepicker',{attrs:{\"value-as-date\":\"\",\"reset-button\":\"\",\"value\":_vm.filter.loadDate,\"locale\":_vm.$i18n.locale,\"label-reset-button\":_vm.$t('datepicker.reset-btn'),\"placeholder\":\"\",\"label-no-date-selected\":\"\",\"boundary\":\"window\"},on:{\"input\":function($event){return _vm.onChangeFilterValue(_vm.filter, 'loadDate', $event, _vm.getAugment)}}})],1),_c('td'),_c('td')]},proxy:true},{key:\"cell(calculated)\",fn:function(row){return [_c('b-row',[(row.item.loadedQuantity < row.item.minQuantity)?_c('b-col',[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.missingAmount\"))+\" \"+_vm._s(row.item.minQuantity - row.item.loadedQuantity)+\" \")]):_vm._e(),(row.item.loadedQuantity > row.item.optimalQuantity)?_c('b-col',[_vm._v(\" \"+_vm._s(_vm.$t(\"goodsLoadingGroup.excessAmount\"))+\" \"+_vm._s(row.item.loadedQuantity - row.item.optimalQuantity)+\" \")]):_vm._e()],1)]}},{key:\"cell(title)\",fn:function(row){return [_c('b-link',{on:{\"click\":function($event){return _vm.onOpenEditGroupModal(row.value[_vm.$i18n.locale])}}},[_vm._v(_vm._s(row.value[_vm.$i18n.locale]))])]}},{key:\"cell(additionalQuantity)\",fn:function(row){return [_c('b-input',{attrs:{\"type\":\"number\"},on:{\"input\":function($event){return _vm.changeAdditionalQuantity(row.item)}},model:{value:(row.item.additionalQuantity),callback:function ($$v) {_vm.$set(row.item, \"additionalQuantity\", _vm._n($$v))},expression:\"row.item.additionalQuantity\"}})]}},{key:\"cell(serialNumbers)\",fn:function(row){return [(_vm.products.find(x => x.id == _vm.selectedProduct).hasSerialNumber)?_c('div',[_c('vue-tags-input',{attrs:{\"tags\":_vm.tags(row.item),\"autocomplete-items\":_vm.autocompleteItems(row.item),\"placeholder\":_vm.$t('goodsLoadingGroup.addSerialNumberPlaceholder'),\"add-on-blur\":false},on:{\"tags-changed\":function($event){return _vm.changeTags(row.item, arguments[0])}},model:{value:(_vm.tag[row.item.vehicleId]),callback:function ($$v) {_vm.$set(_vm.tag, row.item.vehicleId, $$v)},expression:\"tag[row.item.vehicleId]\"}})],1):_vm._e()]}},{key:\"cell(loadedQuantity)\",fn:function(row){return [_c('b-input',{attrs:{\"type\":\"number\"},on:{\"input\":function($event){return _vm.changeLoadedQuantity(row.item)}},model:{value:(row.item.loadedQuantity),callback:function ($$v) {_vm.$set(row.item, \"loadedQuantity\", _vm._n($$v))},expression:\"row.item.loadedQuantity\"}})]}},{key:\"cell(loadDate)\",fn:function(row){return [_vm._v(_vm._s(_vm.$d(new Date(row.value))))]}},{key:\"cell(equip)\",fn:function(row){return [_c('b-button',{on:{\"click\":function($event){return _vm.equipCar(row.item)}}},[_vm._v(_vm._s(_vm.$t(\"goodsLoadingGroup.loadButton\")))])]}}])})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n \r\n \r\n \r\n \r\n group.title\"\r\n label=\"title\"\r\n @input=\"getGoodsByGroup\"\r\n :placeholder=\"$t('goodsLoadingGroup.selectGroup')\"\r\n >\r\n {{ $t(\"vselect.noOptions\") }}\r\n \r\n \r\n \r\n \r\n \r\n `${x.title} - ${x.code}`\"\r\n :reduce=\"product => product.id\"\r\n :placeholder=\"$t('goodsLoadingGroup.selectProduct')\"\r\n label=\"title\"\r\n @input=\"getAugment\"\r\n >\r\n {{ $t(\"vselect.noOptions\") }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.productAmountInStock\", { amount: stockProductAmount }) }}\r\n \r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.productAmountInVehicle\", { amount: vehicleLoadedAmount }) }}\r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.productTotalAmount\", { amount: totalAmount }) }}\r\n \r\n \r\n \r\n \r\n = 0 || productMissingAmount == ''\">\r\n {{ $t(\"goodsLoadingGroup.productMissingAmount\", { amount: productMissingAmount }) }}\r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.productMissingAmountWithExcess\", { amount: productMissingAmount }) }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.showVehiclesWithGoodsShortage\") }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.showVehiclesWithCriticalGoodsShortage\") }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.showVehiclesWithExtraGoods\") }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.showVehiclesWithoutGoods\") }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"goodsLoadingGroup.missingAmount\") }} {{ row.item.minQuantity - row.item.loadedQuantity }}\r\n \r\n row.item.optimalQuantity\">\r\n {{ $t(\"goodsLoadingGroup.excessAmount\") }}\r\n {{ row.item.loadedQuantity - row.item.optimalQuantity }}\r\n \r\n \r\n \r\n \r\n {{ row.value[$i18n.locale] }}\r\n \r\n \r\n \r\n \r\n \r\n x.id == selectedProduct).hasSerialNumber\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $d(new Date(row.value)) }}\r\n \r\n {{ $t(\"goodsLoadingGroup.loadButton\") }}\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsLoadingTable.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsLoadingTable.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsLoadingTable.vue?vue&type=template&id=4cb4f579&\"\nimport script from \"./GoodsLoadingTable.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsLoadingTable.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GoodsLoadingTable.vue?vue&type=style&index=0&id=4cb4f579&prod&lang=css&\"\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","\r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsLoading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsLoading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsLoading.vue?vue&type=template&id=f8d86f22&\"\nimport script from \"./GoodsLoading.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsLoading.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","export default {\r\n data() {\r\n return {\r\n pagination: {\r\n limit: 20,\r\n offset: 0,\r\n currentPage: 1,\r\n totalCount: 0\r\n },\r\n sort: {\r\n by: \"\",\r\n isDesc: false\r\n }\r\n };\r\n },\r\n computed: {\r\n paginationParams() {\r\n return {\r\n offset: this.pagination.limit * (this.pagination.currentPage - 1),\r\n limit: this.pagination.limit,\r\n sortBy: this.sort.by,\r\n isSortDesc: this.sort.isDesc\r\n };\r\n }\r\n },\r\n methods: {\r\n onSortChanged({ sortBy, sortDesc }, loadDataCallback) {\r\n this.sort.by = sortBy;\r\n this.sort.isDesc = sortDesc;\r\n\r\n this.onChangeCurrentPage(1, loadDataCallback);\r\n },\r\n onChangeCurrentPage(page, loadDataCallback) {\r\n this.pagination.currentPage = page;\r\n\r\n loadDataCallback();\r\n },\r\n onChangeFilterValue(filters, property, value, loadDataCallback) {\r\n if (filters.hasOwnProperty(property)) {\r\n if (property == \"type\") {\r\n filters[\"type\"] = value.type;\r\n filters[\"issueCategoryId\"] = value.categoryId || null;\r\n } else {\r\n filters[property] = value;\r\n }\r\n\r\n this.onChangeCurrentPage(1, loadDataCallback);\r\n }\r\n }\r\n }\r\n};\r\n"],"sourceRoot":""}