1 |
- {"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.number.to-fixed.js","webpack:///./components/Pagination.vue?eada","webpack:///./node_modules/number-precision/build/index.es.js","webpack:///./components/Pagination.vue?d85b","webpack:///./components/Pagination.vue","webpack:///./components/Pagination.vue?e307","webpack:///./components/Pagination.vue?063b","webpack:///./node_modules/core-js/modules/es.number.is-nan.js","webpack:///./components/addAddressDialog.vue?b4fa","webpack:///./utils/price.js","webpack:///./node_modules/core-js/modules/es.math.trunc.js","webpack:///./components/addAddressDialog.vue?535f","webpack:///./components/addAddressDialog.vue","webpack:///./components/addAddressDialog.vue?66e9","webpack:///./components/addAddressDialog.vue?b4d1","webpack:///./components/ImageUpload.vue?1466","webpack:///./components/ImageUpload.vue?9bbc","webpack:///./components/ImageUpload.vue?1e96","webpack:///./components/ImageUpload.vue","webpack:///./components/ImageUpload.vue?a75d","webpack:///./pages/home/myDetail/index.vue?d3ac","webpack:///./pages/home/myDetail/index.vue?d385","webpack:///./assets/img/myAccount/add-address.png","webpack:///./pages/home/myDetail/index.vue?c2e7","webpack:///./pages/home/myDetail/index.vue?9865","webpack:///./pages/home/myDetail/index.vue","webpack:///./pages/home/myDetail/index.vue?b5ac","webpack:///./pages/home/myDetail/index.vue?bc6e"],"names":["$","uncurryThis","toIntegerOrInfinity","thisNumberValue","$repeat","fails","$RangeError","RangeError","$String","String","floor","Math","repeat","stringSlice","slice","nativeToFixed","toFixed","pow","x","n","acc","multiply","data","c","index","c2","divide","dataToString","s","t","length","target","proto","forced","fractionDigits","e","z","j","k","number","this","fractDigits","sign","result","x2","log","module","exports","strip","num","precision","parseFloat","Number","toPrecision","digitLength","eSplit","toString","split","len","float2Fixed","indexOf","replace","dLen","checkBoundary","_boundaryCheckingState","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","console","warn","createOperation","operation","nums","_i","arguments","first","reduce","prev","next","times","num1","num2","num1Changed","num2Changed","baseNum","leftValue","plus","max","minus","name","props","total","required","type","page","default","limit","layout","background","Boolean","autoScroll","hidden","computed","currentPage","get","set","val","$emit","pageSize","methods","handleSizeChange","scrollTo","handleCurrentChange","component","_vm","_c","_self","staticClass","class","_t","_v","_b","attrs","on","$event","$attrs","stat","isNaN","formatPrice","value","needSymbol","undefined","concat","round","ratio","transformNumber","v","trunc","getUnit","buyNum","attributeList","basePriceList","candidate","Object","entries","filter","item","key","pop","getSetup","form","additionList","current","test","enable","temp","colorForm","i","id","printService","colorNumber","decoration","decorationList","setup","website_setup","supplier_setup","addition","includes","website_setup_id","getPrint","key2","sum","p1","p2","price","getAddon","getPackaging","getFright","config","freight","weight","totalWeight","ceil","unit_w_local","expressFactor","express_freight","fuel","AAEFactor","bag_freight","frightCost","a1","a2","basic","a3","pickup","dialogVisible","componentVisible","country","phone","address","post_code","city","state","is_default","options","rules","message","trigger","cityList","stateList","dialogFormVisible","submit","ruleForm","_this","$refs","validate","valid","addAddress","$route","fullPath","$router","push","path","query","editAddress","_this2","$axios","post","then","res","code","$notify","title","duration","update","catch","error","$message","response","msg","_this3","ref","model","callback","$$v","$set","expression","staticStyle","slot","components","draggable","list","Array","disablePreview","width","height","imageList","loading","uploadPercent","imageDialogVisible","imageUrl","fulled","watch","JSON","parse","stringify","mounted","updateList","handleUpload","file","fileList","status","interval","setInterval","clearInterval","formData","FormData","forEach","append","raw","url","uid","finally","handleRemove","splice","handlePictureCardPreview","end","_l","style","_e","directives","rawName","hide","addAddressDialog","dialogXXSuccess","imageUpload","xxContentVisible","xxContent","tabName","tableLoading","profileform","email","company","contacts","last_name","password","confirm_password","accountPasswordForm","orderKeyword","selword","accounts_id","orderTotal","orderListQuery","tableData","addressTotal","addressListQuery","addressList","addressDetail","enquiryKeyword","enquiryList","enquiryListQuery","enquiryTotal","orderSelList","Tracking_URL","urlDialogShow","activeMenu","_this$$route$query$ty","selShow","handler","to","$utils","checkLogin","updateType","getMemberDetail","_objectSpread","handleClick","keyPath","getEnquiryList","getAddressList","getOrdersList","closeAddressDialog","logo","formatLogo","params","onSave","_this2$profileform$lo","_this2$profileform$lo2","requestBody","needLogout","trim","customClass","setTimeout","$store","dispatch","_this$$store$state$us","userInfo","memberCrmcomList","map","join","keyword","Order_Stage","$nextTick","window","scroll","goOrderDetail","row","routeUrl","resolve","sales_orders_id","crm","Account_Name_id","open","href","_this$$store$state$us2","_this4","crm_accounts_id","goEnquiryDetail","enquiries_id","_this5","_this6","delAddress","_this7","setDefault","_this8","resetPassword","_this9","method","openTracking_URL","handleNotification","openDialog","mapMutations","_vm$$store$state$user","_vm$$store$state$user2","_s","nativeOn","_k","keyCode","apply","color","scopedSlots","_u","fn","scope","formatTime","Sales_Order_Created","require","option","Tracking_No_arr","Tracking_No","Grand_Total","installComponents","ImageUpload","Pagination","AddAddressDialog"],"mappings":"8FACA,IAAIA,EAAI,EAAQ,GACZC,EAAc,EAAQ,GACtBC,EAAsB,EAAQ,IAC9BC,EAAkB,EAAQ,KAC1BC,EAAU,EAAQ,KAClBC,EAAQ,EAAQ,GAEhBC,EAAcC,WACdC,EAAUC,OACVC,EAAQC,KAAKD,MACbE,EAASX,EAAYG,GACrBS,EAAcZ,EAAY,GAAGa,OAC7BC,EAAgBd,EAAY,GAAIe,SAEhCC,EAAM,SAAUC,EAAGC,EAAGC,GACxB,OAAa,IAAND,EAAUC,EAAMD,EAAI,GAAM,EAAIF,EAAIC,EAAGC,EAAI,EAAGC,EAAMF,GAAKD,EAAIC,EAAIA,EAAGC,EAAI,EAAGC,EAClF,EAeIC,EAAW,SAAUC,KAAMH,EAAGI,GAGhC,IAFA,IAAIC,GAAS,EACTC,EAAKF,IACAC,EAAQ,GACfC,GAAMN,EAAIG,KAAKE,GACfF,KAAKE,GAASC,EAAK,IACnBA,EAAKf,EAAMe,EAAK,IAEpB,EAEIC,EAAS,SAAUJ,KAAMH,GAG3B,IAFA,IAAIK,EAAQ,EACRD,EAAI,IACCC,GAAS,GAChBD,GAAKD,KAAKE,GACVF,KAAKE,GAASd,EAAMa,EAAIJ,GACxBI,EAAKA,EAAI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OAAOV,EAAImI,KAAKnI,EAAIsM,eAAgB,QAAS5L,EAAO,EAAE,WAAaV,EAAIiO,kBAAkB,MAAM,GAAGjO,EAAIM,GAAG,KAAKL,EAAG,qBAAqB,CAACO,MAAM,CAAC,cAAgBR,EAAIiF,cAAc,KAAOjF,EAAI2M,cAAc,iBAAmB3M,EAAIkF,kBAAkBzE,GAAG,CAAC,uBAAuB,SAASC,GAAQV,EAAIiF,cAAcvE,CAAM,EAAE,wBAAwB,SAASA,GAAQV,EAAIiF,cAAcvE,CAAM,EAAE,MAAQV,EAAIkO,mBAAmB,OAASlO,EAAIwH,UAAUxH,EAAIM,GAAG,KAAKL,EAAG,oBAAoB,CAACO,MAAM,CAAC,QAAUR,EAAIsL,iBAAiB,QAAUtL,EAAIuL,WAAW9K,GAAG,CAAC,iBAAiB,SAASC,GAAQV,EAAIsL,iBAAiB5K,CAAM,EAAE,gBAAgBV,EAAIkR,sBAAsBlR,EAAIM,GAAG,KAAKL,EAAG,YAAY,CAACO,MAAM,CAAC,eAAc,EAAM,QAAUR,EAAIkN,cAAc,OAAS,GAAG,MAAQ,QAAQ,IAAM,QAAQzM,GAAG,CAAC,iBAAiB,SAASC,GAAQV,EAAIkN,cAAcxM,CAAM,IAAI,CAACT,EAAG,SAAS,CAACoI,YAAY,CAAC,MAAQ,OAAO,OAAS,SAAS7H,MAAM,CAAC,IAAMR,EAAIiN,aAAa,YAAc,UAAU,EACz9E,GACsB,IEIpB,EACA,KACA,WACA,MAIa,UAAAlN,UAAiB,QAGhCyS,kBAAkBzS,UAAW,CAAC0S,YAAa,EAAQ,KAA6D5T,QAAQ6T,WAAY,EAAQ,KAA4D7T,QAAQ8T,iBAAkB,EAAQ,KAAkE9T,S","file":"25365a0.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar $RangeError = RangeError;\nvar $String = String;\nvar floor = Math.floor;\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar nativeToFixed = uncurryThis(1.0.toFixed);\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar multiply = function (data, n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\n\nvar divide = function (data, n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\n\nvar dataToString = function (data) {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = $String(data[index]);\n s = s === '' ? t : s + repeat('0', 7 - t.length) + t;\n }\n } return s;\n};\n\nvar FORCED = fails(function () {\n return nativeToFixed(0.00008, 3) !== '0.000' ||\n nativeToFixed(0.9, 0) !== '1' ||\n nativeToFixed(1.255, 2) !== '1.25' ||\n nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToFixed({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.es/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toIntegerOrInfinity(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (fractDigits < 0 || fractDigits > 20) throw new $RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number !== number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return $String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(data, 0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(data, 1e7, 0);\n j -= 7;\n }\n multiply(data, pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(data, 1 << 23);\n j -= 23;\n }\n divide(data, 1 << j);\n multiply(data, 1, 1);\n divide(data, 2);\n result = dataToString(data);\n } else {\n multiply(data, 0, z);\n multiply(data, 1 << -e, 0);\n result = dataToString(data) + repeat('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat('0', fractDigits - k) + result\n : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","/**\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","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!./Pagination.vue?vue&type=style&index=0&id=044ef958&prod&lang=scss&scoped=true\"","\nexport default {\n name: 'Pagination',\n props: {\n total: {\n required: true,\n type: Number\n },\n page: {\n type: Number,\n default: 0\n },\n limit: {\n type: Number,\n default: 10\n },\n // pageSizes: {\n // type: Array,\n // default() {\n // return [10, 20, 50, 100]\n // }\n // },\n layout: {\n type: String,\n default: 'prev, pager, next'\n },\n background: {\n type: Boolean,\n default: true\n },\n autoScroll: {\n type: Boolean,\n default: true\n },\n hidden: {\n type: Boolean,\n default: false\n }\n },\n computed: {\n currentPage: {\n get() {\n return this.page\n },\n set(val) {\n this.$emit('update:page', val)\n }\n },\n pageSize: {\n get() {\n return this.limit\n },\n set(val) {\n this.$emit('update:limit', val)\n }\n }\n },\n methods: {\n handleSizeChange(val) {\n this.$emit('pagination', { page: this.currentPage, limit: val })\n if (this.autoScroll) {\n scrollTo(0, 800)\n }\n },\n handleCurrentChange(val) {\n this.$emit('pagination', { page: val, limit: this.pageSize })\n if (this.autoScroll) {\n scrollTo(0, 800)\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!./Pagination.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!./Pagination.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Pagination.vue?vue&type=template&id=044ef958&scoped=true\"\nimport script from \"./Pagination.vue?vue&type=script&lang=js\"\nexport * from \"./Pagination.vue?vue&type=script&lang=js\"\nimport style0 from \"./Pagination.vue?vue&type=style&index=0&id=044ef958&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 \"044ef958\",\n null\n \n)\n\nexport default component.exports","'use strict';\nvar $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number;\n }\n});\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// 商品价格计算相关\nimport { times, plus, minus, divide } from 'number-precision'\n\n// 价格格式化\nexport function formatPrice(value, needSymbol = true) {\n // 不能在最后一步显示之前格式化999 111, 否则可能出现单价1买999个得到999价格被格式化成poa的情况\n if (value === 0) {\n return needSymbol ? '$0.00' : '0.00'\n } else {\n return needSymbol ? `$${value}` : `${value}`\n }\n}\n\n// 简单的乘法换算\nfunction multiply(value, ratio = 100) {\n return parseFloat((value * ratio).toPrecision(12))\n}\n// 小数处理, 四舍五入, 为toFixed做准备\nexport function round(number, ratio = 100) {\n return Math.round(multiply(number, ratio)) / ratio\n}\n\n/**\n * 将字符串简单转换成数字, 并可数倍转换. 注意, 这个适用于整数倍(商品件数), 非整数的不能用这个处理小数.\n * @param {*} value 目标值\n * @param {*} ratio 倍数, 默认1\n * @returns number | origin, 转换后的数字, 无法转成数字的返回原值\n */\nexport function transformNumber(value, ratio = 1) {\n const v = Number(value)\n if (Number.isNaN(v)) {\n return value\n } else {\n // 保留两位小数\n return divide(Math.trunc(times(times(v, ratio), 100)), 100)\n }\n}\n\n// unit 单个商品的, 没有乘数量. 因为含有111 999 这些极端值, 没有格式化输出之前直接乘回出问题的.\nexport const getUnit = function (buyNum, index, attributeList, basePriceList) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n\n let key = 'website_qty1'\n if (candidate.length) {\n key = candidate.pop()[0]\n }\n\n return transformNumber(basePriceList[index][key], buyNum)\n}\n\n// 打印和附加价格 的steup之和. 商品基础价格现在没有setup了.\nexport const getSetup = function (buyNum, form, additionList) {\n const sum = Object.entries(form).reduce((total, current) => {\n let s = 0\n // 打印服务表单的数据跟附加服务表单的数据结构不一致, 以数字id字符串键名的是打印服务的数据\n if (/\\d+/.test(current[0]) && current[1].enable) {\n const temp = current[1].colorForm.filter(\n i => i.id === current[1].printService\n )\n let colorNumber = 1\n if (temp.length) {\n colorNumber = temp[0].colorNumber\n }\n\n const decoration = current[1].decorationList.filter(\n i => i.id === current[1].printService\n )\n let setup = 0\n if (decoration.length) {\n setup = plus(\n Number(decoration[0].website_setup),\n times(Number(decoration[0].supplier_setup), colorNumber - 1)\n )\n }\n s = plus(s, setup)\n } else if (current[1].length) {\n // 附加服务的表单数据, 有值说明该项有选中了附加服务\n const addition = additionList[current[0]].filter(addition =>\n current[1].includes(addition.id)\n )\n\n if (addition.length) {\n const temp = addition.reduce((t, c) => {\n let value = Number(c.website_setup)\n if ([5, 6].includes(c.website_setup_id)) {\n // 5是poa, 6是waived. 这种情况一般setup是留空的, 不留空大概是异常数据, 重置0保险一点.\n value = 0\n }\n return plus(t, Number.isNaN(value) ? 0 : value)\n }, 0)\n\n s = plus(s, temp)\n }\n }\n\n total = plus(total, s)\n return total\n }, 0)\n return transformNumber(sum)\n}\n\n// 打印价格的 阶梯基础价*购买数量.\nexport const getPrint = function (buyNum, form, attributeList) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n const key = `website_qty${candidate.length}`\n const key2 = `supplier_qty${candidate.length}`\n\n // 如果其中一项为POA, 则‘和’都是POA\n const result = Object.entries(form).reduce((total, current) => {\n if (total === 'POA') {\n return total\n }\n let sum = 0\n if (/\\d+/.test(current[0]) && current[1].enable) {\n const temp = current[1].colorForm.filter(\n i => i.id === current[1].printService\n )\n let colorNumber = 1\n if (temp.length) {\n colorNumber = temp[0].colorNumber\n }\n\n const decoration = current[1].decorationList.filter(\n i => i.id === current[1].printService\n )\n // 打印价格的基础价. 其中数字111(代表'-') 和999(代表'POA')\n const p1 = transformNumber(decoration[0][key])\n if (p1 === 999 || p1 === 111 || typeof p1 !== 'number') {\n return 'POA'\n }\n // 打印价格的附加价\n const p2 = transformNumber(decoration[0][key2])\n if (p2 === 999 || p2 === 111 || typeof p2 !== 'number') {\n return 'POA'\n }\n let price = 0\n if (decoration.length) {\n price = plus(p1, times(p2, colorNumber - 1))\n }\n sum = plus(sum, price)\n }\n total = plus(total, sum)\n return total\n }, 0)\n\n return transformNumber(result, buyNum)\n}\n// 附加服务除了packing之外的总价\nexport const getAddon = function (buyNum, form, attributeList, additionList) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n const key = `website_qty${candidate.length}`\n const result = Object.entries(form).reduce((total, current) => {\n if (total === 'POA') {\n return total\n }\n\n let sum = 0\n if (!/\\d+/.test(current[0]) && current[0] !== 'packaging') {\n sum = additionList[current[0]]\n .filter(item => current[1].includes(item.id))\n .reduce((t, c) => {\n if (t === 'POA') {\n return t\n }\n let temp = transformNumber(c[key])\n if (temp === 999 || temp === 111 || typeof temp !== 'number') {\n temp = 0\n return 'POA'\n }\n t = plus(t, temp)\n return t\n }, 0)\n }\n return plus(total, sum)\n }, 0)\n\n return transformNumber(result, buyNum)\n}\n// 附加服务中 packing 的价格\nexport const getPackaging = function (\n buyNum,\n form,\n attributeList,\n additionList\n) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n const key = `website_qty${candidate.length}`\n const result = Object.entries(form).reduce((total, current) => {\n if (total === 'POA') {\n return total\n }\n\n let sum = 0\n if (!/\\d+/.test(current[0]) && current[0] === 'packaging') {\n sum = additionList[current[0]]\n .filter(item => current[1].includes(item.id))\n .reduce((t, c) => {\n if (t === 'POA') {\n return t\n }\n let temp = transformNumber(c[key])\n if (temp === 999 || temp === 111 || typeof temp !== 'number') {\n temp = 0\n return 'POA'\n }\n t = plus(t, temp)\n return t\n }, 0)\n }\n return plus(total, sum)\n }, 0)\n\n return transformNumber(result, buyNum)\n}\n\n// 运费计算. 从product页面抄过来的逻辑. +号是隐式类型转换\nexport const getFright = function (buyNum, config, freight, weight, ratio = 1) {\n // 单独批次数量的总重\n const totalWeight = Math.ceil(times(+weight.unit_w_local, buyNum))\n\n const expressFactor = plus(\n 1,\n divide(plus(+config.express_freight, +config.fuel), 100)\n )\n\n const AAEFactor = plus(\n 1,\n divide(plus(+config.bag_freight, +config.fuel), 100)\n )\n let frightCost = 0\n\n if (freight.type === 1) {\n if (totalWeight > 20) {\n const a1 = minus(totalWeight, 20)\n const a2 = times(a1, +freight.basic)\n const a3 = plus(+freight.pickup, a2)\n frightCost = times(a3, expressFactor)\n } else {\n frightCost = times(+freight.pickup, expressFactor)\n }\n } else if (freight.type === 2) {\n const a1 = times(totalWeight, +freight.basic)\n const a2 = plus(+freight.pickup, a1)\n frightCost = times(a2, AAEFactor)\n } else {\n frightCost = 0\n }\n return transformNumber(frightCost, ratio)\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar trunc = require('../internals/math-trunc');\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n$({ target: 'Math', stat: true }, {\n trunc: trunc\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!./addAddressDialog.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!./addAddressDialog.vue?vue&type=script&lang=js\"","\nexport default {\n props: {\n dialogVisible: {\n type: Boolean,\n default: false,\n },\n componentVisible: {\n type: Number,\n default: 2,\n },\n data: {\n type: Object,\n default: () => {\n return {\n country: \"Australia\",\n name: \"\",\n phone: \"\",\n address: \"\",\n post_code: \"\",\n city: \"\",\n state: \"\",\n is_default: null,\n };\n },\n },\n },\n data() {\n return {\n value: [],\n options: [],\n rules: {\n country: [\n {\n required: true,\n message: \"Please enter your country\",\n trigger: \"blur\",\n },\n ],\n name: [\n {\n required: true,\n message: \"Please enter your name\",\n trigger: \"blur\",\n },\n ],\n phone: [\n {\n required: true,\n message: \"Please enter your phone number\",\n trigger: \"blur\",\n },\n ],\n address: [\n {\n required: true,\n message: \"Please enter your address\",\n trigger: \"blur\",\n },\n ],\n post_code: [\n {\n required: true,\n message: \"Please enter post_code\",\n trigger: \"blur\",\n },\n ],\n city: [\n { required: true, message: \"Please enter city\", trigger: \"blur\" },\n ],\n state: [\n { required: true, message: \"Please enter state\", trigger: \"blur\" },\n ],\n },\n cityList: [\n { id: 1, name: \"Sydney\" },\n { id: 2, name: \"Adelaide Mail Centre\" },\n { id: 3, name: \"Melbourne\" },\n { id: 4, name: \"Eastern Suburbs Mc\" },\n { id: 5, name: \"Hobart\" },\n { id: 6, name: \"Perth\" },\n { id: 7, name: \"Launceston\" },\n { id: 8, name: \"Brisbane\" },\n { id: 9, name: \"Northern Suburbs Mc\" },\n { id: 10, name: \"Strawberry Hills\" },\n { id: 11, name: \"Springfield\" },\n { id: 12, name: \"Waterloo\" },\n { id: 13, name: \"Richmond\" },\n { id: 14, name: \"Haymarket\" },\n { id: 15, name: \"Red Hill\" },\n { id: 16, name: \"Brisbane GPO Boxes\" },\n { id: 17, name: \"Mayfield\" },\n { id: 18, name: \"Australia Square\" },\n { id: 19, name: \"Woodstock\" },\n { id: 20, name: \"Sydney South\" },\n { id: 21, name: \"The Gap\" },\n { id: 22, name: \"Kingston\" },\n { id: 23, name: \"Kensington\" },\n { id: 24, name: \"Darlington\" },\n ],\n stateList: [\n { id: 1, name: \"Australian Capital Territory\" },\n { id: 2, name: \"New South Wales\" },\n { id: 3, name: \"Northern Territory\" },\n { id: 4, name: \"Queensland\" },\n { id: 5, name: \"South Australia\" },\n { id: 6, name: \"Tasmania\" },\n { id: 7, name: \"Victoria\" },\n { id: 8, name: \"Western Australia\" },\n ],\n\n };\n },\n computed: {\n dialogFormVisible: {\n get: function () {\n return this.dialogVisible;\n },\n set: function (val) {\n this.$emit(\"update:dialogVisible\", val);\n },\n },\n },\n methods: {\n submit(ruleForm) {\n this.$refs[ruleForm].validate((valid) => {\n if (valid) {\n if (this.componentVisible == 2) {\n this.addAddress();\n if (this.$route.fullPath.includes('product-builder')) return\n this.$router.push({path:'/home/myDetail',query:{type:\"third\"}})\n } else if (this.componentVisible == 3) {\n this.editAddress();\n this.$router.push({path:'/home/myDetail',query:{type:\"third\"}})\n }\n } else {\n console.log(\"error submit!!\");\n return false;\n }\n });\n },\n addAddress() {\n this.$axios\n .post(\"/address/add\", this.data)\n .then((res) => {\n if (res.code === 1) {\n this.$notify({\n title: \"success\",\n message: \"Submitted successfully\",\n type: \"success\",\n duration: 3000,\n });\n this.dialogFormVisible = false;\n this.update();\n }\n })\n .catch((error) => {\n this.$message.error(error.response.data.msg);\n });\n },\n editAddress() {\n this.$axios\n .post(\"/address/edit\", this.data)\n .then((res) => {\n if (res.code === 1) {\n this.$notify({\n title: \"success\",\n message: \"Submitted successfully\",\n type: \"success\",\n duration: 3000,\n });\n this.dialogFormVisible = false;\n this.update();\n }\n })\n .catch((error) => {\n this.$message.error(error.response.data.msg);\n });\n },\n update() {\n this.$emit(\"update\", true);\n },\n },\n};\n","import { render, staticRenderFns } from \"./addAddressDialog.vue?vue&type=template&id=443741dd&scoped=true\"\nimport script from \"./addAddressDialog.vue?vue&type=script&lang=js\"\nexport * from \"./addAddressDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./addAddressDialog.vue?vue&type=style&index=0&id=443741dd&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 \"443741dd\",\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!./addAddressDialog.vue?vue&type=style&index=0&id=443741dd&prod&lang=scss&scoped=true\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.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!./ImageUpload.vue?vue&type=style&index=0&id=049aaa02&prod&lang=scss&scoped=true\"","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!./ImageUpload.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!./ImageUpload.vue?vue&type=script&lang=js\"","\nimport draggable from 'vuedraggable'\n// import { common } from '@/api'\n\nexport default {\n name: 'ImageUpload',\n components: {\n draggable,\n },\n props: {\n list: {\n type: Array,\n default: () => [],\n },\n max: {\n type: Number,\n default: 16,\n },\n disablePreview: {\n type: Boolean,\n default: false,\n },\n width: {\n type: String,\n default: '150px',\n },\n height: {\n type: String,\n default: '150px',\n },\n },\n data() {\n return {\n // 组件内部数据.\n imageList: [],\n loading: false,\n uploadPercent: 0,\n imageDialogVisible: false,\n // 预览大图的url, 每次点击都会更新\n imageUrl: '',\n }\n },\n computed: {\n fulled() {\n return 0\n },\n },\n watch: {\n list() {\n this.imageList = JSON.parse(JSON.stringify(this.list))\n },\n },\n mounted(){\n this.updateList()\n },\n methods: {\n handleUpload(file, fileList) {\n this.fileList = []\n\n if (file.status === 'ready') {\n this.loading = true\n const interval = setInterval(() => {\n if (this.uploadPercent >= 99) {\n clearInterval(interval)\n return\n }\n this.uploadPercent += 1 // 进度条进度\n }, 100)\n }\n\n const formData = new FormData()\n fileList.forEach((file) => {\n formData.append('file', file.raw)\n })\n formData.append('type', 1)\n this.$axios\n .post(`/user_base/imagesUpload`,formData)\n .then((response) => {\n if (response.result.code === 200) {\n this.imageList.push({\n url: response.result.data,\n uid: file.uid,\n })\n\n this.updateList()\n return\n }\n this.$message({\n message: response.result.message,\n type: 'warning',\n })\n })\n .catch((error) => {\n console.log(error, 'component upload image error')\n this.$message.error(error.response.data.msg)\n })\n .finally(() => {\n this.loading = false\n // 进度条恢复到初始状态\n this.uploadPercent = 0\n })\n },\n handleRemove(index) {\n this.imageList.splice(index, 1)\n this.updateList()\n },\n handlePictureCardPreview(file) {\n this.imageUrl = file.url\n this.imageDialogVisible = true\n },\n // 每次更新imageList后手动更新父组件的数据, 不能用watch自动更新, 因为同时要watch prop值更新iamgeList, 同时watch会死循环.\n // 直接把prop数据绑定到dragable 和 el-upload的话vue和eslint会报错, 也可能造成调试困难\n updateList() {\n this.$emit('update:list', JSON.parse(JSON.stringify(this.imageList)))\n },\n end() {\n this.updateList()\n },\n },\n}\n","import { render, staticRenderFns } from \"./ImageUpload.vue?vue&type=template&id=049aaa02&scoped=true\"\nimport script from \"./ImageUpload.vue?vue&type=script&lang=js\"\nexport * from \"./ImageUpload.vue?vue&type=script&lang=js\"\nimport style0 from \"./ImageUpload.vue?vue&type=style&index=0&id=049aaa02&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 \"049aaa02\",\n null\n \n)\n\nexport default component.exports","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABNCAYAAADjCemwAAAAAXNSR0IArs4c6QAAAhVJREFUeF7t3EtKA0EYxPH6FHXjCQQhg2cQ8XEM3SuufSCoZzABEV2L7vUYPhCvoExA8ARufLZMRFBM1FQITMI/20z19PxSmUmg6VC5XqHK3KqUViRVJNWlOFD9bF9SKstUoywTacwjm65KA5s/5/RWU365VZa5lgdtbHJcw8O5QoM/cJJe9fSU6f76rgxw5UHLZualOGmNkhaUX5yC9lWgMrOoiKOWKCktqX5xDBpoHXaAphmAoIFmCBgRmgaaIWBEaBpohoARoWmgGQJGhKaBZggYEZoGmiFgRGgaaIaAEaFpoBkCRoSmgWYIGBGaBpohYERoGmiGgBGhaaAZAkaEpoFmCBiRnmxasT5sZGhKSaPGJXceiZiTtPzLQIdK6azzExkjhB70+Hz1uT6uWJ8WyqZ3lAY2mi6oM87Rl5FiYWFoV/n5drHGdU2R9vryQrtxUSnWQ5XZG4UmujF+X46ZdFugvfC1bOPjTXqlaW14NQ79aBr3tLbcGvc0np7/M/v29PyM8DutNV6T32n/k+72UT35j6DbKH+ND9pfQk3eBw00Q8CI0DTQDAEjQtNAMwSMCE0DzRAwIjQNNEPAiNA00AwBI0LTQDMEjAhNA80QMCI0DTRDwIjQNNAMASNC00AzBIwITQPNEDAiNA00Q8CI0DTQDAEjwu6jBhr73BpoRSSbrUpqsqOyasrP2VG5BWtP7N39DnF70LrahZYoAAAAAElFTkSuQmCC\"","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=b5122ea0&prod&lang=scss\"","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=1&id=b5122ea0&prod&lang=scss&scoped=true\"","\nimport { mapMutations } from 'vuex'\nimport addAddressDialog from '../../../components/addAddressDialog.vue'\nimport dialogXXSuccess from '@/components/DIalogXXSuccess.vue'\nimport imageUpload from '@/components/ImageUpload'\nimport { round } from '@/utils/price.js'\n\nexport default {\n components: { addAddressDialog, 'dialog-XX-success': dialogXXSuccess,imageUpload },\n data() {\n return {\n xxContentVisible: false,\n xxContent: 'success',\n componentVisible: 1, // 2:add 3:edit 4:audit\n tabName: '',\n tableLoading: true,\n // 表单配置项\n profileform: {},\n rules: {\n email: [\n {\n required: true,\n message: 'Please enter the email',\n trigger: 'blur',\n },\n ],\n company: [\n {\n required: true,\n message: 'Please enter the company',\n trigger: 'blur',\n },\n ],\n contacts: [\n {\n required: true,\n message: 'Please enter first name',\n trigger: 'blur',\n },\n ],\n last_name: [\n {\n required: true,\n message: 'Please enter last name',\n trigger: 'blur',\n },\n ],\n phone: [\n {\n required: true,\n message: 'Please enter the phone',\n trigger: 'blur',\n },\n ],\n password: [\n {\n required: true,\n message: 'Please enter the password',\n trigger: 'blur',\n },\n ],\n confirm_password: [\n {\n required: true,\n message: 'Please enter the confirm_password',\n trigger: 'blur',\n },\n ],\n },\n accountPasswordForm: {\n password: '',\n confirm_password: '',\n },\n orderKeyword: '',\n selword: '',\n accounts_id: '',\n orderTotal: 0,\n orderListQuery: {\n page: 1,\n limit: 20,\n },\n tableData: [],\n dialogVisible: false,\n addressTotal: 0,\n addressListQuery: {\n page: 1,\n limit: 8,\n },\n addressList: [],\n addressDetail: {},\n enquiryKeyword: '',\n enquiryList: [],\n enquiryListQuery: {\n page: 1,\n limit: 20,\n },\n enquiryTotal: 0,\n orderSelList:[],\n Tracking_URL: '',\n urlDialogShow: false,\n }\n },\n computed: {\n activeMenu() {\n return this.$route.query.type ?? 'profile';\n },\n selShow(){\n return this.activeMenu === 'all-orders' || this.activeMenu === 'open-orders'\n }\n },\n watch: {\n $route: {\n handler(to) {\n if (process.client) {\n if (this.$utils.checkLogin()) {\n this.updateType()\n }\n }\n },\n },\n orderKeyword() {\n this.orderListQuery.page = 1;\n },\n enquiryKeyword() {\n this.enquiryListQuery.page = 1;\n }\n },\n mounted() {\n if (this.$utils.checkLogin()) {\n this.getMemberDetail()\n this.updateType()\n } else {\n this.$router.replace('/')\n }\n },\n methods: {\n transformNumber(value) {\n return round(Number(value)).toFixed(2)\n },\n handleClick(key, keyPath) {\n if (key) {\n this.$router.push({\n path: '/home/myDetail',\n query: { type: key },\n })\n }\n },\n updateType() {\n if (this.activeMenu === 'profile') {\n this.tabName = 'My Profile'\n } else if (this.activeMenu === 'enquiry') {\n this.tabName = 'My Enquiry'\n this.getEnquiryList()\n } else if (this.activeMenu === 'address') {\n this.tabName = 'My Address'\n this.getAddressList()\n } else {\n this.selword = ''\n if(this.activeMenu === 'all-orders'){\n this.orderSelList= ['Order Confirmed','In Production','In Transit','Order Completed']\n }\n if(this.activeMenu === 'open-orders'){\n this.orderSelList = ['Order Confirmed','In Production','In Transit']\n }\n this.tabName = 'My Orders'\n this.getOrdersList()\n }\n },\n closeAddressDialog() {\n this.dialogVisible = false\n },\n // 获取用户信息\n getMemberDetail() {\n this.$axios\n .get('/au/member/detail')\n .then(res => {\n if (res.code === 1) {\n this.profileform = res.result\n this.profileform.logo = this.profileform.logo?this.formatLogo(this.profileform.logo):[];\n }\n })\n .catch(() => {})\n },\n formatLogo(params){\n return [{ 'url': params }];\n },\n onSave(form) {\n if (\n this.accountPasswordForm.confirm_password !==\n this.accountPasswordForm.password\n ) {\n this.$message.error('The second password is inconsistent!')\n return\n }\n this.$refs[form].validate(valid => {\n if (valid) {\n const requestBody = {\n email: this.profileform.email,\n company: this.profileform.company,\n contacts: this.profileform.contacts,\n last_name: this.profileform.last_name,\n phone: this.profileform.phone,\n logo: this.profileform.logo[0]?.url ?? '',\n };\n let needLogout = false\n if (this.accountPasswordForm.password.trim() !== '') {\n requestBody.password = this.accountPasswordForm.password;\n requestBody.confirm_password = this.accountPasswordForm.confirm_password;\n needLogout = true\n }\n this.$axios\n .post('/au/member/edit', requestBody)\n .then(res => {\n if (res.code === 1) {\n this.$notify({\n customClass: 'custom-notify-class',\n title: 'success',\n message: 'The profile information is modified successfully',\n type: 'success',\n })\n if(needLogout){\n setTimeout(() => {\n this.$store.dispatch('logout').then(() => {\n this.$router.push('/')\n })\n }, 500)\n }\n }\n })\n .catch(() => {})\n } else {\n console.log('error submit!!')\n return false\n }\n })\n },\n // 获取订单列表\n getOrdersList() {\n const accounts_id = this.accounts_id ? this.accounts_id : this.$store.state.userInfo?.memberCrmcomList.map((i)=>i.id).join()\n const type = this.activeMenu === 'all-orders'?'':this.activeMenu === 'open-orders'? 'Open Orders':'Closed Orders'\n this.tableLoading = true\n this.$axios\n .post('/crmdata/order_lists', {\n keyword: this.orderKeyword,\n page: this.orderListQuery.page,\n limit: this.orderListQuery.limit,\n accounts_id,\n Order_Stage: this.selword,\n type\n })\n .then(res => {\n if (res.code === 1) {\n this.tableData = res.result.data\n this.orderTotal = res.result.total\n this.tableLoading = false\n }\n if (process.client) {\n this.$nextTick(() => {\n window.scroll(0, 0)\n })\n }\n })\n .catch(() => {})\n },\n goOrderDetail(row) {\n const routeUrl = this.$router.resolve({\n path: '/home/myDetail/orderDetail',\n query: { id: row.sales_orders_id,crm: row.Account_Name_id },\n })\n window.open(routeUrl.href, '_blank')\n },\n getEnquiryList() {\n this.tableLoading = true\n this.$axios\n .post('/crmdata/enquiries_lists', {\n keyword: this.enquiryKeyword,\n page: this.enquiryListQuery.page,\n limit: this.enquiryListQuery.limit,\n accounts_id: this.$store.state.userInfo?.crm_accounts_id || '',\n })\n .then(res => {\n if (res.code === 1) {\n this.enquiryList = res.result.data\n this.enquiryTotal = res.result.total\n this.tableLoading = false\n }\n if (process.client) {\n this.$nextTick(() => {\n window.scroll(0, 0)\n })\n }\n })\n },\n goEnquiryDetail(row) {\n const routeUrl = this.$router.resolve({\n path: '/home/myDetail/enquiryDetail',\n query: { id: row.enquiries_id },\n })\n window.open(routeUrl.href, '_blank')\n },\n // 获取地址列表\n getAddressList() {\n this.$axios\n .get('address/list', {\n params: {\n page: this.addressListQuery.page,\n limit: this.addressListQuery.limit,\n },\n })\n .then(res => {\n if (res.code === 1) {\n this.addressList = res.result.data\n this.addressTotal = res.result.total\n }\n if (process.client) {\n this.$nextTick(() => {\n window.scroll(0, 0)\n })\n }\n })\n .catch(() => {})\n },\n addAddress(num) {\n this.addressDetail = {}\n this.componentVisible = num\n this.dialogVisible = true\n },\n editAddress(num, id) {\n this.$axios\n .get('address/detail/' + id)\n .then(res => {\n this.addressDetail = res.result\n this.addressDetail.is_default = res.result.is_default === 1\n this.componentVisible = num\n this.dialogVisible = true\n })\n .catch(() => {})\n },\n delAddress(id) {\n this.$axios.get('address/delete/' + id).then(res => {\n this.$notify({\n title: 'success',\n message: 'Deleted successfully',\n type: 'success',\n duration: 3000,\n })\n this.getAddressList()\n })\n // .catch((error) => {});\n },\n setDefault(id) {\n this.$axios.get('address/set_default/' + id).then(res => {\n this.$notify({\n title: 'success',\n message: 'Default address is set successfully',\n type: 'success',\n duration: 3000,\n })\n this.getAddressList()\n })\n // .catch((error) => {});\n },\n update() {\n this.getAddressList()\n },\n resetPassword() {\n if (\n this.accountPasswordForm.confirm_password !==\n this.accountPasswordForm.password\n ) {\n this.$message.error('The second password is inconsistent!')\n } else {\n this.$axios({\n url: 'au/member/reset',\n method: 'POST',\n data: this.accountPasswordForm,\n })\n .then(res => {\n if (res.code === 1) {\n this.xxContentVisible = true\n this.xxContent = 'Password Reset Successful'\n }\n })\n .catch(() => {\n // this.$message.error(error.response.data.msg);\n })\n }\n },\n openTracking_URL(url){\n this.Tracking_URL= url\n this.urlDialogShow= true\n },\n handleNotification() {\n this.$router.push('/')\n this.$store.dispatch('logout')\n this.openDialog()\n },\n ...mapMutations(['openDialog']),\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=b5122ea0&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=b5122ea0&prod&lang=scss\"\nimport style1 from \"./index.vue?vue&type=style&index=1&id=b5122ea0&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 \"b5122ea0\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {ImageUpload: require('/Users/wu67/Projects/shop_site/components/ImageUpload.vue').default,Pagination: require('/Users/wu67/Projects/shop_site/components/Pagination.vue').default,AddAddressDialog: require('/Users/wu67/Projects/shop_site/components/addAddressDialog.vue').default})\n"],"sourceRoot":""}
|