1 |
- {"version":3,"file":"components/table-new-price-table.js","sources":["webpack:///./components/table/NewPriceTable.vue?9dc5","webpack:///./components/table/NewPriceTable.vue?5b85","webpack:///./components/table/NewPriceTable.vue","webpack:///./components/table/NewPriceTable.vue?e7b8","webpack:///./components/table/NewPriceTable.vue?e6a6"],"sourcesContent":["// Exports\nmodule.exports = {\n\n};\n","export * from \"-!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-0!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewPriceTable.vue?vue&type=style&index=0&id=8da20436&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\",style:({ marginBottom: _vm.marginBottom + 'px' })},[_vm._ssrNode(((_vm.tableType != 'Addon')?(\"<p class=\\\"tb-title\\\" data-v-8da20436>\"+(_vm._s(_vm.comTitle))+\"</p>\"):\"<!---->\")+\" \"),_vm._ssrNode(\"<div\"+(_vm._ssrClass(null,_vm.getTableContainerClass))+\" data-v-8da20436>\",\"</div>\",[_c('el-table',{ref:\"elTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"show-header\":_vm.tableType != 'Addon',\"data\":_vm.comTableData,\"header-cell-style\":{\n backgroundColor: '#fff',\n fontWeight: 'normal',\n fontSize: '14px',\n fontFamily: 'Proxima Nova',\n color: '#000',\n '--comDisplayCss': _vm.comDisplayCss,\n },\"row-key\":\"id\",\"span-method\":_vm.arraySpanMethod,\"row-class-name\":_vm.tableRowClassName},on:{\"selection-change\":_vm.handleSelectionChange,\"select\":_vm.dialogCheck}},[(_vm.tableType != 'Comparison')?_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"50\",\"align\":\"center\",\"reserve-selection\":true,\"selectable\":_vm.handleSelectable}}):_vm._e(),_vm._v(\" \"),_vm._l((_vm.tableColumns),function(item){return [(item.type)?_c('el-table-column',{key:item.prop,attrs:{\"align\":item.align ? item.align : 'left',\"prop\":item.prop,\"label\":item.label,\"formatter\":item.formatter,\"width\":item.width,\"sortable\":item.sortable},scopedSlots:_vm._u([{key:\"default\",fn:function({ row }){return [(item.type == 'radioInput')?[_c('div',{staticClass:\"flex between\"},[_c('span',[_vm._v(_vm._s(row.decName))]),_vm._v(\" \"),_c('el-input',{staticClass:\"edit-input\",attrs:{\"min\":\"0\",\"max\":row.max_num,\"type\":\"number\",\"size\":\"small\"},on:{\"input\":function($event){return _vm.getNumber($event, row, row.max_num)}},model:{value:(row.num),callback:function ($$v) {_vm.$set(row, \"num\", $$v)},expression:\"row.num\"}})],1)]:_c('div',[(row.filter_boolean)?[_c('div',{staticClass:\"triangle\"}),_vm._v(\" \"),_c('div',{staticClass:\"text\"},[_vm._v(\"Eco\")])]:_vm._e(),_vm._v(\"\\n \"+_vm._s(row[item.prop])+\"\\n \"),(_vm.tableType == 'Undecorated')?_c('el-popover',{attrs:{\"placement\":\"top-start\",\"trigger\":\"hover\"}},[_c('i',{staticClass:\"el-icon-warning\",attrs:{\"slot\":\"reference\"},slot:\"reference\"}),_vm._v(\" \"),_c('p',{staticClass:\"popover-text\"},[_vm._v(_vm._s(_vm.comTitle))])]):_vm._e()],2)]}}],null,true)}):_vm._e(),_vm._v(\" \"),(!item.type)?_c('el-table-column',{key:item.prop,attrs:{\"align\":item.align ? item.align : 'center',\"prop\":item.prop,\"label\":item.label,\"formatter\":item.formatter,\"sortable\":item.sortable,\"show-overflow-tooltip\":\"\",\"width\":(798 - _vm.tableColumns[0].width - _vm.tableColumns[0].extraWidth) /\n (_vm.tableColumns.length - 1)},scopedSlots:_vm._u([{key:\"default\",fn:function({ row, $index }){return [(item.prop === 'website_setup')?_c('div',[($index === 0 && _vm.tableType == 'Decoration')?_c('div',[(row['supplier_setup_id'] < 5 || row['supplier_setup_id'] == 7)?_c('span',[_vm._v(\"£ \"+_vm._s(row['supplier_setup']? parseFloat(row['supplier_setup']).toFixed(2) : \"0.00\"))]):_vm._e(),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.$_setupPriceFilter(row['supplier_setup_id'])))])]):_c('div',[(row['website_setup_id'] < 5 || row['website_setup_id'] == 7)?_c('span',[_vm._v(\"£ \"+_vm._s(row['website_setup']? parseFloat(row['website_setup']).toFixed(2) : \"0.00\"))]):_vm._e(),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.$_setupPriceFilter(row['website_setup_id'])))])])]):(\n _vm.judgeProp(row, item.prop, $index) == '111' ||\n _vm.judgeProp(row, item.prop, $index) == '111.00'\n )?_c('div',[_vm._v(\"\\n -\\n \")]):(\n _vm.judgeProp(row, item.prop, $index) == '999' ||\n _vm.judgeProp(row, item.prop, $index) === '999.00'\n )?_c('div',[_vm._v(\"\\n POA\\n \")]):(_vm.judgeProp(row, item.prop, $index) === '')?_c('div',[_vm._v(\"0\")]):_c('div',[(\n _vm.isNumber(_vm.judgeProp(row, item.prop, $index)) &&\n !item.isFirstColumn\n )?_c('span',[_vm._v(\"£\")]):_vm._e(),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.judgeProp(row, item.prop, $index)))])])]}}],null,true)}):_vm._e()]})],2)],1)],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewPriceTable.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewPriceTable.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NewPriceTable.vue?vue&type=template&id=8da20436&scoped=true\"\nimport script from \"./NewPriceTable.vue?vue&type=script&lang=js\"\nexport * from \"./NewPriceTable.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./NewPriceTable.vue?vue&type=style&index=0&id=8da20436&prod&lang=scss&scoped=true\")\nif (style0.__inject__) style0.__inject__(context)\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 \"8da20436\",\n \"518290f4\"\n \n)\n\nexport default component.exports"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;;;;;;;;ACHA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA;AAAA;AAAA;AAAA;AACA;AACA;;;;;;;;AAlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1PA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;A","sourceRoot":""}
|