03cf4f8.js.map 152 KB

1
  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?5415","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?6413"],"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","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","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","_loop","_remaining$k","_remaining$k2","temp","website_setup","copyData","_loop2","_a","every","attributeKeys","prototype","freightParam","postcode","freight_type","freight","firstColumns","newColumn","options","index","opt","_defaultID$decoration","_options$decorationOr","decoration_addition","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","_loop3","columnSum","cur","npPlus","_loop4","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","_loop5","_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,QAC9BC,GAAOH,EAAO,GAAGE,MAAM,KAAK,IAAM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EAAMR,OAAOO,GAAcA,EAAaR,GAAYC,OAAOO,GAEzEL,EAAQ,GAAKxc,EAAQmB,UACvBwb,EAAab,EAAkB3a,SAC/Byb,EAAcjB,EAAiBnf,EAAQ6f,EAAUlb,QAASwb,EAAYC,EAAaJ,EAAQ,GAAK,IAEhGL,EAAyBS,EAAc,GACvCpgB,EAAOogB,GAAezb,SAGxByb,KAEFC,IAEF,OAAOD,CACT,EAEAvoB,EAAOC,QAAUqnB,C,mCC9BM,EAAQ,IAG/Btf,CAAiB,U,mCCNjB,M","file":"03cf4f8.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 &nbsp; 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(npTimes(o, (100 + parseFloat(m))), 100)\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 // 格式化数据,对象改成数组\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\n for (const k in remaining) {\n const o = {}\n o.name = k\n remaining[k] = remaining[k].map(item => {\n const temp = {...item}\n for(let i = 1; i<=8; i++) {\n if (item[`website_qty${i}`] && !this.POA_Config.includes(item[`website_qty${i}`])) {\n temp[`website_qty${i}`] = this.multiplyWithMargin(parseFloat(item[`website_qty${i}`]), margin).toString()\n }\n }\n temp.website_setup = this.multiplyWithMargin(parseFloat(item.website_setup), setupMargin).toString()\n return temp\n })\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 opt.decoration_addition = [...(options.decorationOrign?.[idx]?.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=e87b4ce2&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=e87b4ce2&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 \"e87b4ce2\",\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=e87b4ce2&prod&lang=scss&scoped=true\""],"sourceRoot":""}