1 |
- {"version":3,"sources":["webpack:///./node_modules/number-precision/build/index.es.js","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./components/Tinymce/index.vue?ccb8","webpack:///./node_modules/core-js/modules/es.array.find-index.js","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?6557","webpack:///./components/table/NewPriceTable.vue?764e","webpack:///./components/table/TotalTable.vue?2a54","webpack:///./components/table/UnitTable.vue?298b","webpack:///./components/TabNav.vue?128f","webpack:///./components/FormDialog.vue?b4f6","webpack:///./components/TabNav.vue?f732","webpack:///./components/TabNav.vue","webpack:///./components/TabNav.vue?f4a8","webpack:///./components/table/NewPriceTable.vue?f351","webpack:///./components/table/TotalTable.vue?7ece","webpack:///./components/table/UnitTable.vue?c20d","webpack:///./components/TabNav.vue?6153","webpack:///./components/FormDialog.vue?cae2","webpack:///./components/product/Quote.vue?035e","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/FormDialog.vue","webpack:///./components/FormDialog.vue?d330","webpack:///./components/FormDialog.vue?d22e","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?5071"],"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","$","$find","find","addToUnscopables","FIND","SKIPS_HOLES","Array","target","proto","forced","callbackfn","this","undefined","module","exports","$findIndex","findIndex","FIND_INDEX","name","props","id","type","String","default","Date","random","toFixed","value","toolbar","required","menubar","height","width","data","hasChange","hasInit","tinymceId","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","borderType","fontSize","marginTop","marginBottom","liWidth","liHeight","marginRight","currTab","tabList","Object","allPrintTab","textColor","comRemaining","mapTabList","map","i","filter","element","includes","selTab","isArray","_l","item","hasOwnProperty","isShow","key","active","minWidth","lineHeight","$event","_v","_s","_e","keys","_objectWithoutProperties","t","o","r","call","getOwnPropertySymbols","propertyIsEnumerable","components","NewPriceTable","TotalTable","UnitTable","MailTable","dialogXXSuccess","pageData","quoteLoadState","curWeek","priceList","initZeroObj","initSetupObj","initUnitObj","initChangeUnitObj","initFrightObj","initTotalObj","xxContentVisible","setup_switch","freight_switch","weight","undecorated_columns","label","prop","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","enquiryConfig","selectlist","rules","trigger","pattern","mailData","Url","priceToImgVisible","downloadDialogVisible","commentObj","enquiryConfig1","rules1","specificationsObj","time","model","decoration","addonArr","pdfLoading","_objectSpread","mapState","configInfo","userInfo","comCurWeekPrice","comCurPrint","curPrint","comCurBasePrice","basePrice","comLocationNum","locationNum","comCurBaseColumns","part_columns","comCurBaseTotalColumns","d","total_part_columns","_toConsumableArray","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","getQuote","$axios","post","then","res","localStorage","getItem","JSON","parse","_res$result","result","attributeList","defaultID","a","unit","$set","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","copyData","k","_loop2","_a","every","attributeKeys","prototype","freightParam","postcode","freight_type","freight","firstColumns","newColumn","options","index","opt","_defaultID$decoration","_options$decorationOr","decoration_addition","assign","website_setup","catch","log","input","getDebFreight","_","debounce","getFreight","getNumber","row","min","parseInt","sortBy","items","customSort","b","dividePrice","npDivide","getMailData","location","href","_this$enquiryForm","_this$userInfo","email","level","createTime","$utils","formatTime","handleDownloadPdf","$refs","priceToImgRef","htmlToPdf","product_code","stringify","selPriceArr","apply","_loop3","columnSum","cur","npPlus","_loop4","tempIdx","freightType","unitWLocal","unit_w_local","totalWeight","ceil","setupFuel","fuel","setupBagFreight","bag_freight","setupExpressFreight","express_freight","AAEFactor","expressFactor","frightCost","matchIndex","_ref","a1","npMinus","a2","basic","a3","pickup","minimum","unitQTY","buySetup","buyUnit","buyFright","frightSummary","_loop5","_this6$comCurBaseTota","fa","getChildIdx","_this$comCurBaseColum","setMaxNum","mapMutations","openDialog","setLoading","_vm$enquiryConfig$3$s","directives","rawName","expression","indexs","_items$basePrice","_items$decoration","_items$basePrice2","_items$basePrice3","_items$decorationOrig","sendPriceMail","ref","$$v","installComponents","TabNav","FormDialog","PriceToImg","filters","multiplyPrice","plusPrice","differencePrice","selectRow","temp","supplier","suppliers","noIncludePrice","selSupplier","selSuppliers","isIncludePrice","hasDecAdd","tableData","tableColumns","operateWith","isCheckBox","Boolean","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","staticStyle","backgroundColor","fontWeight","fontFamily","color","formatter","sortable","scopedSlots","_u","fn","filter_boolean","slot","curDecoVal","indexDecoVal","poaConfig","curDecoration","indexDecoration","curOrder","title","comWidth","scope","_f","selectionShow","handleShow","saveUnitData","setItem","objStyle","checkType","_t","Tinymce","sendbtnCext","cancelbtnCext","top","isSendPdf","emailForm","labelWidth","visible","downloading","comEnquiryConfig","handleClose","handleSend","ruleForm","validate","valid","placeholder","product","loading","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":"yGAaA,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,IAAIE,SAAWJ,EAAO,IAAM,GAClE,OAAOG,EAAM,EAAIA,EAAM,CAC3B,CAOA,SAASE,EAAYX,GACjB,IAAqC,IAAjCA,EAAIO,WAAWK,QAAQ,KACvB,OAAOT,OAAOH,EAAIO,WAAWM,QAAQ,IAAK,KAE9C,IAAIC,EAAOT,EAAYL,GACvB,OAAOc,EAAO,EAAIf,EAAMI,OAAOH,GAAOe,KAAKC,IAAI,GAAIF,IAASX,OAAOH,EACvE,CAMA,SAASiB,EAAcjB,GACfkB,IACIlB,EAAMG,OAAOgB,kBAAoBnB,EAAMG,OAAOiB,mBAC9CC,QAAQC,KAAKtB,EAAM,gFAG/B,CAMA,SAASuB,EAAgBC,GACrB,OAAO,WAEH,IADA,IAAIC,EAAO,GACFC,EAAK,EAAGA,EAAKC,UAAUjB,OAAQgB,IACpCD,EAAKC,GAAMC,UAAUD,GAEzB,IAAIE,EAAQH,EAAK,GACjB,OAD8BA,EAAKI,MAAM,GAC3BC,QA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,mCC9BM,EAAQ,IAG/BlkB,CAAiB,U,mCCNjB,M","file":"dcc85bc.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","'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 = {};","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-findindex -- testing\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","\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('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=a9d38a5e&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=a9d38a5e&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 \"a9d38a5e\",\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=a9d38a5e&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 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=8da20436&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=8afd0988&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!./FormDialog.vue?vue&type=style&index=0&id=2aff96f1&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: true,\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\n getQuote() {\n this.$axios\n .post('/uk-api/quote/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.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('/api/quote/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('/api/quote/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 // 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 {\n // Name,\n // Email,\n // Phone,\n // Comments,\n // 'Customer manager': customerManager,\n // } = this.enquiryForm\n // this.$axios\n // .post('/uk-api/quote/sendenquiry', {\n // content: this.$refs.mailtable.$el.innerHTML,\n // name: Name,\n // email: Email,\n // phone: Phone,\n // customer_manager: customerManager || '',\n // url: this.mailData.Url,\n // product_code: this.pageData.product_code,\n // comments: Comments,\n // member_id: this.userInfo.id,\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('/api/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=33f0dc7e&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=33f0dc7e&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 \"33f0dc7e\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {TabNav: require('/Users/wu67/Projects/uk_front/components/TabNav.vue').default,FormDialog: require('/Users/wu67/Projects/uk_front/components/FormDialog.vue').default,PriceToImg: require('/Users/wu67/Projects/uk_front/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=8da20436&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=8da20436&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 \"8da20436\",\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=8afd0988&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=8afd0988&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 \"8afd0988\",\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","\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=2aff96f1&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=2aff96f1&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 \"2aff96f1\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {Tinymce: require('/Users/wu67/Projects/uk_front/components/Tinymce/index.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!./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=2e991f10\"\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=33f0dc7e&prod&lang=scss&scoped=true\""],"sourceRoot":""}
|