1 |
- {"version":3,"sources":["webpack:///./node_modules/number-precision/build/index.es.js","webpack:///./components/Tinymce/index.vue?894c","webpack:///./components/Tinymce/index.vue","webpack:///./components/Tinymce/index.vue?d718","webpack:///./components/Tinymce/index.vue?f614","webpack:///./components/Tinymce/plugins.js","webpack:///./components/Tinymce/toolbar.js","webpack:///./components/Tinymce/dynamicLoadScript.js","webpack:///./components/Tinymce/index.vue?519f","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./components/FormDialog.vue?f9b8","webpack:///./components/FormDialog.vue","webpack:///./components/FormDialog.vue?d330","webpack:///./components/FormDialog.vue?d22e","webpack:///./components/FormDialog.vue?f437","webpack:///./components/table/NewPriceTable.vue?c73c","webpack:///./components/table/TotalTable.vue?d4cf","webpack:///./components/table/UnitTable.vue?298b","webpack:///./components/TabNav.vue?128f","webpack:///./components/PcSwitch.vue?03df","webpack:///./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack:///./components/TabNav.vue?f732","webpack:///./components/TabNav.vue","webpack:///./components/TabNav.vue?f4a8","webpack:///./components/table/NewPriceTable.vue?f53c","webpack:///./components/table/TotalTable.vue?3e8a","webpack:///./components/table/UnitTable.vue?c20d","webpack:///./components/TabNav.vue?6153","webpack:///./components/PcSwitch.vue?28ed","webpack:///./components/product/Quote.vue?a79a","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///./components/product/Quote.vue","webpack:///./components/product/Quote.vue?2674","webpack:///./components/product/Quote.vue?680f","webpack:///./components/table/NewPriceTable.vue?e7b8","webpack:///./components/table/NewPriceTable.vue","webpack:///./components/table/NewPriceTable.vue?e6a6","webpack:///./components/table/TotalTable.vue?ef20","webpack:///./components/table/TotalTable.vue","webpack:///./components/table/TotalTable.vue?c108","webpack:///./components/table/UnitTable.vue","webpack:///./components/table/UnitTable.vue?b71d","webpack:///./components/table/UnitTable.vue?a1ce","webpack:///./components/table/MailTable.vue","webpack:///./components/table/MailTable.vue?6878","webpack:///./components/table/MailTable.vue?447d","webpack:///./components/PcSwitch.vue","webpack:///./components/PcSwitch.vue?1110","webpack:///./components/PcSwitch.vue?db4b","webpack:///./components/PriceToImg.vue?2004","webpack:///./components/PriceToImg.vue","webpack:///./components/PriceToImg.vue?8df8","webpack:///./node_modules/core-js/modules/es.array.flat-map.js","webpack:///./node_modules/core-js/internals/flatten-into-array.js","webpack:///./node_modules/core-js/modules/es.array.unscopables.flat-map.js","webpack:///./components/product/Quote.vue?bcc9"],"names":["strip","num","precision","parseFloat","Number","toPrecision","digitLength","eSplit","toString","split","len","length","float2Fixed","indexOf","replace","dLen","Math","pow","checkBoundary","_boundaryCheckingState","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","console","warn","createOperation","operation","nums","_i","arguments","first","slice","reduce","prev","next","times","num1","num2","num1Changed","num2Changed","baseNum","leftValue","plus","max","minus","divide","module","exports","name","props","id","type","String","default","Date","random","toFixed","value","toolbar","Array","required","menubar","height","width","data","hasChange","hasInit","tinymceId","this","fullscreen","languageTypeList","computed","language","$store","getters","containerWidth","test","concat","watch","val","_this2","$nextTick","window","tinymce","get","setContent","_this3","destroyTinymce","initTinymce","mounted","init","activated","deactivated","destroyed","methods","_this4","load","err","$message","error","message","_this5","_this","selector","body_class","object_resizing","plugins","end_container_on_empty_block","powerpaste_word_import","code_dialog_height","code_dialog_width","advlist_bullet_styles","advlist_number_styles","imagetools_cors_hosts","default_link_target","link_title","nonbreaking_force_tab","init_instance_callback","editor","on","$emit","getContent","setup","e","state","convert_urls","execCommand","destroy","imageSuccessCBK","arr","_this6","forEach","v","insertContent","url","component","_vm","_c","_self","staticClass","class","style","attrs","callbacks","dynamicLoadScript","src","callback","existingScript","document","getElementById","cb","script","createElement","body","appendChild","push","onEnd","onload","onerror","_step","_iterator","_createForOfIteratorHelper","s","n","done","f","Error","onreadystatechange","readyState","_step2","_iterator2","$","$find","find","addToUnscopables","FIND","SKIPS_HOLES","target","proto","forced","callbackfn","undefined","components","Tinymce","title","sendbtnCext","cancelbtnCext","top","isSendPdf","Boolean","emailForm","enquiryConfig","rules","labelWidth","marginBottom","visible","downloading","comEnquiryConfig","filter","item","hasOwnProperty","isShow","_objectSpread","mapMutations","handleClose","handleSend","$refs","ruleForm","validate","valid","setLoading","$event","ref","_l","key","prop","_v","_s","_e","model","$$v","$set","expression","placeholder","selectlist","i","k","slot","product","loading","installComponents","_toConsumableArray","r","isArray","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","TypeError","borderType","fontSize","marginTop","liWidth","liHeight","marginRight","currTab","tabList","Object","allPrintTab","textColor","comRemaining","mapTabList","map","element","includes","selTab","active","minWidth","lineHeight","keys","_objectWithoutProperties","t","o","call","getOwnPropertySymbols","propertyIsEnumerable","NewPriceTable","TotalTable","UnitTable","MailTable","dialogXXSuccess","pageData","quoteLoadState","curWeek","priceList","initZeroObj","initSetupObj","initUnitObj","initChangeUnitObj","initFrightObj","initTotalObj","xxContentVisible","setup_switch","freight_switch","weight","undecorated_columns","label","align","extraWidth","isFirstColumn","decoration_columns","addon_columns","buy_columns","unit_columns","isText","buyData","project","unitData","total","sellData","summary","POA_Config","enquiryFormVisible","enquiryForm","Name","Email","Phone","Comments","trigger","pattern","mailData","Url","priceToImgVisible","downloadDialogVisible","commentObj","enquiryConfig1","rules1","specificationsObj","time","decoration","addonArr","pdfLoading","mapState","configInfo","userInfo","comCurWeekPrice","comCurPrint","curPrint","comCurBasePrice","basePrice","comLocationNum","locationNum","comCurBaseColumns","part_columns","comCurBaseTotalColumns","d","total_part_columns","remainingAttr","comTotalLabel","sum","comSummaryColumns","comAttributeList","_this$comCurBaseTotal","obj","comBasePrice","selectBaseRow","comDecoPrice","_this$comCurWeekPrice","idx","keyArr","supplier_val","npTimes","comBuyData","calculateBuyData","comNoSumCol","comHasSumCol","comMergeColumns","comSellData","calculateSellData","comFilterSwitchSellData","_this$comSellData","mapActions","multiplyWithMargin","m","npDivide","round","getQuote","_asyncToGenerator","regeneratorRuntime","mark","_callee","margin","setupMargin","wrap","_context","dispatch","then","res","setup_margin","$axios","post","localStorage","getItem","JSON","parse","_res$result","result","attributeList","defaultID","a","unit","hasOwn","_loop","temp","website_setup","supplier_setup","decoration_addition","deco","vals","_priceList$keys","additionlist","remaining","_excluded","selectAdditionRow","formatDurationString","nameOrigin","decorationOrign","decorationID","flatMap","max_color","max_num","decName","max_color_name","max_point","max_point_name","_loop2","_remaining$_k","_remaining$_k2","copyData","_loop3","_a","every","attributeKeys","areAllKeysInPOAConfig","prototype","freightParam","postcode","freight_type","freight","firstColumns","newColumn","options","index","opt","_defaultID$decoration","matchData","_d$pricetype","pricetype","assign","catch","log","stop","input","getWeight","getFreight","basic","pickup","minimum","getDebFreight","_","debounce","getNumber","row","min","parseInt","sortBy","items","customSort","b","dividePrice","openMailDialog","getMailData","location","href","_this$enquiryForm","$utils","formatTime","sendPriceMail","_callee2","shopInfo","_this6$enquiryForm","_context2","getCustomerQuoteData","sent","site_id","content","mailtable","$el","innerHTML","email","phone","product_code","comments","$confirm","confirmButtonText","showCancelButton","center","showClose","confirmButtonClass","_this$comCurWeekPrice2","openDownloadDialog","handleDownloadPdf","_this7","priceToImgRef","htmlToPdf","sendPdfMail","_this8","pdf","stringify","_this9","selPriceArr","apply","_loop4","columnSum","cur","npPlus","_loop5","tempIdx","findIndex","freightType","unitWLocal","unit_w_local","totalWeight","ceil","setupFuel","fuel","setupBagFreight","bag_freight","setupExpressFreight","express_freight","AAEFactor","expressFactor","frightCost","matchIndex","_ref","a1","npMinus","a2","a3","unitQTY","_this10","buySetup","buyUnit","buyFright","frightSummary","_loop6","_this10$comCurBaseTot","fa","getChildIdx","_this$comCurBaseColum","setMaxNum","openDialog","_vm$comCurBaseColumns","_vm$enquiryConfig$3$s","directives","rawName","indexs","_items$basePrice","_items$decoration","_items$basePrice2","_items$basePrice3","_items$decorationOrig","_m","staticStyle","_vm$comCurBaseColumns2","_vm$comCurBaseColumns3","TabNav","PcSwitch","FormDialog","PriceToImg","filters","multiplyPrice","plusPrice","differencePrice","selectRow","supplier","suppliers","noIncludePrice","selSupplier","selSuppliers","isIncludePrice","hasDecAdd","tableData","tableColumns","operateWith","isCheckBox","tableType","decorationObj","selectId","multipleSelection","selectDecoration","curModel","decorationMultiple","headerShow","setupConfigList","setupTitleList","getTableContainerClass","comTitle","comDisplayCss","comMultipleSelID","comTableData","elTable","toggleRowSelection","judgeProp","$index","$_setupPriceFilter","setupPriceID","isNumber","handleSelectionChange","dialogCheck","selection","clearSelection","addCar","currentRow","selrow","parentId","getRowKey","arraySpanMethod","column","rowIndex","columnIndex","tableRowClassName","_ref2","handleSelectable","website_setup_id","domProps","backgroundColor","fontWeight","fontFamily","color","formatter","sortable","scopedSlots","_u","fn","filter_boolean","curDecoVal","indexDecoVal","poaConfig","curDecoration","indexDecoration","curOrder","comWidth","scope","_f","selectionShow","handleShow","saveUnitData","setItem","objStyle","checkType","_t","event","status","changeStatus","isImgSrc","headerColumns","comInfo","_this$pageData","main","created","getBase64Image","image","getColumnHeaderStyle","that","Image","crossOrigin","base64","drawBase64Image","img","canvas","getContext","drawImage","toDataURL","printArea","kh","offsetWidth","offsetHeight","html2Canvas","scale","useCORS","tainttest","logging","dataURL","downloadImage","getUrlBase64","Promise","resolve","ctx","imgUrl","link","download","click","product_name","description","flattenIntoArray","aCallable","toObject","lengthOfArrayLike","arraySpeciesCreate","A","O","sourceLen","doesNotExceedSafeInteger","bind","original","source","start","depth","mapper","thisArg","elementLen","targetIndex","sourceIndex","mapFn"],"mappings":"4GAaA,SAASA,EAAMC,EAAKC,GAEhB,YADkB,IAAdA,IAAwBA,EAAY,KAChCC,WAAWC,OAAOH,GAAKI,YAAYH,GAC/C,CAMA,SAASI,EAAYL,GAEjB,IAAIM,EAASN,EAAIO,WAAWC,MAAM,QAC9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AA2B,EAAQ,KACnCC,EAAO,EAAQ,IAIfT,EAAmB,SAAU3f,EAAQqgB,EAAUC,OAAQJ,EAAWK,EAAOC,EAAOC,EAAQC,GAM1F,IALA,IAGI/b,QAASgc,EAHTC,EAAcL,EACdM,EAAc,EACdC,IAAQL,GAASL,EAAKK,EAAQC,GAG3BG,EAAcX,GACfW,KAAeP,SACjB3b,QAAUmc,EAAQA,EAAMR,OAAOO,GAAcA,EAAaR,GAAYC,OAAOO,GAEzEL,EAAQ,GAAKhd,EAAQmB,UACvBgc,EAAab,EAAkBnb,SAC/Bic,EAAcjB,EAAiB3f,EAAQqgB,EAAU1b,QAASgc,EAAYC,EAAaJ,EAAQ,GAAK,IAEhGL,EAAyBS,EAAc,GACvC5gB,EAAO4gB,GAAejc,SAGxBic,KAEFC,IAEF,OAAOD,CACT,EAEA/oB,EAAOC,QAAU6nB,C,mCC9BM,EAAQ,IAG/B9f,CAAiB,U,mCCNjB,M","file":"c37d741.js","sourcesContent":["/**\r\n * @desc 解决浮动运算问题,避免小数点后产生多位数和计算精度损失。\r\n *\r\n * 问题示例:2.3 + 2.4 = 4.699999999999999,1.0 - 0.9 = 0.09999999999999998\r\n */\r\n/**\r\n * Correct the given number to specifying significant digits.\r\n *\r\n * @param num The input number\r\n * @param precision An integer specifying the number of significant digits\r\n *\r\n * @example strip(0.09999999999999998) === 0.1 // true\r\n */\r\nfunction strip(num, precision) {\r\n if (precision === void 0) { precision = 15; }\r\n return +parseFloat(Number(num).toPrecision(precision));\r\n}\r\n/**\r\n * Return digits length of a number.\r\n *\r\n * @param num The input number\r\n */\r\nfunction digitLength(num) {\r\n // Get digit length of e\r\n var eSplit = num.toString().split(/[eE]/);\r\n var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);\r\n return len > 0 ? len : 0;\r\n}\r\n/**\r\n * Convert the given number to integer, support scientific notation.\r\n * The number will be scale up if it is decimal.\r\n *\r\n * @param num The input number\r\n */\r\nfunction float2Fixed(num) {\r\n if (num.toString().indexOf('e') === -1) {\r\n return Number(num.toString().replace('.', ''));\r\n }\r\n var dLen = digitLength(num);\r\n return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);\r\n}\r\n/**\r\n * Log a warning if the given number is out of bounds.\r\n *\r\n * @param num The input number\r\n */\r\nfunction checkBoundary(num) {\r\n if (_boundaryCheckingState) {\r\n if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {\r\n console.warn(num + \" is beyond boundary when transfer to integer, the results may not be accurate\");\r\n }\r\n }\r\n}\r\n/**\r\n * Create an operation to support rest params.\r\n *\r\n * @param operation The original operation\r\n */\r\nfunction createOperation(operation) {\r\n return function () {\r\n var nums = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n nums[_i] = arguments[_i];\r\n }\r\n var first = nums[0], others = nums.slice(1);\r\n return others.reduce(function (prev, next) { return operation(prev, next); }, first);\r\n };\r\n}\r\n/**\r\n * Accurate multiplication.\r\n *\r\n * @param nums The numbers to multiply\r\n */\r\nvar times = createOperation(function (num1, num2) {\r\n var num1Changed = float2Fixed(num1);\r\n var num2Changed = float2Fixed(num2);\r\n var baseNum = digitLength(num1) + digitLength(num2);\r\n var leftValue = num1Changed * num2Changed;\r\n checkBoundary(leftValue);\r\n return leftValue / Math.pow(10, baseNum);\r\n});\r\n/**\r\n * Accurate addition.\r\n *\r\n * @param nums The numbers to add\r\n */\r\nvar plus = createOperation(function (num1, num2) {\r\n // 取最大的小数位\r\n var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));\r\n // 把小数都转为整数然后再计算\r\n return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;\r\n});\r\n/**\r\n * Accurate subtraction.\r\n *\r\n * @param nums The numbers to subtract\r\n */\r\nvar minus = createOperation(function (num1, num2) {\r\n var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));\r\n return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;\r\n});\r\n/**\r\n * Accurate division.\r\n *\r\n * @param nums The numbers to divide\r\n */\r\nvar divide = createOperation(function (num1, num2) {\r\n var num1Changed = float2Fixed(num1);\r\n var num2Changed = float2Fixed(num2);\r\n checkBoundary(num1Changed);\r\n checkBoundary(num2Changed);\r\n // fix: 类似 10 ** -4 为 0.00009999999999999999,strip 修正\r\n return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));\r\n});\r\n/**\r\n * Accurate rounding method.\r\n *\r\n * @param num The number to round\r\n * @param decimal An integer specifying the decimal digits\r\n */\r\nfunction round(num, decimal) {\r\n var base = Math.pow(10, decimal);\r\n var result = divide(Math.round(Math.abs(times(num, base))), base);\r\n if (num < 0 && result !== 0) {\r\n result = times(result, -1);\r\n }\r\n return result;\r\n}\r\nvar _boundaryCheckingState = true;\r\n/**\r\n * Whether to check the bounds of number, default is enabled.\r\n *\r\n * @param flag The value to indicate whether is enabled\r\n */\r\nfunction enableBoundaryChecking(flag) {\r\n if (flag === void 0) { flag = true; }\r\n _boundaryCheckingState = flag;\r\n}\r\nvar index = {\r\n strip: strip,\r\n plus: plus,\r\n minus: minus,\r\n times: times,\r\n divide: divide,\r\n round: round,\r\n digitLength: digitLength,\r\n float2Fixed: float2Fixed,\r\n enableBoundaryChecking: enableBoundaryChecking,\r\n};\n\nexport { strip, plus, minus, times, divide, round, digitLength, float2Fixed, enableBoundaryChecking };\nexport default index;\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","\n/**\n * docs:\n * https://panjiachen.github.io/vue-element-admin-site/feature/component/rich-editor.html#tinymce\n */\n// import editorImage from './components/EditorImage'\nimport plugins from './plugins'\nimport toolbar from './toolbar'\nimport load from './dynamicLoadScript'\n\n// why use this cdn, detail see https://github.com/PanJiaChen/tinymce-all-in-one\nconst tinymceCDN = '//cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.3/tinymce.min.js'\n\nexport default {\n name: 'Tinymce',\n // components: { editorImage },\n props: {\n id: {\n type: String,\n default: function() {\n return 'vue-tinymce-' + +new Date() + ((Math.random() * 1000).toFixed(0) + '')\n }\n },\n value: {\n type: String,\n default: ''\n },\n toolbar: {\n type: Array,\n required: false,\n default() {\n return []\n }\n },\n menubar: {\n type: String,\n default: 'file edit insert view format table'\n },\n height: {\n type: [Number, String],\n required: false,\n default: 360\n },\n width: {\n type: [Number, String],\n required: false,\n default: 'auto'\n }\n },\n data() {\n return {\n hasChange: false,\n hasInit: false,\n tinymceId: this.id,\n fullscreen: false,\n languageTypeList: {\n 'en': 'en',\n 'zh': 'zh_CN',\n 'es': 'es_MX',\n 'ja': 'ja'\n }\n }\n },\n computed: {\n language() {\n return this.languageTypeList[this.$store.getters.language]\n },\n containerWidth() {\n const width = this.width\n if (/^[\\d]+(\\.[\\d]+)?$/.test(width)) { // matches `100`, `'100'`\n return `${width}px`\n }\n return width\n }\n },\n watch: {\n value(val) {\n if (!this.hasChange && this.hasInit) {\n this.$nextTick(() =>\n window.tinymce.get(this.tinymceId).setContent(val || ''))\n }\n },\n language() {\n this.destroyTinymce()\n this.$nextTick(() => this.initTinymce())\n }\n },\n mounted() {\n this.init()\n },\n activated() {\n if (window.tinymce) {\n this.initTinymce()\n }\n },\n deactivated() {\n this.destroyTinymce()\n },\n destroyed() {\n this.destroyTinymce()\n },\n methods: {\n init() {\n // dynamic load tinymce from cdn\n load(tinymceCDN, (err) => {\n if (err) {\n this.$message.error(err.message)\n return\n }\n this.initTinymce()\n })\n },\n initTinymce() {\n const _this = this\n window.tinymce.init({\n language: this.language,\n selector: `#${this.tinymceId}`,\n height: this.height,\n body_class: 'panel-body ',\n object_resizing: false,\n toolbar: this.toolbar.length > 0 ? this.toolbar : toolbar,\n menubar: this.menubar,\n plugins: plugins,\n end_container_on_empty_block: true,\n powerpaste_word_import: 'clean',\n code_dialog_height: 450,\n code_dialog_width: 1000,\n advlist_bullet_styles: 'square',\n advlist_number_styles: 'default',\n imagetools_cors_hosts: ['www.tinymce.com', 'codepen.io'],\n default_link_target: '_blank',\n link_title: false,\n nonbreaking_force_tab: true, // inserting nonbreaking space need Nonbreaking Space Plugin\n init_instance_callback: editor => {\n if (_this.value) {\n editor.setContent(_this.value)\n }\n _this.hasInit = true\n editor.on('NodeChange Change KeyUp SetContent', () => {\n this.hasChange = true\n this.$emit('input', editor.getContent())\n })\n },\n setup(editor) {\n editor.on('FullscreenStateChanged', (e) => {\n _this.fullscreen = e.state\n })\n },\n // it will try to keep these URLs intact\n // https://www.tiny.cloud/docs-3x/reference/configuration/Configuration3x@convert_urls/\n // https://stackoverflow.com/questions/5196205/disable-tinymce-absolute-to-relative-url-conversions\n convert_urls: false\n // 整合七牛上传\n // images_dataimg_filter(img) {\n // setTimeout(() => {\n // const $image = $(img);\n // $image.removeAttr('width');\n // $image.removeAttr('height');\n // if ($image[0].height && $image[0].width) {\n // $image.attr('data-wscntype', 'image');\n // $image.attr('data-wscnh', $image[0].height);\n // $image.attr('data-wscnw', $image[0].width);\n // $image.addClass('wscnph');\n // }\n // }, 0);\n // return img\n // },\n // images_upload_handler(blobInfo, success, failure, progress) {\n // progress(0);\n // const token = _this.$store.getters.token;\n // getToken(token).then(response => {\n // const url = response.data.qiniu_url;\n // const formData = new FormData();\n // formData.append('shop-token', response.data.qiniu_token);\n // formData.append('key', response.data.qiniu_key);\n // formData.append('file', blobInfo.blob(), url);\n // upload(formData).then(() => {\n // success(url);\n // progress(100);\n // })\n // }).catch(err => {\n // failure('出现未知问题,刷新页面,或者联系程序员')\n // console.log(err);\n // });\n // },\n })\n },\n destroyTinymce() {\n const tinymce = window.tinymce.get(this.tinymceId)\n if (this.fullscreen) {\n tinymce.execCommand('mceFullScreen')\n }\n\n if (tinymce) {\n tinymce.destroy()\n }\n },\n setContent(value) {\n window.tinymce.get(this.tinymceId).setContent(value)\n },\n getContent() {\n window.tinymce.get(this.tinymceId).getContent()\n },\n imageSuccessCBK(arr) {\n arr.forEach(v => window.tinymce.get(this.tinymceId).insertContent(`<img class=\"wscnph\" src=\"${v.url}\" >`))\n }\n }\n}\n","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!./index.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!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=64623c0e&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=64623c0e&prod&lang=scss&scoped=true\"\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 \"64623c0e\",\n null\n \n)\n\nexport default component.exports","// Any plugins you want to use has to be imported\n// Detail plugins list see https://www.tinymce.com/docs/plugins/\n// Custom builds see https://www.tinymce.com/download/custom-builds/\n\nconst plugins = ['advlist autolink autosave code colorpicker colorpicker contextmenu directionality fullscreen hr insertdatetime link lists nonbreaking noneditable paste preview print save spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount']\n//anchor codesample emoticons pagebreak searchreplace image imagetools media\nexport default plugins\n","// Here is a list of the toolbar\n// Detail list see https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols\n\nconst toolbar = ['searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript code codesample', 'hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen']\n\nexport default toolbar\n","let callbacks = []\n\nfunction loadedTinymce() {\n // to fixed https://github.com/PanJiaChen/vue-element-admin/issues/2144\n // check is successfully downloaded script\n return window.tinymce\n}\n\nconst dynamicLoadScript = (src, callback) => {\n const existingScript = document.getElementById(src)\n const cb = callback || function() {}\n\n if (!existingScript) {\n const script = document.createElement('script')\n script.src = src // src url for the third-party library being loaded.\n script.id = src\n document.body.appendChild(script)\n callbacks.push(cb)\n const onEnd = 'onload' in script ? stdOnEnd : ieOnEnd\n onEnd(script)\n }\n\n if (existingScript && cb) {\n if (loadedTinymce()) {\n cb(null, existingScript)\n } else {\n callbacks.push(cb)\n }\n }\n\n function stdOnEnd(script) {\n script.onload = function() {\n // this.onload = null here is necessary\n // because even IE9 works not like others\n this.onerror = this.onload = null\n for (const cb of callbacks) {\n cb(null, script)\n }\n callbacks = null\n }\n script.onerror = function() {\n this.onerror = this.onload = null\n cb(new Error('Failed to load ' + src), script)\n }\n }\n\n function ieOnEnd(script) {\n script.onreadystatechange = function() {\n if (this.readyState !== 'complete' && this.readyState !== 'loaded') return\n this.onreadystatechange = null\n for (const cb of callbacks) {\n cb(null, script) // there is no way to catch loading errors in IE8\n }\n callbacks = null\n }\n }\n}\n\nexport default dynamicLoadScript\n","export * from \"-!../../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=64623c0e&prod&lang=scss&scoped=true\"","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-find -- testing\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","\nimport Tinymce from \"@/components/Tinymce\";\nimport { mapMutations } from \"vuex\";\n\nexport default {\n components: { Tinymce },\n props: {\n title:{\n type:String,\n default: 'Send Email'\n },\n sendbtnCext:{\n type:String,\n default: 'Send Enquiry'\n },\n cancelbtnCext:{\n type:String,\n default: 'Cancel'\n },\n top:{\n type:String,\n default: '5vh'\n },\n isSendPdf:{\n type:Boolean,\n default: false\n },\n emailForm: {},\n enquiryConfig: [],\n rules: {},\n labelWidth: {\n type: Number,\n default: 150\n },\n marginBottom: {\n type: Number,\n default: 20\n },\n visible: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n downloading:false\n }\n },\n computed:{\n comEnquiryConfig(){\n return this.enquiryConfig.filter(item=>{\n if(!item.hasOwnProperty('isShow') || item.isShow) {\n return item\n }\n })\n }\n },\n methods:{\n ...mapMutations('product',['setLoading']),\n handleClose(){\n this.$emit('update:visible', false)\n },\n handleSend(){\n this.$refs.ruleForm.validate((valid) => {\n if (valid) {\n this.setLoading(true);\n if(this.isSendPdf){\n // Bus.$emit(\"sendPdf\");\n this.$emit(\"handleSend\");\n }else{\n this.$emit(\"handleSend\");\n }\n } else {\n return false;\n }\n });\n }\n }\n};\n","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!./FormDialog.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!./FormDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FormDialog.vue?vue&type=template&id=b3af2fb8&scoped=true\"\nimport script from \"./FormDialog.vue?vue&type=script&lang=js\"\nexport * from \"./FormDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./FormDialog.vue?vue&type=style&index=0&id=b3af2fb8&prod&lang=scss&scoped=true\"\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 \"b3af2fb8\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {Tinymce: require('/Users/wu67/Projects/shop_site/components/Tinymce/index.vue').default})\n","export * from \"-!../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormDialog.vue?vue&type=style&index=0&id=b3af2fb8&prod&lang=scss&scoped=true\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nfunction _toConsumableArray(r) {\n return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();\n}\nexport { _toConsumableArray as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return arrayLikeToArray(r);\n}\nexport { _arrayWithoutHoles as default };","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableSpread as default };","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!./TabNav.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!./TabNav.vue?vue&type=script&lang=js\"","\nexport default {\n props: {\n // color: {\n // type: String,\n // },\n borderType:{\n type: String,\n default: 'noBorder',\n },\n fontSize: {\n type: Number,\n default: 14,\n },\n marginTop: {\n type: Number,\n default: 0,\n },\n marginBottom: {\n type: Number,\n default: 10,\n },\n liWidth: {\n type: Number,\n default: 0,\n },\n liHeight: {\n type: Number,\n default: 28,\n },\n marginRight: {\n type: Number,\n default: 0,\n },\n currTab: {\n type: [Number, String],\n default: 0,\n },\n tabList: {\n type: [Array, Object],\n default: () => {\n return []\n },\n },\n allPrintTab: {\n type: [Array, Object],\n default: () => {\n return []\n },\n },\n },\n data() {\n return {\n textColor: 'red',\n }\n },\n computed: {\n comRemaining() {\n const mapTabList = this.tabList.map(i => i.name)\n return this.allPrintTab.filter(element => !mapTabList.includes(element))\n },\n },\n methods: {\n selTab(i) {\n this.$emit('update:currTab', i)\n this.$emit('handle')\n },\n },\n}\n","import { render, staticRenderFns } from \"./TabNav.vue?vue&type=template&id=8a32da06&scoped=true\"\nimport script from \"./TabNav.vue?vue&type=script&lang=js\"\nexport * from \"./TabNav.vue?vue&type=script&lang=js\"\nimport style0 from \"./TabNav.vue?vue&type=style&index=0&id=8a32da06&prod&lang=scss&scoped=true\"\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 \"8a32da06\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../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=05e92126&prod&lang=scss&scoped=true\"","export * from \"-!../../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TotalTable.vue?vue&type=style&index=0&id=2b5fb566&prod&lang=scss&scoped=true\"","export * from \"-!../../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnitTable.vue?vue&type=style&index=0&id=931e8840&prod&lang=scss&scoped=true\"","export * from \"-!../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabNav.vue?vue&type=style&index=0&id=8a32da06&prod&lang=scss&scoped=true\"","export * from \"-!../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./PcSwitch.vue?vue&type=style&index=0&id=58d567c2&prod&lang=scss&scoped=true\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nfunction _objectWithoutProperties(e, t) {\n if (null == e) return {};\n var o,\n r,\n i = objectWithoutPropertiesLoose(e, t);\n if (Object.getOwnPropertySymbols) {\n var s = Object.getOwnPropertySymbols(e);\n for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);\n }\n return i;\n}\nexport { _objectWithoutProperties as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","\nimport { mapState, mapMutations, mapActions } from 'vuex'\nimport _ from 'lodash'\nimport { times as npTimes,plus as npPlus, minus as npMinus, divide as npDivide } from 'number-precision';\nimport NewPriceTable from '@/components/table/NewPriceTable'\nimport TotalTable from '@/components/table/TotalTable'\nimport UnitTable from '@/components/table/UnitTable'\nimport MailTable from '@/components/table/MailTable'\nimport dialogXXSuccess from '@/components/DIalogXXSuccess.vue'\n\nexport default {\n components: {\n NewPriceTable,\n TotalTable,\n UnitTable,\n MailTable,\n 'dialog-XX-success': dialogXXSuccess\n },\n props: {\n pageData: {\n type: Object,\n default: () => {\n return {}\n },\n },\n id: {\n type: Number,\n default: null\n },\n },\n data() {\n return {\n quoteLoadState: 0,\n curWeek: 0,\n allPrintTab: [],\n priceList: [],\n initZeroObj: {},\n initSetupObj: {},\n initUnitObj: {},\n initChangeUnitObj: {},\n initFrightObj: {},\n initTotalObj: {},\n xxContentVisible: false,\n setup_switch: false,\n freight_switch: false,\n weight: {},\n undecorated_columns: [\n {\n label: 'MODEL',\n prop: 'model',\n type: 'text',\n align: 'left',\n width: 150,\n extraWidth: 50, // 配合组件 (820-tableColumns[0].width-tableColumns[0].extraWidth)/(tableColumns.length-1)\n isFirstColumn: true, // 去掉$符号\n },\n {\n label: 'SETUP',\n prop: 'website_setup',\n },\n ],\n decoration_columns: [\n {\n label: 'PRINT OPTION',\n prop: 'dec_code',\n type: 'radioInput',\n align: 'left',\n width: 150,\n extraWidth: 50,\n },\n {\n label: 'SETUP',\n prop: 'website_setup',\n },\n ],\n addon_columns: [\n {\n label: 'Addon',\n prop: 'name',\n type: 'text',\n width: 150,\n extraWidth: 50,\n isFirstColumn: true, // 去掉$符号\n },\n {\n label: 'Setup',\n prop: 'website_setup',\n },\n ],\n buy_columns: [\n {\n label: 'QTY',\n prop: 'project',\n isFirstColumn: true, // 去掉$符号\n },\n ],\n unit_columns: [\n {\n label: 'QTY',\n prop: 'total',\n align: 'left',\n isText: true,\n },\n ],\n buyData: [\n { project: 'Setup' },\n { project: 'Unit' },\n { project: 'Freight' },\n { project: 'Total' }\n ],\n unitData: [\n { total: 'Unit Rate %' },\n { total: 'Setup %' },\n { total: 'Freight %' },\n ],\n sellData: [\n { project: 'Postcode',summary: '-' },\n { project: 'Setup',summary: 0.00 },\n { project: 'Unit',summary: 0.00 },\n { project: 'Freight',summary: 0.00 },\n { project: 'Total',summary: 0.00 },\n ],\n POA_Config: ['111', '111.00', '999', '999.00'],\n enquiryFormVisible: false,\n enquiryForm: {\n Name: '',\n Email: '',\n Phone: '',\n // 'Customer manager': null,\n Comments: '',\n },\n enquiryConfig: [\n { prop: 'Name', type: 'input' },\n { prop: 'Email', type: 'input' },\n { prop: 'Phone', type: 'input' },\n {\n prop: 'Customer manager',\n type: 'select',\n selectlist: [],\n isShow: false,\n },\n { prop: 'Comments', type: 'textarea' },\n ],\n rules: {\n Name: [{ required: true, message: 'Please enter', trigger: 'blur' }],\n Email: [\n {\n required: true,\n message: 'Please enter the correct format',\n pattern:\n /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/,\n trigger: 'blur',\n },\n ],\n Phone: [\n {\n required: true,\n message: 'Please enter the correct format',\n // pattern: /^1[0-9]{10}$/,\n trigger: 'blur',\n },\n ],\n 'Customer manager': [\n { required: true, message: 'Please select', trigger: 'change' },\n ],\n },\n mailData: {\n Url: '',\n },\n priceToImgVisible: false,\n downloadDialogVisible: false,\n commentObj: {\n 'Email Address': '',\n Comments: '',\n },\n enquiryConfig1: [\n { prop: 'Email Address', type: 'input' },\n { prop: 'Comments', type: 'input' },\n ],\n rules1: {\n 'Email Address': [\n {\n required: true,\n message: 'Please enter the correct format',\n pattern:\n /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/,\n trigger: 'blur',\n },\n ],\n },\n specificationsObj: {\n time: null,\n model: null,\n decoration: null,\n addonArr: null,\n },\n pdfLoading: false,\n }\n },\n computed: {\n ...mapState('config', { configInfo: state => state.configInfo }),\n userInfo() {\n return this.$store.state.userInfo\n },\n comCurWeekPrice() {\n return this.priceList[this.curWeek] || {}\n },\n comCurPrint() {\n return this.comCurWeekPrice.curPrint\n },\n comCurBasePrice() {\n return this.comCurWeekPrice.basePrice[this.comCurPrint]\n },\n comLocationNum() {\n return +(this.comCurWeekPrice.basePrice[this.comCurPrint].locationNum)\n },\n comCurBaseColumns() {\n return this.comCurBasePrice.part_columns\n },\n comCurBaseTotalColumns() {\n const d = this.comCurWeekPrice.basePrice[this.comCurPrint].total_part_columns\n const n = this.comLocationNum\n if (n === 1) {\n return d\n }else{\n const concatAdd = [...d,...this.comCurWeekPrice.basePrice[this.comCurPrint].remainingAttr].slice(0, n);\n return concatAdd\n }\n },\n comTotalLabel(){\n // 计算所有元素label的和\n return this.comCurBaseTotalColumns.reduce((sum, item) => sum + Number(item.label), 0);\n },\n comSummaryColumns(){\n return [{ label: this.comTotalLabel.toString(), prop: 'summary' }];\n },\n comAttributeList() {\n const obj = {}\n this.comCurBaseTotalColumns?.forEach(item => {\n obj[item.prop] = item.label\n })\n obj.summary = this.comTotalLabel;\n return obj\n },\n // 当前已选基础价\n comBasePrice() {\n return this.comCurBasePrice.selectBaseRow\n },\n // 当前累加打印价\n comDecoPrice() {\n if (!this.comCurWeekPrice.decoration?.length) {\n return []\n }\n const arr = this.comCurWeekPrice.decoration\n .map((item, idx) => {\n const obj = {}\n if (+item.num > 0) {\n for (const i in this.initUnitObj) {\n if (idx === 0) {\n // 首个打印价要取附加价计算\n const keyArr = i.split('_')\n const supplier_val = item[`supplier_${keyArr[1]}`]\n if (this.POA_Config.includes(supplier_val)) {\n obj[`${i}`] = supplier_val\n } else {\n obj[`${i}`] = npTimes(+supplier_val, item.num)\n }\n } else {\n obj[`${i}`] = this.POA_Config.includes(item[i]) ? item[i] : npTimes(+item[i], item.num);\n }\n }\n }\n return obj\n })\n .filter(obj => Object.keys(obj).length !== 0)\n return arr\n },\n comBuyData() {\n this.calculateBuyData();\n return this.buyData\n },\n comNoSumCol(){\n return [\n ...this.buy_columns,\n ...this.comCurBaseTotalColumns\n ]\n },\n comHasSumCol(){\n return [\n ...this.buy_columns,\n ...this.comCurBaseTotalColumns,\n ...this.comSummaryColumns\n ];\n },\n comMergeColumns(){\n return this.comLocationNum == 1 ? this.comNoSumCol:this.comHasSumCol\n },\n comSellData() {\n if (Object.keys(this.comAttributeList).length !== 0) {\n this.calculateSellData();\n }\n return this.sellData\n },\n comFilterSwitchSellData() {\n return this.comSellData?.filter((item, i) => {\n if (i === 1 && this.setup_switch) {\n return false;\n } else if (i === 3 && this.freight_switch) {\n return false;\n } else {\n return item\n }\n })\n },\n },\n methods: {\n ...mapActions(['getUserInfo']),\n multiplyWithMargin(o, m) {\n return npDivide(Math.round(npTimes(o, (100 + parseFloat(m)))), 100).toFixed(2)\n },\n async getQuote() {\n let margin = 0\n let setupMargin = 0\n await this.$store\n .dispatch('getShopInfo')\n .then(res => {\n margin = parseFloat(res.margin) || 0\n setupMargin = parseFloat(res.setup_margin) || 0\n })\n this.$axios\n .post('/catalog/pricequote', { id: this.id })\n .then(res => {\n if (localStorage.getItem('unit')) {\n this.unitData = JSON.parse(localStorage.getItem('unit'))\n }\n const { attributeList, priceList, default: defaultID } = res.result\n if (\n !Object.keys(attributeList).length ||\n !Object.keys(priceList).length\n ) {\n this.quoteLoadState = 2\n return\n }\n for (const a in attributeList) {\n // 过滤掉website_qty标签无数量\n if (attributeList[a]) {\n this.initZeroObj[a] = 0\n }else{\n delete attributeList[a]\n }\n for (const unit of this.unitData) {\n // 如果对象中缺少 attributeList 的 key,则设置为 40\n if (!(a in unit) || unit[a] === '') {\n this.$set(unit,a,40)\n }\n }\n }\n // 把价格数据全部乘上margin比例.\n for(const key in priceList) {\n if (Object.hasOwn(priceList, key)) {\n for (const k in priceList[key]) {\n if (Object.hasOwn(priceList[key], k)) { \n priceList[key][k] = priceList[key][k].map(item => {\n const temp = {...item}\n for(let i = 1; i<=8; i++) {\n if (temp[`website_qty${i}`] && !this.POA_Config.includes(temp[`website_qty${i}`])) {\n temp[`website_qty${i}`] = this.multiplyWithMargin(parseFloat(temp[`website_qty${i}`]) || 0, margin).toString()\n }\n if (temp[`supplier_qty${i}`] && !this.POA_Config.includes(temp[`supplier_qty${i}`])) {\n temp[`supplier_qty${i}`] = this.multiplyWithMargin(parseFloat(temp[`supplier_qty${i}`]) || 0, margin).toString()\n }\n }\n temp.website_setup = this.multiplyWithMargin(parseFloat(temp.website_setup) || 0, setupMargin).toString()\n if (temp.supplier_setup) {\n temp.supplier_setup = this.multiplyWithMargin(parseFloat(temp.supplier_setup) || 0, setupMargin).toString()\n }\n \n if (k === 'decoration') {\n temp.decoration_addition = temp.decoration_addition.map(deco => {\n const d = {...deco}\n for(let i = 1; i<=8; i++) {\n if (d[`website_qty${i}`] && !this.POA_Config.includes(d[`website_qty${i}`])) {\n d[`website_qty${i}`] = this.multiplyWithMargin(parseFloat(d[`website_qty${i}`]) || 0, margin).toString()\n }\n if (d[`supplier_qty${i}`] && !this.POA_Config.includes(d[`supplier_qty${i}`])) {\n d[`supplier_qty${i}`] = this.multiplyWithMargin(parseFloat(d[`supplier_qty${i}`]) || 0, margin).toString()\n }\n }\n d.website_setup = this.multiplyWithMargin(parseFloat(d.website_setup) || 0, setupMargin).toString()\n if (d.supplier_setup) {\n d.supplier_setup = this.multiplyWithMargin(parseFloat(d.supplier_setup) || 0, setupMargin).toString()\n }\n return d\n })\n }\n return temp\n })\n }\n }\n }\n }\n // 格式化数据,对象改成数组\n for (const keys in priceList) {\n const vals = {}\n const { decoration, additionlist, ...remaining } = priceList[keys]\n vals.basePrice = []\n vals.selectAdditionRow = []\n vals.curPrint = 0\n vals.name = this.formatDurationString(keys)\n vals.nameOrigin = keys\n vals.decorationOrign = [...decoration]\n vals.decorationID = decoration.map(i => i.id)\n vals.decoration = [...decoration].flatMap(item => {\n const result = [];\n if (item.max_color > 0) {\n result.push({ ...item, max_num: item.max_color,id:`${item.id}-1`,decName:item.max_color_name });\n }\n if (item.max_point > 0) {\n result.push({ ...item, max_num: item.max_point,id:`${item.id}-2`,decName:item.max_point_name });\n }\n return result;\n });\n vals.additionlist = (additionlist || []).map(item => {\n return {\n ...item,\n id: item.id + '-1' // 修改 id\n }\n })\n for (const k in remaining) {\n const o = {}\n o.name = k\n o.data = remaining[k]\n o.attributeList = this.copyData(attributeList)\n if (remaining[k]?.length>1) {\n // 检查数组中各元素的 website_qtyN 是否都等于 \"-\" or \"POA\",则删除key\n for (const a in attributeList) {\n const is111Poa = remaining[k].every(item => this.POA_Config.includes(item[a]));\n if (is111Poa) {\n delete o.attributeList[a]\n }\n }\n }else if (remaining[k]?.length === 1) {\n // 判断 remaining[k][0] 中是否包含 vals.attributeList 的键,并且对应的值都等于 \"-\" or \"POA\",则不删除key\n const obj = remaining[k][0];\n const attributeKeys = Object.keys(o.attributeList);\n const areAllKeysInPOAConfig = attributeKeys.every(key => {\n return Object.prototype.hasOwnProperty.call(obj, key) && this.POA_Config.includes(obj[key]);\n });\n\n if (!areAllKeysInPOAConfig) {\n attributeKeys.forEach(key => {\n if (Object.prototype.hasOwnProperty.call(obj, key) && this.POA_Config.includes(obj[key])) {\n delete o.attributeList[key];\n }\n });\n }\n }\n o.name = k\n o.data = remaining[k]\n o.locationNum = 1\n o.part_columns = Object.keys(o.attributeList).map(e => {\n return { label: o.attributeList[e].toString(), prop: e }\n })\n const freightParam = {\n postcode: '',\n freight_type: 1,\n freight: {}\n }\n o.total_part_columns = this.copyData(o.part_columns).map(obj => ({\n ...obj,\n ...freightParam\n }));\n o.remainingAttr = []\n const firstColumns = { ...o.part_columns[0],...freightParam}\n for(let i = 1; i < 9; i++){\n if(!Object.keys(o.attributeList).includes(`website_qty${i}`)){\n const newColumn = {...firstColumns}\n this.$set(newColumn,'prop',`website_qty${i}`)\n o.remainingAttr.push(newColumn)\n }\n };\n vals.basePrice.push(o)\n if (!this.allPrintTab.includes(k)) {\n this.allPrintTab.push(k)\n }\n }\n this.priceList.push(vals)\n }\n this.priceList.forEach((options, index) => {\n // 原始数据name没空格,需要映射到\n if (options.nameOrigin === defaultID?.name) {\n this.curWeek = index\n options.decorationOrign.forEach((opt, idx) => {\n if (opt.id === defaultID?.decoration?.id) {\n this.$set(options, 'curPrint', idx)\n }\n })\n }\n // 所有周期的所有打印,进来页面时默认勾选第一条价格\n options.basePrice.forEach((opt,idx) => {\n this.$set(opt, 'selectBaseRow', opt.data[0] ||{})\n // 打印原数据decorationOrign的name 匹配 basePrice(周期下的每个打印数据)的name\n const matchData = options.decorationOrign.find(d=>{\n return d.pricetype?.name === opt.name\n })\n opt.decoration_addition = [...(matchData?.decoration_addition || []),...(options.additionlist || [])]\n })\n options.decoration.forEach(opt => {\n this.$set(opt, 'num', 0)\n })\n })\n\n this.initSetupObj = Object.assign({}, this.initZeroObj)\n this.initUnitObj = Object.assign({}, this.initZeroObj, {\n website_setup: 0,\n })\n this.initFrightObj = Object.assign({}, this.initZeroObj)\n this.buyData = this.buyData.map(item => {\n return { ...item, ...this.initSetupObj }\n })\n this.sellData = this.sellData.map(item => {\n return { ...item, ...this.initSetupObj }\n })\n this.quoteLoadState = 1\n })\n .catch((e) => {\n console.log('this.quoteLoadState1: ', e);\n this.quoteLoadState = 2\n })\n },\n formatDurationString(input) {\n // 匹配数字和字符串的正则表达式\n const regex = /(\\d+)([a-zA-Z]+)/g;\n const result = input.replace(regex, '$1 $2');\n\n return result;\n },\n getWeight() {\n this.$axios\n .post('/catalog/weight', { id: this.id })\n .then(res => {\n this.weight = res.result\n })\n .catch(() => {})\n },\n getFreight(k) {\n const postcode = this.comCurBaseTotalColumns[k].postcode\n const type = this.comCurBaseTotalColumns[k].freight_type\n const init = { basic:0,pickup:0,minimum:0 }\n if (postcode.length < 3) {\n this.comCurBaseTotalColumns[k].freight = init\n return\n }\n this.$axios\n .post('/catalog/freight', {\n postcode,\n type\n })\n .then(res => {\n this.comCurBaseTotalColumns[k].freight = Array.isArray(res.result)?init:res.result\n })\n },\n getDebFreight: _.debounce(function (k) {\n this.getFreight(k)\n }, 200), \n getNumber(e, row, min) {\n if (parseInt(e.target.value) < min) {\n this.xxContentVisible = true;\n row.label = min\n } else {\n this.xxContentVisible = false;\n }\n },\n sortBy(items) {\n // items.decoration.sort(this.customSort(items.decorationID))\n // const targetElement = items.decoration.splice(items.curPrint, 1)[0]\n // items.decoration.unshift(targetElement)\n },\n // 按原打印数组的id字段排序\n customSort(decorationID) {\n return (a, b) => {\n return decorationID.indexOf(a.id) - decorationID.indexOf(b.id)\n }\n },\n dividePrice(a) {\n return npDivide(+a, 100)\n },\n openMailDialog() {\n this.enquiryFormVisible = true\n // if (this.$utils.checkLogin()) {\n // this.getUserInfo()\n // const { contacts, email, phone, crm_users_id:crmUsersId } = this.userInfo\n // this.enquiryForm.Name = contacts\n // this.enquiryForm.Email = email\n // this.enquiryForm.Phone = phone\n // if (crmUsersId?.length) {\n // this.enquiryConfig[3].selectlist = crmUsersId\n // if (crmUsersId?.length === 1) {\n // this.enquiryForm['Customer manager'] = crmUsersId[0].name\n // }\n // } else {\n // this.enquiryConfig[3].isShow = false\n // this.$delete(this.enquiryForm, 'Customer manager')\n // }\n // this.enquiryFormVisible = true\n // } else {\n // this.openDialog()\n // }\n },\n getMailData() {\n this.mailData.Url = window.location.href\n const { Name, Email, Phone, Comments } = this.enquiryForm\n this.mailData['Customer Name'] = Name\n this.mailData['Customer Email'] = Email\n this.mailData['Customer Phone'] = Phone\n this.mailData.Comments = Comments\n\n // const { email, level, createTime } = this.userInfo\n // this.mailData['Member Account'] = email\n // this.mailData['Member Grade'] = level.name\n // this.mailData['Member Registration time'] = createTime\n this.mailData['Quote time'] = this.$utils.formatTime(new Date())\n },\n // 发送价格邮件 Enquiry按钮\n async sendPriceMail() {\n await this.getMailData()\n await this.getCustomerQuoteData()\n const shopInfo = await this.$store.dispatch('getShopInfo').then(res => res)\n const {\n Name,\n Email,\n Phone,\n Comments,\n } = this.enquiryForm\n this.$axios\n .post('/c-api/quote/sendenquiry', {\n site_id: shopInfo.id || '',\n content: this.$refs.mailtable.$el.innerHTML,\n name: Name,\n email: Email,\n phone: Phone,\n product_code: this.pageData.product_code,\n comments: Comments,\n })\n .then(res => {\n this.setLoading(false)\n this.enquiryFormVisible = false\n this.$confirm('Enquiry Sent', {\n confirmButtonText: 'OK',\n showCancelButton: false,\n type: 'success',\n center: true,\n showClose: false,\n confirmButtonClass: 'com-btnblack',\n }).then(() => {})\n })\n .catch(() => {\n this.setLoading(false)\n })\n },\n getCustomerQuoteData() {\n const { name, selectAdditionRow } = this.comCurWeekPrice\n this.specificationsObj.time = name\n this.specificationsObj.model = this.comBasePrice.model\n this.specificationsObj.decoration = this.comCurBasePrice.name\n if (selectAdditionRow.length) {\n this.specificationsObj.addonArr = selectAdditionRow.map(\n item => item.name\n )\n } else {\n this.specificationsObj.addonArr = null\n }\n },\n openDownloadDialog(type) {\n this.getCustomerQuoteData()\n type\n ? (this.downloadDialogVisible = true)\n : (this.priceToImgVisible = true)\n },\n handleDownloadPdf() {\n this.pdfLoading = true\n this.$nextTick(() => {\n this.$refs.priceToImgRef.htmlToPdf(this.pageData.product_code)\n })\n },\n // 发送PDF邮件\n sendPdfMail() {\n this.$axios\n .post('/quote/sendpdf', {\n content: this.$refs.pdf.$el.innerHTML,\n product_code: this.pageData.product_code,\n email: this.commentObj['Email Address'],\n })\n .then(res => {\n this.setLoading(false)\n this.downloadDialogVisible = false\n this.$confirm('Enquiry Sent', {\n confirmButtonText: 'OK',\n showCancelButton: false,\n type: 'success',\n center: true,\n showClose: false,\n confirmButtonClass: 'com-btnblack',\n })\n })\n .catch(() => {\n this.setLoading(false)\n })\n },\n copyData(data) {\n return JSON.parse(JSON.stringify(data))\n },\n calculateBuyData(){\n const selPriceArr = []\n if (JSON.stringify(this.comBasePrice) !== '{}') {\n selPriceArr.push(this.comBasePrice)\n }\n selPriceArr.push(...this.comDecoPrice, ...this.comCurWeekPrice.selectAdditionRow);\n if(selPriceArr.length === 0){\n this.buyData = this.buyData.map(item => ({ ...item, ...this.initZeroObj }));\n return\n }\n // 累加所选,初始数量对应的单价。赋值给this.initUnitObj\n for (const i in this.initUnitObj) {\n const columnSum = this.copyData(selPriceArr).reduce(function (prev, cur) {\n if (cur[i] === '111' || cur[i] === '111.00') {\n return (cur[i] = '-')\n } else if (cur[i] === '999' || cur[i] === '999.00') {\n return (cur[i] = 'POA')\n } else {\n // 当基础价格是-POA,后续累加价格是正常数字价,依然返回-POA\n if (prev === '-' || prev === 'POA') {\n return prev\n }\n return npPlus(+cur[i], prev).toFixed(2)\n }\n }, 0)\n this.$set(this.initUnitObj, i, columnSum)\n }\n\n for (const a in this.comAttributeList) {\n // 每次更改选择价格,必须遍历整个comAttributeList\n const tempIdx = this.comCurBaseColumns.findIndex(\n items => +this.comAttributeList[a] < +items.label\n )\n if (tempIdx > 0) {\n const key = this.comCurBaseColumns[tempIdx - 1].prop\n this.$set(this.initChangeUnitObj, a, this.initUnitObj[key])\n } else {\n const length = this.comCurBaseColumns.length\n const key = this.comCurBaseColumns[length - 1].prop\n this.$set(this.initChangeUnitObj, a, this.initUnitObj[key])\n }\n\n if (\n this.initChangeUnitObj[a] === 'POA' ||\n this.initChangeUnitObj[a] === '-'\n ) {\n this.$set(this.initSetupObj, a, this.initChangeUnitObj[a])\n this.$set(this.initFrightObj, a, this.initChangeUnitObj[a])\n } else {\n this.$set(this.initSetupObj, a, this.initUnitObj.website_setup)\n // 计算运费\n // 单独批次数量的总重\n // weight定义是{},后端没数据传回[]\n const unitWLocal = this.weight.unit_w_local ? +this.weight.unit_w_local : 0;\n const totalWeight = Math.ceil(\n npTimes(unitWLocal, this.comAttributeList[a])\n )\n // Road express 1 AAE:AAEFactor 2\n const setupFuel = this.dividePrice(this.configInfo.fuel)\n const setupBagFreight = this.dividePrice(this.configInfo.bag_freight)\n const setupExpressFreight = this.dividePrice(\n this.configInfo.express_freight\n )\n const AAEFactor = npPlus(1, setupBagFreight, setupFuel)\n const expressFactor = npPlus(1, setupExpressFreight, setupFuel)\n let frightCost = 0\n let freightType\n let postcode\n let freight = {}\n const matchIndex = this.comCurBaseTotalColumns.findIndex(item => item.prop === a)\n // 1,所有按第一个运费统计;不为1,则只计算 comCurBaseTotalColumns的[地址数]长度\n if (+this.comLocationNum === 1 || this.comLocationNum >= matchIndex + 1) {\n ({ freight, freight_type: freightType, postcode } = this.comCurBaseTotalColumns[+this.comLocationNum === 1 ? 0 : matchIndex] || {});\n }\n if (freightType === 1 && postcode >= 3) {\n if (totalWeight > 20) {\n const a1 = npMinus(totalWeight, 20)\n const a2 = npTimes(a1, +freight.basic)\n const a3 = npPlus(+freight.pickup, a2)\n frightCost = npTimes(a3, expressFactor)\n } else {\n frightCost = npTimes(+freight.pickup, expressFactor)\n }\n } else if (freightType === 2 && postcode >= 3) {\n const a1 = npDivide(totalWeight, 5)\n const a2 = npTimes(+freight.minimum, Math.ceil(a1))\n frightCost = npTimes(a2, AAEFactor)\n } else {\n frightCost = 0\n }\n this.$set(this.initFrightObj, a, Math.ceil(frightCost).toFixed(2))\n }\n\n if (\n this.initChangeUnitObj[a] === '-' ||\n this.initChangeUnitObj[a] === 'POA'\n ) {\n this.$set(this.initTotalObj, a, this.initChangeUnitObj[a])\n } else {\n const unitQTY = npTimes(\n this.initChangeUnitObj[a],\n this.comAttributeList[a]\n )\n this.$set(\n this.initTotalObj,\n a,\n npPlus(\n this.initUnitObj.website_setup,\n unitQTY,\n this.initFrightObj[a]\n ).toFixed(2)\n )\n }\n\n if (this.setup_switch) {\n // 业务:Setup价格/对应数量后向上取整\n if (\n this.initChangeUnitObj[a] === '-' ||\n this.initChangeUnitObj[a] === 'POA'\n ) {\n this.$set(this.initChangeUnitObj, a, this.initChangeUnitObj[a])\n } else {\n const num =\n Math.ceil(\n (this.initSetupObj[a] / this.comAttributeList[a]) * 100\n ) / 100\n this.$set(\n this.initChangeUnitObj,\n a,\n npPlus(this.initChangeUnitObj[a], num).toFixed(2)\n )\n }\n }\n if (this.freight_switch) {\n if (\n this.initChangeUnitObj[a] === '-' ||\n this.initChangeUnitObj[a] === 'POA'\n ) {\n this.$set(this.initChangeUnitObj, a, this.initChangeUnitObj[a])\n } else {\n const num =\n Math.ceil(\n (this.initFrightObj[a] / this.comAttributeList[a]) * 100\n ) / 100\n this.$set(\n this.initChangeUnitObj,\n a,\n npPlus(this.initChangeUnitObj[a], num).toFixed(2)\n )\n }\n }\n }\n\n if (this.setup_switch) {\n this.$set(this.buyData, 0, { ...this.buyData[0], ...this.initZeroObj, ...{'summary':0.00} })\n } else {\n this.$set(this.buyData, 0, { ...this.buyData[0], ...this.initSetupObj })\n }\n this.$set(this.buyData, 1, {\n ...this.buyData[1],\n ...this.initChangeUnitObj,\n })\n if (this.freight_switch) {\n this.$set(this.buyData, 2, { ...this.buyData[2], ...this.initZeroObj })\n } else {\n this.$set(this.buyData, 2, {\n ...this.buyData[2],\n ...this.initFrightObj,\n })\n }\n this.$set(this.buyData, 3, { ...this.buyData[3], ...this.initTotalObj })\n },\n calculateSellData() {\n // 放置comSellData计算和副作用的代码\n const buySetup = this.comBuyData[0]\n const buyUnit = this.comBuyData[1]\n const buyFright = this.comBuyData[2]\n let frightSummary = 0\n for (const i in this.comAttributeList) {\n if (buyUnit[i] === '-' || buyUnit[i] === 'POA') {\n this.sellData[0][i] = '-'\n this.sellData[1][i] = buyUnit[i]\n this.sellData[2][i] = buyUnit[i]\n this.sellData[3][i] = buyUnit[i]\n this.sellData[4][i] = buyUnit[i]\n } else {\n const item = this.comLocationNum === 1 ? this.comCurBaseTotalColumns[0] : this.comCurBaseTotalColumns.find(element => element.prop === i);\n this.sellData[0][i] = item && item.postcode !== '' ? item.postcode : '-';\n\n // 分别乘以Markup %表格\n const key = this.comCurBaseTotalColumns[0]?.prop\n if (this.unitData[1] && this.unitData[1][key]) {\n const a = npPlus(this.unitData[1][key] / 100, 1)\n this.sellData[1][i] = npTimes(buySetup[i], a).toFixed(2)\n } else {\n this.sellData[1][i] = buySetup[i]\n }\n\n if (this.unitData[0][i]) {\n const a = npPlus(this.unitData[0][i] / 100, 1)\n this.sellData[2][i] = npTimes(buyUnit[i], a).toFixed(2)\n } else {\n this.sellData[2][i] = buyUnit[i]\n }\n\n if (this.unitData[2] && this.unitData[2][key]) {\n const a = npPlus(this.unitData[2][key] / 100, 1)\n this.sellData[3][i] = npTimes(buyFright[i], a).toFixed(2)\n // freight_switch会使qty的运费=0无法计算,故用了initFrightObj\n const fa = npTimes(this.initFrightObj[i], a)\n frightSummary = npPlus(frightSummary,fa).toFixed(2)\n } else {\n this.sellData[3][i] = buyFright[i]\n frightSummary = npPlus(frightSummary,this.initFrightObj[i]).toFixed(2)\n }\n\n const unitQTY = npTimes(this.sellData[2][i], this.comAttributeList[i])\n this.$set(\n this.sellData[4],\n i,\n npPlus(this.sellData[1][i], unitQTY, this.sellData[3][i]).toFixed(2)\n )\n }\n }\n // 迭代加了Total列,需要统计qty的运费后才能合计运费\n if (this.sellData[2].summary !== '-' && this.sellData[2].summary !== 'POA') {\n if (this.freight_switch) {\n const num = Math.ceil((frightSummary / this.comAttributeList.summary) * 100) / 100\n this.sellData[2].summary = npPlus(this.sellData[2].summary, num).toFixed(2)\n this.sellData[3].summary = 0.00\n const a = npTimes(this.sellData[2].summary,this.comAttributeList.summary)\n this.sellData[4].summary = npPlus(this.sellData[1].summary,a).toFixed(2)\n } else {\n this.sellData[3].summary = frightSummary\n this.sellData[4].summary = npPlus(frightSummary,this.sellData[4].summary).toFixed(2)\n }\n }\n },\n // 低于最小起订量 把该栏的数值重置到最小起订量\n getChildIdx(idx){\n this.xxContentVisible = true;\n this.$set(this.comCurBaseTotalColumns[idx-1],'label',this.comCurBaseColumns[0]?.label)\n },\n setMaxNum(val){\n if(val > 7){\n this.comCurBasePrice.locationNum = 7\n }else if(val < 1){\n this.comCurBasePrice.locationNum = 1\n }\n },\n ...mapMutations({ openDialog: 'openDialog', setLoading: 'product/setLoading' })\n },\n}\n","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!./Quote.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!./Quote.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Quote.vue?vue&type=template&id=8320de5e&scoped=true\"\nimport script from \"./Quote.vue?vue&type=script&lang=js\"\nexport * from \"./Quote.vue?vue&type=script&lang=js\"\nimport style0 from \"./Quote.vue?vue&type=style&index=0&id=8320de5e&prod&lang=scss&scoped=true\"\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 \"8320de5e\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {TabNav: require('/Users/wu67/Projects/shop_site/components/TabNav.vue').default,PcSwitch: require('/Users/wu67/Projects/shop_site/components/PcSwitch.vue').default,FormDialog: require('/Users/wu67/Projects/shop_site/components/FormDialog.vue').default,PriceToImg: require('/Users/wu67/Projects/shop_site/components/PriceToImg.vue').default})\n","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\"","\nimport { times as npTimes,plus as npPlus, minus as npMinus } from 'number-precision';\nexport default {\n filters: {\n // Decoration Table:打印价格+附加价格\n multiplyPrice(a1, row, prop) {\n const rep = /^[0-9]+.?[0-9]*$/\n if (!rep.test(a1)) {\n return a1\n } else {\n return npTimes(a1, row.num)\n }\n },\n // Undecorated Table:基础价格+Decoration所选价格(包含附加价格)\n plusPrice(a1, a2) {\n return a2 ? npPlus(a1, a2) : a1\n },\n // Decoration Table:计算差价\n differencePrice(a1, row, prop, selectRow) {\n const rep = /^[0-9]+.?[0-9]*$/\n if (rep.test(a1)) {\n const temp = prop.split('_')\n\n const supplier = +row[`supplier_${temp[1]}`]\n const suppliers = npTimes(row.num - 1, supplier)\n const noIncludePrice = npPlus(a1, suppliers)\n\n const selSupplier = +selectRow[`supplier_${temp[1]}`]\n const selSuppliers = npTimes(selectRow.num - 1, selSupplier)\n const isIncludePrice = npPlus(+selectRow[prop], selSuppliers)\n\n return noIncludePrice > isIncludePrice\n ? `+${npMinus(noIncludePrice, isIncludePrice)}`\n : npMinus(noIncludePrice, isIncludePrice)\n } else {\n return a1\n }\n },\n },\n props: {\n hasDecAdd: {\n type: Number,\n default: 0,\n },\n tableData: {\n type: Array,\n default: () => {\n return []\n },\n },\n tableColumns: {\n type: Array,\n default: () => {\n return []\n },\n },\n operateWith: {\n type: String,\n default: '100%',\n },\n isCheckBox: {\n type: Boolean,\n default: false,\n },\n tableType: {\n type: String,\n default: 'Undecorated',\n },\n decorationObj: {\n type: Object,\n default: () => {\n return {}\n },\n },\n selectId: {\n type: Number,\n default: null\n },\n selectRow: {\n type: Object,\n default: () => {\n return {}\n },\n },\n multipleSelection: {\n type: Array,\n default: () => {\n return []\n },\n },\n selectDecoration: {\n type: Object,\n default: () => {\n return {}\n },\n },\n curPrint: {\n type: String,\n default: '',\n },\n curModel: {\n type: String,\n default: '',\n },\n marginBottom: {\n type: Number,\n default: 20,\n },\n decorationMultiple: {\n type: Number,\n default: 1,\n },\n headerShow: {\n type: Boolean,\n default: true,\n },\n },\n data() {\n return {\n setupConfigList: [\n { id: 1, name: '/col' },\n { id: 2, name: '/desgin' },\n { id: 3, name: '/pos' },\n { id: 4, name: '/pos desgin' },\n { id: 5, name: 'POA' },\n { id: 6, name: 'Waived' },\n ],\n setupTitleList: ['1st', '2nd', '3rd'],\n }\n },\n computed: {\n getTableContainerClass() {\n // 根据tableType的值返回不同的class\n return {\n 'table-container': true,\n 'border-Decoration': this.tableType === 'Decoration' && this.hasDecAdd\n };\n },\n comTitle() {\n if (this.tableType === 'Undecorated') {\n return `Includes ${this.curModel}`\n } else if (this.tableType === 'Decoration') {\n return `Add-Ons`\n } else {\n return this.curPrint\n }\n },\n comDisplayCss() {\n return this.tableType === 'Comparison' ? '1px solid #efefef' : 'none'\n },\n comMultipleSelID() {\n return this.multipleSelection.map(i => i.id)\n },\n comTableData() {\n if (this.tableType === 'Decoration') {\n return this.tableData\n } else {\n return this.tableData\n }\n },\n },\n mounted() {\n // 初始勾上默认选择打印项\n if (JSON.stringify(this.selectRow) !== '{}') {\n this.$refs.elTable.toggleRowSelection(this.selectRow)\n }\n },\n methods: {\n judgeProp(row, prop, $index) {\n if (\n $index === 0 && this.tableType === 'Decoration'\n ) {\n const temp = prop.split('_')\n return row[`supplier_${temp[1]}`]\n } else {\n return row[prop]\n }\n },\n $_setupPriceFilter(setupPriceID) {\n const result = this.setupConfigList.filter(\n item => item.id === setupPriceID\n )\n return result.length > 0 ? result[0].name : ''\n },\n isNumber(val) {\n const rep = /^[0-9]+.?[0-9]*$/\n return rep.test(val)\n },\n /* 暂不实现此功能\n //点击table栏时选中按钮\n handleCurrentChange(currentRow, oldCurrentRow) {\n this.$refs.elTable.clearSelection()\n this.$emit('update:selectId', currentRow.id)\n this.addCar(currentRow)\n },\n */\n // table全选\n handleSelectionChange(val) {\n this.$emit('update:multipleSelection', val)\n },\n dialogCheck(selection, row) {\n if (this.isCheckBox) return // 是多选框返回\n this.$refs.elTable.clearSelection()\n // 初始化\n if (selection.length === 0) {\n this.$emit('update:selectId', null)\n this.$emit('update:selectRow', {})\n return\n }\n if (row) {\n this.$emit('update:selectId', row.id)\n this.$emit('update:selectRow', row)\n this.$refs.elTable.toggleRowSelection(row, true)\n }\n },\n addCar(currentRow) {\n // 加入购物车需要parentId\n const selrow = Object.assign({}, currentRow)\n selrow.parentId = this.decorationObj.parentId\n this.$emit('update:selectRow', selrow)\n this.$refs.elTable.toggleRowSelection(currentRow)\n },\n getRowKey(row) {\n return row.id\n },\n arraySpanMethod({ row, column, rowIndex, columnIndex }) {\n // 隐藏'Decoration'选项框\n if (this.tableType === 'Decoration' && columnIndex === 0) {\n return [0, 1]\n }\n if (this.tableType === 'Decoration' && columnIndex === 1) {\n return [1, 2]\n }\n },\n tableRowClassName({ row }) {\n if (this.tableType === 'Decoration') {\n return this.decorationMultiple ? 'borderNone' : 'hiddenRow'\n }\n return 'fontBold'\n },\n handleSelectable(row, index) {\n // website_setup_id 5为POA,不可选\n return row.website_setup_id !== 5;\n },\n getNumber(e, row, max) {\n if (parseInt(e) > max) {\n row.num = max\n }\n }\n },\n}\n","import { render, staticRenderFns } from \"./NewPriceTable.vue?vue&type=template&id=05e92126&scoped=true\"\nimport script from \"./NewPriceTable.vue?vue&type=script&lang=js\"\nexport * from \"./NewPriceTable.vue?vue&type=script&lang=js\"\nimport style0 from \"./NewPriceTable.vue?vue&type=style&index=0&id=05e92126&prod&lang=scss&scoped=true\"\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 \"05e92126\",\n null\n \n)\n\nexport default component.exports","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!./TotalTable.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!./TotalTable.vue?vue&type=script&lang=js\"","\nimport { minus as npMinus } from 'number-precision'\n\nexport default {\n filters: {\n differencePrice(a, curDecoVal, indexDecoVal, poaConfig) {\n const rep = /^[0-9]+(\\.[0-9]*)?$/\n if (!rep.test(a)) {\n return a || 'Waived';\n }\n\n if (poaConfig.includes(curDecoVal) || poaConfig.includes(indexDecoVal)) {\n if (curDecoVal === '111' || curDecoVal === '111.00' || indexDecoVal === '111' || indexDecoVal === '111.00') {\n return '-';\n } else if (curDecoVal === '999' || curDecoVal === '999.00' || indexDecoVal === '999' || indexDecoVal === '999.00') {\n return 'POA';\n }\n } else if (curDecoVal === indexDecoVal) {\n return 0;\n } else if (+curDecoVal > +indexDecoVal) {\n return `-$ ${npMinus(curDecoVal, indexDecoVal)}`;\n } else if (+curDecoVal < +indexDecoVal) {\n return `+$ ${npMinus(indexDecoVal, curDecoVal)}`;\n } else {\n return 'Waived';\n }\n }\n\n },\n props: {\n tableData: {\n type: Array,\n default: () => [],\n },\n tableColumns: {\n type: Array,\n default: () => [],\n },\n tableType: {\n type: String,\n default: '',\n },\n curDecoration: {\n type: Object,\n default: () => { },\n },\n indexDecoration: {\n type: Object,\n default: () => { },\n },\n comLocationNum: {\n type: Number,\n default: 1,\n },\n curOrder: {\n type: String,\n default: '',\n },\n min: {\n type: String,\n default: '',\n },\n title: {\n type: String,\n default: '',\n },\n },\n data() {\n return {\n poaConfig: ['111', '111.00', '999', '999.00'],\n }\n },\n methods: {\n getNumber(e, index) {\n if (parseInt(e.target.value) < this.min) {\n this.$emit('send-idx', index);\n }\n },\n },\n computed: {\n comWidth(){\n return 800/this.tableColumns.length - 1\n }\n }\n}\n","import { render, staticRenderFns } from \"./TotalTable.vue?vue&type=template&id=2b5fb566&scoped=true\"\nimport script from \"./TotalTable.vue?vue&type=script&lang=js\"\nexport * from \"./TotalTable.vue?vue&type=script&lang=js\"\nimport style0 from \"./TotalTable.vue?vue&type=style&index=0&id=2b5fb566&prod&lang=scss&scoped=true\"\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 \"2b5fb566\",\n null\n \n)\n\nexport default component.exports","\nexport default {\n props: {\n tableData: {\n type: Array,\n default: [],\n },\n tableColumns: {\n type: Array,\n default: [],\n },\n operateWith: {\n type: String,\n default: \"100%\",\n },\n selectionShow: {\n type: Boolean,\n default: false,\n },\n handleShow: {\n type: Boolean,\n default: false,\n },\n },\n methods: {\n saveUnitData(row, idx) {\n this.tableData[idx] = row\n localStorage.setItem('unit', JSON.stringify(this.tableData))\n }\n },\n};\n","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!./UnitTable.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!./UnitTable.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UnitTable.vue?vue&type=template&id=931e8840&scoped=true\"\nimport script from \"./UnitTable.vue?vue&type=script&lang=js\"\nexport * from \"./UnitTable.vue?vue&type=script&lang=js\"\nimport style0 from \"./UnitTable.vue?vue&type=style&index=0&id=931e8840&prod&lang=scss&scoped=true\"\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 \"931e8840\",\n null\n \n)\n\nexport default component.exports","\nexport default {\n props: {\n mailData: {},\n buyData: {},\n },\n data() {\n return {\n objStyle: {\n fontWeight: 'bold',\n backgroundColor: '#efefef',\n },\n }\n },\n}\n","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!./MailTable.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!./MailTable.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MailTable.vue?vue&type=template&id=13e7bb30&scoped=true\"\nimport script from \"./MailTable.vue?vue&type=script&lang=js\"\nexport * from \"./MailTable.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 \"13e7bb30\",\n null\n \n)\n\nexport default component.exports","\nexport default {\n model: {\n prop: 'status',\n event: 'change',\n },\n props: {\n status: Boolean\n },\n methods: {\n changeStatus() {\n this.$emit('change', !this.status)\n },\n },\n}\n","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!./PcSwitch.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!./PcSwitch.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PcSwitch.vue?vue&type=template&id=58d567c2&scoped=true\"\nimport script from \"./PcSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./PcSwitch.vue?vue&type=script&lang=js\"\nimport style0 from \"./PcSwitch.vue?vue&type=style&index=0&id=58d567c2&prod&lang=scss&scoped=true\"\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 \"58d567c2\",\n null\n \n)\n\nexport default component.exports","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!./PriceToImg.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!./PriceToImg.vue?vue&type=script&lang=js\"","\nimport html2Canvas from \"html2canvas\";\n\nexport default {\n props: {\n pageData: {\n type: Object,\n default: {},\n },\n specificationsObj: {\n type: Object,\n default: {},\n },\n tableData: {\n type: Array,\n default: [],\n },\n tableColumns: {\n type: Array,\n default: [],\n },\n comLocationNum: {\n type: Number,\n default: 1,\n },\n emailForm:{\n type: Object,\n default: {},\n },\n loading: {\n type: Boolean,\n default: false\n },\n isImgSrc: {\n type: Boolean,\n default: true\n },\n width: {\n type: String,\n default: '100%'\n }\n },\n data(){\n return {\n headerColumns: [\n {\n label: \"LeadTime\",\n prop: \"time\",\n type: \"pre\" //去掉$符号\n },\n {\n label: \"Model\",\n prop: \"model\",\n type: \"pre\" //去掉$符号\n },\n {\n label: \"Decoration\",\n prop: \"decoration\",\n type: \"pre\" //去掉$符号\n },\n {\n label: \"Add On\",\n prop: \"addonArr\",\n type: \"pre\" //去掉$符号\n },\n ],\n }\n },\n computed:{\n comInfo(){\n\t\t\treturn this.pageData?.main\n\t\t},\n comWidth(){\n return 100/this.tableColumns.length + '%'\n }\n },\n created(){\n if(!this.isImgSrc){\n this.getBase64Image(this.comInfo.image,'productImg')\n }\n },\n methods: {\n getColumnHeaderStyle(column) {\n if (column.prop === 'project') {\n return { 'font-weight': 'bold' };\n }\n return {};\n },\n //Base64生成产品图片,因为跨域\n getBase64Image (url, ref) {\n var that = this\n var image = new Image()\n image.src = url + '?v=' + Math.random() // 处理缓存\n image.crossOrigin = '*' // 支持跨域图片\n image.onload = function () {\n var base64 = that.drawBase64Image(image)\n that.$refs[ref].src = base64\n }\n },\n drawBase64Image (img) {\n var canvas = document.createElement('canvas')\n canvas.width = img.width\n canvas.height = img.height\n var ctx = canvas.getContext('2d')\n ctx.drawImage(img, 0, 0, img.width, img.height)\n var dataURL = canvas.toDataURL('image/png')\n return dataURL\n },\n htmlToPdf(title){\n const element = this.$refs.printArea;\n const clientWidth = element.offsetWidth;\n const clientHeight = element.offsetHeight;\n const kh = [clientWidth, clientHeight];\n const opts = {\n scale: 1.5, // 缩放比例,提高生成图片清晰度\n useCORS: true, // 允许加载跨域的图片\n // allowTaint: true, // 允许图片跨域,和 useCORS 二者不可共同使用\n tainttest: true, // 检测每张图片已经加载完成\n logging: true, // 日志开关,发布的时候记得改成 false\n };\n html2Canvas(element, opts).then((canvas) => {\n const dataURL = canvas.toDataURL('image/png');\n this.downloadImage(dataURL, kh, title);\n this.$emit('update:loading', false)\n })\n .catch(() => {\n this.$emit('update:loading', false)\n // Bus.$emit(\"finishDownload\");\n });\n },\n getUrlBase64(url, kh) {\n return new Promise((resolve) => {\n let canvas = document.createElement('canvas');\n const ctx = canvas.getContext('2d');\n const img = new Image();\n img.crossOrigin = 'Anonymous'; // 允许跨域\n img.src = url;\n img.onload = () => {\n // eslint-disable-next-line prefer-destructuring\n canvas.height = kh[1];\n // eslint-disable-next-line prefer-destructuring\n canvas.width = kh[0];\n ctx.drawImage(img, 0, 0, kh[0], kh[1]);\n const dataURL = canvas.toDataURL('image/png');\n canvas = null;\n resolve(dataURL);\n };\n });\n },\n downloadImage (imgUrl, kh, title) {\n this.getUrlBase64(imgUrl, kh).then((base64) => {\n const link = document.createElement('a');\n link.href = base64;\n link.download = `${title}.png`;\n link.click();\n });\n },\n },\n};\n","import { render, staticRenderFns } from \"./PriceToImg.vue?vue&type=template&id=145cbbd9\"\nimport script from \"./PriceToImg.vue?vue&type=script&lang=js\"\nexport * from \"./PriceToImg.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","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://tc39.es/ecma262/#sec-array.prototype.flatmap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A;\n aCallable(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n doesNotExceedSafeInteger(targetIndex + 1);\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\n// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flatMap');\n","export * from \"-!../../node_modules/extract-css-chunks-webpack-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/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Quote.vue?vue&type=style&index=0&id=8320de5e&prod&lang=scss&scoped=true\""],"sourceRoot":""}
|