1 |
- {"version":3,"sources":["webpack:///./node_modules/number-precision/build/index.es.js","webpack:///./components/Tinymce/index.vue?a729","webpack:///./components/Tinymce/index.vue","webpack:///./components/Tinymce/index.vue?8c19","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?baf1","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./components/FormDialog.vue?121e","webpack:///./components/FormDialog.vue","webpack:///./components/FormDialog.vue?5005","webpack:///./components/FormDialog.vue?d22e","webpack:///./components/FormDialog.vue?7490","webpack:///./components/table/NewPriceTable.vue?b227","webpack:///./components/table/TotalTable.vue?0fdb","webpack:///./components/table/UnitTable.vue?2a2f","webpack:///./components/TabNav.vue?d175","webpack:///./components/PcSwitch.vue?f22a","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?3a77","webpack:///./components/TabNav.vue","webpack:///./components/TabNav.vue?f4a8","webpack:///./components/table/NewPriceTable.vue?0446","webpack:///./components/table/TotalTable.vue?d26e","webpack:///./components/table/UnitTable.vue?ec05","webpack:///./components/TabNav.vue?baa8","webpack:///./components/PcSwitch.vue?a7df","webpack:///./components/product/Quote.vue?129a","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?cae0","webpack:///./components/product/Quote.vue?680f","webpack:///./components/table/NewPriceTable.vue?73df","webpack:///./components/table/NewPriceTable.vue","webpack:///./components/table/NewPriceTable.vue?e6a6","webpack:///./components/table/TotalTable.vue?066a","webpack:///./components/table/TotalTable.vue","webpack:///./components/table/TotalTable.vue?c108","webpack:///./components/table/UnitTable.vue","webpack:///./components/table/UnitTable.vue?d70b","webpack:///./components/table/UnitTable.vue?a1ce","webpack:///./components/table/MailTable.vue","webpack:///./components/table/MailTable.vue?dd1d","webpack:///./components/table/MailTable.vue?447d","webpack:///./components/PcSwitch.vue","webpack:///./components/PcSwitch.vue?8b57","webpack:///./components/PcSwitch.vue?db4b","webpack:///./components/PriceToImg.vue?4ba5","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?95a0"],"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","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","source","excluded","sourceKeys","getOwnPropertySymbols","sourceSymbolKeys","prototype","propertyIsEnumerable","call","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","o","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","freightParam","postcode","freight_type","freight","firstColumns","newColumn","options","index","opt","_defaultID$decoration","_options$decorationOr","_options$decorationOr2","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$basePrice2$ite","_items$basePrice2$ite2","_items$basePrice3","_items$basePrice3$ite","_items$basePrice3$ite2","_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","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,GAEj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C,EAAOC,EAAQC,GAM1F,IALA,IAGI9b,QAAS+b,EAHTC,EAAcL,EACdM,EAAc,EACdC,IAAQL,GAASJ,EAAKI,EAAQC,GAG3BG,EAAcV,GACfU,KAAezb,SACjBR,QAAUkc,EAAQA,EAAM1b,OAAOyb,GAAcA,EAAaP,GAAYlb,OAAOyb,GAEzEL,EAAQ,GAAK/c,EAAQmB,UACvB+b,EAAaZ,EAAkBnb,SAC/Bgc,EAAchB,EAAiB1f,EAAQogB,EAAU1b,QAAS+b,EAAYC,EAAaJ,EAAQ,GAAK,IAEhGJ,EAAyBQ,EAAc,GACvC1gB,EAAO0gB,GAAehc,SAGxBgc,KAEFC,IAEF,OAAOD,CACT,EAEA7oB,EAAOC,QAAU4nB,C,sBC/BM,EAAQ,IAG/B7f,CAAiB,U,mCCLjB,M","file":"dada3e5.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\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export 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}","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\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","\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","// 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":""}
|