12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158 |
- exports.ids = [62,12,14,59];
- exports.modules = {
- /***/ 147:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return on; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return off; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return once; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return hasClass; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addClass; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return removeClass; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getStyle; });
- /* unused harmony export setStyle */
- /* unused harmony export isScroll */
- /* unused harmony export getScrollContainer */
- /* unused harmony export isInContainer */
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
- /* istanbul ignore next */
- const isServer = vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer;
- const SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g;
- const MOZ_HACK_REGEXP = /^moz([A-Z])/;
- const ieVersion = isServer ? 0 : Number(document.documentMode);
- /* istanbul ignore next */
- const trim = function(string) {
- return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
- };
- /* istanbul ignore next */
- const camelCase = function(name) {
- return name.replace(SPECIAL_CHARS_REGEXP, function(_, separator, letter, offset) {
- return offset ? letter.toUpperCase() : letter;
- }).replace(MOZ_HACK_REGEXP, 'Moz$1');
- };
- /* istanbul ignore next */
- const on = (function() {
- if (!isServer && document.addEventListener) {
- return function(element, event, handler) {
- if (element && event && handler) {
- element.addEventListener(event, handler, false);
- }
- };
- } else {
- return function(element, event, handler) {
- if (element && event && handler) {
- element.attachEvent('on' + event, handler);
- }
- };
- }
- })();
- /* istanbul ignore next */
- const off = (function() {
- if (!isServer && document.removeEventListener) {
- return function(element, event, handler) {
- if (element && event) {
- element.removeEventListener(event, handler, false);
- }
- };
- } else {
- return function(element, event, handler) {
- if (element && event) {
- element.detachEvent('on' + event, handler);
- }
- };
- }
- })();
- /* istanbul ignore next */
- const once = function(el, event, fn) {
- var listener = function() {
- if (fn) {
- fn.apply(this, arguments);
- }
- off(el, event, listener);
- };
- on(el, event, listener);
- };
- /* istanbul ignore next */
- function hasClass(el, cls) {
- if (!el || !cls) return false;
- if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');
- if (el.classList) {
- return el.classList.contains(cls);
- } else {
- return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;
- }
- };
- /* istanbul ignore next */
- function addClass(el, cls) {
- if (!el) return;
- var curClass = el.className;
- var classes = (cls || '').split(' ');
- for (var i = 0, j = classes.length; i < j; i++) {
- var clsName = classes[i];
- if (!clsName) continue;
- if (el.classList) {
- el.classList.add(clsName);
- } else if (!hasClass(el, clsName)) {
- curClass += ' ' + clsName;
- }
- }
- if (!el.classList) {
- el.setAttribute('class', curClass);
- }
- };
- /* istanbul ignore next */
- function removeClass(el, cls) {
- if (!el || !cls) return;
- var classes = cls.split(' ');
- var curClass = ' ' + el.className + ' ';
- for (var i = 0, j = classes.length; i < j; i++) {
- var clsName = classes[i];
- if (!clsName) continue;
- if (el.classList) {
- el.classList.remove(clsName);
- } else if (hasClass(el, clsName)) {
- curClass = curClass.replace(' ' + clsName + ' ', ' ');
- }
- }
- if (!el.classList) {
- el.setAttribute('class', trim(curClass));
- }
- };
- /* istanbul ignore next */
- const getStyle = ieVersion < 9 ? function(element, styleName) {
- if (isServer) return;
- if (!element || !styleName) return null;
- styleName = camelCase(styleName);
- if (styleName === 'float') {
- styleName = 'styleFloat';
- }
- try {
- switch (styleName) {
- case 'opacity':
- try {
- return element.filters.item('alpha').opacity / 100;
- } catch (e) {
- return 1.0;
- }
- default:
- return (element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null);
- }
- } catch (e) {
- return element.style[styleName];
- }
- } : function(element, styleName) {
- if (isServer) return;
- if (!element || !styleName) return null;
- styleName = camelCase(styleName);
- if (styleName === 'float') {
- styleName = 'cssFloat';
- }
- try {
- var computed = document.defaultView.getComputedStyle(element, '');
- return element.style[styleName] || computed ? computed[styleName] : null;
- } catch (e) {
- return element.style[styleName];
- }
- };
- /* istanbul ignore next */
- function setStyle(element, styleName, value) {
- if (!element || !styleName) return;
- if (typeof styleName === 'object') {
- for (var prop in styleName) {
- if (styleName.hasOwnProperty(prop)) {
- setStyle(element, prop, styleName[prop]);
- }
- }
- } else {
- styleName = camelCase(styleName);
- if (styleName === 'opacity' && ieVersion < 9) {
- element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')';
- } else {
- element.style[styleName] = value;
- }
- }
- };
- const isScroll = (el, vertical) => {
- if (isServer) return;
- const determinedDirection = vertical !== null && vertical !== undefined;
- const overflow = determinedDirection
- ? vertical
- ? getStyle(el, 'overflow-y')
- : getStyle(el, 'overflow-x')
- : getStyle(el, 'overflow');
- return overflow.match(/(scroll|auto|overlay)/);
- };
- const getScrollContainer = (el, vertical) => {
- if (isServer) return;
- let parent = el;
- while (parent) {
- if ([window, document, document.documentElement].includes(parent)) {
- return window;
- }
- if (isScroll(parent, vertical)) {
- return parent;
- }
- parent = parent.parentNode;
- }
- return parent;
- };
- const isInContainer = (el, container) => {
- if (isServer || !el || !container) return false;
- const elRect = el.getBoundingClientRect();
- let containerRect;
- if ([window, document, document.documentElement, null, undefined].includes(container)) {
- containerRect = {
- top: 0,
- right: window.innerWidth,
- bottom: window.innerHeight,
- left: 0
- };
- } else {
- containerRect = container.getBoundingClientRect();
- }
- return elRect.top < containerRect.bottom &&
- elRect.bottom > containerRect.top &&
- elRect.right > containerRect.left &&
- elRect.left < containerRect.right;
- };
- /***/ }),
- /***/ 148:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // EXPORTS
- __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ isFirefox; });
- __webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ kebabCase; });
- __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ rafThrottle; });
- __webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ isMac; });
- // UNUSED EXPORTS: noop, hasOwn, toObject, getValueByPath, getPropByPath, generateId, valueEquals, escapeRegexpString, arrayFindIndex, arrayFind, coerceTruthyValueToArray, isIE, isEdge, autoprefixer, capitalize, looseEqual, arrayEquals, isEqual, isEmpty, objToArray
- // EXTERNAL MODULE: external "vue"
- var external_vue_ = __webpack_require__(0);
- var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
- // CONCATENATED MODULE: ./node_modules/element-ui/src/utils/types.js
- function isString(obj) {
- return Object.prototype.toString.call(obj) === '[object String]';
- }
- function isObject(obj) {
- return Object.prototype.toString.call(obj) === '[object Object]';
- }
- function isHtmlElement(node) {
- return node && node.nodeType === Node.ELEMENT_NODE;
- }
- /**
- * - Inspired:
- * https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js
- */
- let isFunction = (functionToCheck) => {
- var getType = {};
- return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
- };
- if ( true && typeof Int8Array !== 'object' && (external_vue_default.a.prototype.$isServer || typeof document.childNodes !== 'function')) {
- isFunction = function(obj) {
- return typeof obj === 'function' || false;
- };
- }
- const isUndefined = (val)=> {
- return val === void 0;
- };
- const isDefined = (val) => {
- return val !== undefined && val !== null;
- };
- // CONCATENATED MODULE: ./node_modules/element-ui/src/utils/util.js
- const util_hasOwnProperty = Object.prototype.hasOwnProperty;
- function noop() {};
- function hasOwn(obj, key) {
- return util_hasOwnProperty.call(obj, key);
- };
- function extend(to, _from) {
- for (let key in _from) {
- to[key] = _from[key];
- }
- return to;
- };
- function toObject(arr) {
- var res = {};
- for (let i = 0; i < arr.length; i++) {
- if (arr[i]) {
- extend(res, arr[i]);
- }
- }
- return res;
- };
- const getValueByPath = function(object, prop) {
- prop = prop || '';
- const paths = prop.split('.');
- let current = object;
- let result = null;
- for (let i = 0, j = paths.length; i < j; i++) {
- const path = paths[i];
- if (!current) break;
- if (i === j - 1) {
- result = current[path];
- break;
- }
- current = current[path];
- }
- return result;
- };
- function getPropByPath(obj, path, strict) {
- let tempObj = obj;
- path = path.replace(/\[(\w+)\]/g, '.$1');
- path = path.replace(/^\./, '');
- let keyArr = path.split('.');
- let i = 0;
- for (let len = keyArr.length; i < len - 1; ++i) {
- if (!tempObj && !strict) break;
- let key = keyArr[i];
- if (key in tempObj) {
- tempObj = tempObj[key];
- } else {
- if (strict) {
- throw new Error('please transfer a valid prop path to form item!');
- }
- break;
- }
- }
- return {
- o: tempObj,
- k: keyArr[i],
- v: tempObj ? tempObj[keyArr[i]] : null
- };
- };
- const generateId = function() {
- return Math.floor(Math.random() * 10000);
- };
- const valueEquals = (a, b) => {
- // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
- if (a === b) return true;
- if (!(a instanceof Array)) return false;
- if (!(b instanceof Array)) return false;
- if (a.length !== b.length) return false;
- for (let i = 0; i !== a.length; ++i) {
- if (a[i] !== b[i]) return false;
- }
- return true;
- };
- const escapeRegexpString = (value = '') => String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
- // TODO: use native Array.find, Array.findIndex when IE support is dropped
- const arrayFindIndex = function(arr, pred) {
- for (let i = 0; i !== arr.length; ++i) {
- if (pred(arr[i])) {
- return i;
- }
- }
- return -1;
- };
- const arrayFind = function(arr, pred) {
- const idx = arrayFindIndex(arr, pred);
- return idx !== -1 ? arr[idx] : undefined;
- };
- // coerce truthy value to array
- const coerceTruthyValueToArray = function(val) {
- if (Array.isArray(val)) {
- return val;
- } else if (val) {
- return [val];
- } else {
- return [];
- }
- };
- const isIE = function() {
- return !external_vue_default.a.prototype.$isServer && !isNaN(Number(document.documentMode));
- };
- const isEdge = function() {
- return !external_vue_default.a.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
- };
- const isFirefox = function() {
- return !external_vue_default.a.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
- };
- const autoprefixer = function(style) {
- if (typeof style !== 'object') return style;
- const rules = ['transform', 'transition', 'animation'];
- const prefixes = ['ms-', 'webkit-'];
- rules.forEach(rule => {
- const value = style[rule];
- if (rule && value) {
- prefixes.forEach(prefix => {
- style[prefix + rule] = value;
- });
- }
- });
- return style;
- };
- const kebabCase = function(str) {
- const hyphenateRE = /([^-])([A-Z])/g;
- return str
- .replace(hyphenateRE, '$1-$2')
- .replace(hyphenateRE, '$1-$2')
- .toLowerCase();
- };
- const capitalize = function(str) {
- if (!isString(str)) return str;
- return str.charAt(0).toUpperCase() + str.slice(1);
- };
- const looseEqual = function(a, b) {
- const isObjectA = isObject(a);
- const isObjectB = isObject(b);
- if (isObjectA && isObjectB) {
- return JSON.stringify(a) === JSON.stringify(b);
- } else if (!isObjectA && !isObjectB) {
- return String(a) === String(b);
- } else {
- return false;
- }
- };
- const arrayEquals = function(arrayA, arrayB) {
- arrayA = arrayA || [];
- arrayB = arrayB || [];
- if (arrayA.length !== arrayB.length) {
- return false;
- }
- for (let i = 0; i < arrayA.length; i++) {
- if (!looseEqual(arrayA[i], arrayB[i])) {
- return false;
- }
- }
- return true;
- };
- const isEqual = function(value1, value2) {
- if (Array.isArray(value1) && Array.isArray(value2)) {
- return arrayEquals(value1, value2);
- }
- return looseEqual(value1, value2);
- };
- const isEmpty = function(val) {
- // null or undefined
- if (val == null) return true;
- if (typeof val === 'boolean') return false;
- if (typeof val === 'number') return !val;
- if (val instanceof Error) return val.message === '';
- switch (Object.prototype.toString.call(val)) {
- // String or Array
- case '[object String]':
- case '[object Array]':
- return !val.length;
- // Map or Set or File
- case '[object File]':
- case '[object Map]':
- case '[object Set]': {
- return !val.size;
- }
- // Plain Object
- case '[object Object]': {
- return !Object.keys(val).length;
- }
- }
- return false;
- };
- function rafThrottle(fn) {
- let locked = false;
- return function(...args) {
- if (locked) return;
- locked = true;
- window.requestAnimationFrame(_ => {
- fn.apply(this, args);
- locked = false;
- });
- };
- }
- function objToArray(obj) {
- if (Array.isArray(obj)) {
- return obj;
- }
- return isEmpty(obj) ? [] : [obj];
- }
- const isMac = function() {
- return !external_vue_default.a.prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent);
- };
- /***/ }),
- /***/ 149:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony default export */ __webpack_exports__["a"] = (function(target) {
- for (let i = 1, j = arguments.length; i < j; i++) {
- let source = arguments[i] || {};
- for (let prop in source) {
- if (source.hasOwnProperty(prop)) {
- let value = source[prop];
- if (value !== undefined) {
- target[prop] = value;
- }
- }
- }
- }
- return target;
- });;
- /***/ }),
- /***/ 157:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/element-ui/packages/image/src/image-viewer.vue?vue&type=template&id=44a7b0fb
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('transition', {
- attrs: {
- "name": "viewer-fade"
- }
- }, [_c('div', {
- ref: "el-image-viewer__wrapper",
- staticClass: "el-image-viewer__wrapper",
- style: {
- 'z-index': _vm.viewerZIndex
- },
- attrs: {
- "tabindex": "-1"
- }
- }, [_c('div', {
- staticClass: "el-image-viewer__mask",
- on: {
- "click": function ($event) {
- if ($event.target !== $event.currentTarget) return null;
- return _vm.handleMaskClick.apply(null, arguments);
- }
- }
- }), _vm._v(" "), _c('span', {
- staticClass: "el-image-viewer__btn el-image-viewer__close",
- on: {
- "click": _vm.hide
- }
- }, [_c('i', {
- staticClass: "el-icon-close"
- })]), _vm._v(" "), !_vm.isSingle ? [_c('span', {
- staticClass: "el-image-viewer__btn el-image-viewer__prev",
- class: {
- 'is-disabled': !_vm.infinite && _vm.isFirst
- },
- on: {
- "click": _vm.prev
- }
- }, [_c('i', {
- staticClass: "el-icon-arrow-left"
- })]), _vm._v(" "), _c('span', {
- staticClass: "el-image-viewer__btn el-image-viewer__next",
- class: {
- 'is-disabled': !_vm.infinite && _vm.isLast
- },
- on: {
- "click": _vm.next
- }
- }, [_c('i', {
- staticClass: "el-icon-arrow-right"
- })])] : _vm._e(), _vm._v(" "), _c('div', {
- staticClass: "el-image-viewer__btn el-image-viewer__actions"
- }, [_c('div', {
- staticClass: "el-image-viewer__actions__inner"
- }, [_c('i', {
- staticClass: "el-icon-zoom-out",
- on: {
- "click": function ($event) {
- return _vm.handleActions('zoomOut');
- }
- }
- }), _vm._v(" "), _c('i', {
- staticClass: "el-icon-zoom-in",
- on: {
- "click": function ($event) {
- return _vm.handleActions('zoomIn');
- }
- }
- }), _vm._v(" "), _c('i', {
- staticClass: "el-image-viewer__actions__divider"
- }), _vm._v(" "), _c('i', {
- class: _vm.mode.icon,
- on: {
- "click": _vm.toggleMode
- }
- }), _vm._v(" "), _c('i', {
- staticClass: "el-image-viewer__actions__divider"
- }), _vm._v(" "), _c('i', {
- staticClass: "el-icon-refresh-left",
- on: {
- "click": function ($event) {
- return _vm.handleActions('anticlocelise');
- }
- }
- }), _vm._v(" "), _c('i', {
- staticClass: "el-icon-refresh-right",
- on: {
- "click": function ($event) {
- return _vm.handleActions('clocelise');
- }
- }
- })])]), _vm._v(" "), _c('div', {
- staticClass: "el-image-viewer__canvas"
- }, _vm._l(_vm.urlList, function (url, i) {
- return i === _vm.index ? _c('img', {
- key: url,
- ref: "img",
- refInFor: true,
- staticClass: "el-image-viewer__img",
- style: _vm.imgStyle,
- attrs: {
- "src": _vm.currentImg
- },
- on: {
- "load": _vm.handleImgLoad,
- "error": _vm.handleImgError,
- "mousedown": _vm.handleMouseDown
- }
- }) : _vm._e();
- }), 0)], 2)]);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./node_modules/element-ui/packages/image/src/image-viewer.vue?vue&type=template&id=44a7b0fb
- // EXTERNAL MODULE: ./node_modules/element-ui/src/utils/dom.js
- var utils_dom = __webpack_require__(147);
- // EXTERNAL MODULE: ./node_modules/element-ui/src/utils/util.js + 1 modules
- var util = __webpack_require__(148);
- // EXTERNAL MODULE: external "vue"
- var external_vue_ = __webpack_require__(0);
- var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
- // EXTERNAL MODULE: ./node_modules/element-ui/src/utils/merge.js
- var merge = __webpack_require__(149);
- // CONCATENATED MODULE: ./node_modules/element-ui/src/utils/popup/popup-manager.js
- let hasModal = false;
- let hasInitZIndex = false;
- let popup_manager_zIndex;
- const getModal = function() {
- if (external_vue_default.a.prototype.$isServer) return;
- let modalDom = PopupManager.modalDom;
- if (modalDom) {
- hasModal = true;
- } else {
- hasModal = false;
- modalDom = document.createElement('div');
- PopupManager.modalDom = modalDom;
- modalDom.addEventListener('touchmove', function(event) {
- event.preventDefault();
- event.stopPropagation();
- });
- modalDom.addEventListener('click', function() {
- PopupManager.doOnModalClick && PopupManager.doOnModalClick();
- });
- }
- return modalDom;
- };
- const instances = {};
- const PopupManager = {
- modalFade: true,
- getInstance: function(id) {
- return instances[id];
- },
- register: function(id, instance) {
- if (id && instance) {
- instances[id] = instance;
- }
- },
- deregister: function(id) {
- if (id) {
- instances[id] = null;
- delete instances[id];
- }
- },
- nextZIndex: function() {
- return PopupManager.zIndex++;
- },
- modalStack: [],
- doOnModalClick: function() {
- const topItem = PopupManager.modalStack[PopupManager.modalStack.length - 1];
- if (!topItem) return;
- const instance = PopupManager.getInstance(topItem.id);
- if (instance && instance.closeOnClickModal) {
- instance.close();
- }
- },
- openModal: function(id, zIndex, dom, modalClass, modalFade) {
- if (external_vue_default.a.prototype.$isServer) return;
- if (!id || zIndex === undefined) return;
- this.modalFade = modalFade;
- const modalStack = this.modalStack;
- for (let i = 0, j = modalStack.length; i < j; i++) {
- const item = modalStack[i];
- if (item.id === id) {
- return;
- }
- }
- const modalDom = getModal();
- Object(utils_dom["a" /* addClass */])(modalDom, 'v-modal');
- if (this.modalFade && !hasModal) {
- Object(utils_dom["a" /* addClass */])(modalDom, 'v-modal-enter');
- }
- if (modalClass) {
- let classArr = modalClass.trim().split(/\s+/);
- classArr.forEach(item => Object(utils_dom["a" /* addClass */])(modalDom, item));
- }
- setTimeout(() => {
- Object(utils_dom["g" /* removeClass */])(modalDom, 'v-modal-enter');
- }, 200);
- if (dom && dom.parentNode && dom.parentNode.nodeType !== 11) {
- dom.parentNode.appendChild(modalDom);
- } else {
- document.body.appendChild(modalDom);
- }
- if (zIndex) {
- modalDom.style.zIndex = zIndex;
- }
- modalDom.tabIndex = 0;
- modalDom.style.display = '';
- this.modalStack.push({ id: id, zIndex: zIndex, modalClass: modalClass });
- },
- closeModal: function(id) {
- const modalStack = this.modalStack;
- const modalDom = getModal();
- if (modalStack.length > 0) {
- const topItem = modalStack[modalStack.length - 1];
- if (topItem.id === id) {
- if (topItem.modalClass) {
- let classArr = topItem.modalClass.trim().split(/\s+/);
- classArr.forEach(item => Object(utils_dom["g" /* removeClass */])(modalDom, item));
- }
- modalStack.pop();
- if (modalStack.length > 0) {
- modalDom.style.zIndex = modalStack[modalStack.length - 1].zIndex;
- }
- } else {
- for (let i = modalStack.length - 1; i >= 0; i--) {
- if (modalStack[i].id === id) {
- modalStack.splice(i, 1);
- break;
- }
- }
- }
- }
- if (modalStack.length === 0) {
- if (this.modalFade) {
- Object(utils_dom["a" /* addClass */])(modalDom, 'v-modal-leave');
- }
- setTimeout(() => {
- if (modalStack.length === 0) {
- if (modalDom.parentNode) modalDom.parentNode.removeChild(modalDom);
- modalDom.style.display = 'none';
- PopupManager.modalDom = undefined;
- }
- Object(utils_dom["g" /* removeClass */])(modalDom, 'v-modal-leave');
- }, 200);
- }
- }
- };
- Object.defineProperty(PopupManager, 'zIndex', {
- configurable: true,
- get() {
- if (!hasInitZIndex) {
- popup_manager_zIndex = popup_manager_zIndex || (external_vue_default.a.prototype.$ELEMENT || {}).zIndex || 2000;
- hasInitZIndex = true;
- }
- return popup_manager_zIndex;
- },
- set(value) {
- popup_manager_zIndex = value;
- }
- });
- const getTopPopup = function() {
- if (external_vue_default.a.prototype.$isServer) return;
- if (PopupManager.modalStack.length > 0) {
- const topPopup = PopupManager.modalStack[PopupManager.modalStack.length - 1];
- if (!topPopup) return;
- const instance = PopupManager.getInstance(topPopup.id);
- return instance;
- }
- };
- if (!external_vue_default.a.prototype.$isServer) {
- // handle `esc` key when the popup is shown
- window.addEventListener('keydown', function(event) {
- if (event.keyCode === 27) {
- const topPopup = getTopPopup();
- if (topPopup && topPopup.closeOnPressEscape) {
- topPopup.handleClose
- ? topPopup.handleClose()
- : (topPopup.handleAction ? topPopup.handleAction('cancel') : topPopup.close());
- }
- }
- });
- }
- /* harmony default export */ var popup_manager = (PopupManager);
- // CONCATENATED MODULE: ./node_modules/element-ui/src/utils/scrollbar-width.js
- let scrollBarWidth;
- /* harmony default export */ var scrollbar_width = (function() {
- if (external_vue_default.a.prototype.$isServer) return 0;
- if (scrollBarWidth !== undefined) return scrollBarWidth;
- const outer = document.createElement('div');
- outer.className = 'el-scrollbar__wrap';
- outer.style.visibility = 'hidden';
- outer.style.width = '100px';
- outer.style.position = 'absolute';
- outer.style.top = '-9999px';
- document.body.appendChild(outer);
- const widthNoScroll = outer.offsetWidth;
- outer.style.overflow = 'scroll';
- const inner = document.createElement('div');
- inner.style.width = '100%';
- outer.appendChild(inner);
- const widthWithScroll = inner.offsetWidth;
- outer.parentNode.removeChild(outer);
- scrollBarWidth = widthNoScroll - widthWithScroll;
- return scrollBarWidth;
- });;
- // CONCATENATED MODULE: ./node_modules/element-ui/src/utils/popup/index.js
- let idSeed = 1;
- let popup_scrollBarWidth;
- /* harmony default export */ var popup = ({
- props: {
- visible: {
- type: Boolean,
- default: false
- },
- openDelay: {},
- closeDelay: {},
- zIndex: {},
- modal: {
- type: Boolean,
- default: false
- },
- modalFade: {
- type: Boolean,
- default: true
- },
- modalClass: {},
- modalAppendToBody: {
- type: Boolean,
- default: false
- },
- lockScroll: {
- type: Boolean,
- default: true
- },
- closeOnPressEscape: {
- type: Boolean,
- default: false
- },
- closeOnClickModal: {
- type: Boolean,
- default: false
- }
- },
- beforeMount() {
- this._popupId = 'popup-' + idSeed++;
- popup_manager.register(this._popupId, this);
- },
- beforeDestroy() {
- popup_manager.deregister(this._popupId);
- popup_manager.closeModal(this._popupId);
- this.restoreBodyStyle();
- },
- data() {
- return {
- opened: false,
- bodyPaddingRight: null,
- computedBodyPaddingRight: 0,
- withoutHiddenClass: true,
- rendered: false
- };
- },
- watch: {
- visible(val) {
- if (val) {
- if (this._opening) return;
- if (!this.rendered) {
- this.rendered = true;
- external_vue_default.a.nextTick(() => {
- this.open();
- });
- } else {
- this.open();
- }
- } else {
- this.close();
- }
- }
- },
- methods: {
- open(options) {
- if (!this.rendered) {
- this.rendered = true;
- }
- const props = Object(merge["a" /* default */])({}, this.$props || this, options);
- if (this._closeTimer) {
- clearTimeout(this._closeTimer);
- this._closeTimer = null;
- }
- clearTimeout(this._openTimer);
- const openDelay = Number(props.openDelay);
- if (openDelay > 0) {
- this._openTimer = setTimeout(() => {
- this._openTimer = null;
- this.doOpen(props);
- }, openDelay);
- } else {
- this.doOpen(props);
- }
- },
- doOpen(props) {
- if (this.$isServer) return;
- if (this.willOpen && !this.willOpen()) return;
- if (this.opened) return;
- this._opening = true;
- const dom = this.$el;
- const modal = props.modal;
- const zIndex = props.zIndex;
- if (zIndex) {
- popup_manager.zIndex = zIndex;
- }
- if (modal) {
- if (this._closing) {
- popup_manager.closeModal(this._popupId);
- this._closing = false;
- }
- popup_manager.openModal(this._popupId, popup_manager.nextZIndex(), this.modalAppendToBody ? undefined : dom, props.modalClass, props.modalFade);
- if (props.lockScroll) {
- this.withoutHiddenClass = !Object(utils_dom["c" /* hasClass */])(document.body, 'el-popup-parent--hidden');
- if (this.withoutHiddenClass) {
- this.bodyPaddingRight = document.body.style.paddingRight;
- this.computedBodyPaddingRight = parseInt(Object(utils_dom["b" /* getStyle */])(document.body, 'paddingRight'), 10);
- }
- popup_scrollBarWidth = scrollbar_width();
- let bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;
- let bodyOverflowY = Object(utils_dom["b" /* getStyle */])(document.body, 'overflowY');
- if (popup_scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === 'scroll') && this.withoutHiddenClass) {
- document.body.style.paddingRight = this.computedBodyPaddingRight + popup_scrollBarWidth + 'px';
- }
- Object(utils_dom["a" /* addClass */])(document.body, 'el-popup-parent--hidden');
- }
- }
- if (getComputedStyle(dom).position === 'static') {
- dom.style.position = 'absolute';
- }
- dom.style.zIndex = popup_manager.nextZIndex();
- this.opened = true;
- this.onOpen && this.onOpen();
- this.doAfterOpen();
- },
- doAfterOpen() {
- this._opening = false;
- },
- close() {
- if (this.willClose && !this.willClose()) return;
- if (this._openTimer !== null) {
- clearTimeout(this._openTimer);
- this._openTimer = null;
- }
- clearTimeout(this._closeTimer);
- const closeDelay = Number(this.closeDelay);
- if (closeDelay > 0) {
- this._closeTimer = setTimeout(() => {
- this._closeTimer = null;
- this.doClose();
- }, closeDelay);
- } else {
- this.doClose();
- }
- },
- doClose() {
- this._closing = true;
- this.onClose && this.onClose();
- if (this.lockScroll) {
- setTimeout(this.restoreBodyStyle, 200);
- }
- this.opened = false;
- this.doAfterClose();
- },
- doAfterClose() {
- popup_manager.closeModal(this._popupId);
- this._closing = false;
- },
- restoreBodyStyle() {
- if (this.modal && this.withoutHiddenClass) {
- document.body.style.paddingRight = this.bodyPaddingRight;
- Object(utils_dom["g" /* removeClass */])(document.body, 'el-popup-parent--hidden');
- }
- this.withoutHiddenClass = true;
- }
- }
- });
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/element-ui/packages/image/src/image-viewer.vue?vue&type=script&lang=js
- const Mode = {
- CONTAIN: {
- name: 'contain',
- icon: 'el-icon-full-screen'
- },
- ORIGINAL: {
- name: 'original',
- icon: 'el-icon-c-scale-to-original'
- }
- };
- const mousewheelEventName = Object(util["a" /* isFirefox */])() ? 'DOMMouseScroll' : 'mousewheel';
- /* harmony default export */ var image_viewervue_type_script_lang_js = ({
- name: 'elImageViewer',
- props: {
- urlList: {
- type: Array,
- default: () => []
- },
- zIndex: {
- type: Number,
- default: 2000
- },
- onSwitch: {
- type: Function,
- default: () => {}
- },
- onClose: {
- type: Function,
- default: () => {}
- },
- initialIndex: {
- type: Number,
- default: 0
- },
- appendToBody: {
- type: Boolean,
- default: true
- },
- maskClosable: {
- type: Boolean,
- default: true
- }
- },
- data() {
- return {
- index: this.initialIndex,
- isShow: false,
- infinite: true,
- loading: false,
- mode: Mode.CONTAIN,
- transform: {
- scale: 1,
- deg: 0,
- offsetX: 0,
- offsetY: 0,
- enableTransition: false
- }
- };
- },
- computed: {
- isSingle() {
- return this.urlList.length <= 1;
- },
- isFirst() {
- return this.index === 0;
- },
- isLast() {
- return this.index === this.urlList.length - 1;
- },
- currentImg() {
- return this.urlList[this.index];
- },
- imgStyle() {
- const {
- scale,
- deg,
- offsetX,
- offsetY,
- enableTransition
- } = this.transform;
- const style = {
- transform: `scale(${scale}) rotate(${deg}deg)`,
- transition: enableTransition ? 'transform .3s' : '',
- 'margin-left': `${offsetX}px`,
- 'margin-top': `${offsetY}px`
- };
- if (this.mode === Mode.CONTAIN) {
- style.maxWidth = style.maxHeight = '100%';
- }
- return style;
- },
- viewerZIndex() {
- const nextZIndex = popup_manager.nextZIndex();
- return this.zIndex > nextZIndex ? this.zIndex : nextZIndex;
- }
- },
- watch: {
- index: {
- handler: function (val) {
- this.reset();
- this.onSwitch(val);
- }
- },
- currentImg(val) {
- this.$nextTick(_ => {
- const $img = this.$refs.img[0];
- if (!$img.complete) {
- this.loading = true;
- }
- });
- }
- },
- methods: {
- hide() {
- this.deviceSupportUninstall();
- this.onClose();
- },
- deviceSupportInstall() {
- this._keyDownHandler = e => {
- e.stopPropagation();
- const keyCode = e.keyCode;
- switch (keyCode) {
- // ESC
- case 27:
- this.hide();
- break;
- // SPACE
- case 32:
- this.toggleMode();
- break;
- // LEFT_ARROW
- case 37:
- this.prev();
- break;
- // UP_ARROW
- case 38:
- this.handleActions('zoomIn');
- break;
- // RIGHT_ARROW
- case 39:
- this.next();
- break;
- // DOWN_ARROW
- case 40:
- this.handleActions('zoomOut');
- break;
- }
- };
- this._mouseWheelHandler = Object(util["d" /* rafThrottle */])(e => {
- const delta = e.wheelDelta ? e.wheelDelta : -e.detail;
- if (delta > 0) {
- this.handleActions('zoomIn', {
- zoomRate: 0.015,
- enableTransition: false
- });
- } else {
- this.handleActions('zoomOut', {
- zoomRate: 0.015,
- enableTransition: false
- });
- }
- });
- Object(utils_dom["e" /* on */])(document, 'keydown', this._keyDownHandler);
- Object(utils_dom["e" /* on */])(document, mousewheelEventName, this._mouseWheelHandler);
- },
- deviceSupportUninstall() {
- Object(utils_dom["d" /* off */])(document, 'keydown', this._keyDownHandler);
- Object(utils_dom["d" /* off */])(document, mousewheelEventName, this._mouseWheelHandler);
- this._keyDownHandler = null;
- this._mouseWheelHandler = null;
- },
- handleImgLoad(e) {
- this.loading = false;
- },
- handleImgError(e) {
- this.loading = false;
- e.target.alt = '加载失败';
- },
- handleMouseDown(e) {
- if (this.loading || e.button !== 0) return;
- const {
- offsetX,
- offsetY
- } = this.transform;
- const startX = e.pageX;
- const startY = e.pageY;
- this._dragHandler = Object(util["d" /* rafThrottle */])(ev => {
- this.transform.offsetX = offsetX + ev.pageX - startX;
- this.transform.offsetY = offsetY + ev.pageY - startY;
- });
- Object(utils_dom["e" /* on */])(document, 'mousemove', this._dragHandler);
- Object(utils_dom["e" /* on */])(document, 'mouseup', ev => {
- Object(utils_dom["d" /* off */])(document, 'mousemove', this._dragHandler);
- });
- e.preventDefault();
- },
- handleMaskClick() {
- if (this.maskClosable) {
- this.hide();
- }
- },
- reset() {
- this.transform = {
- scale: 1,
- deg: 0,
- offsetX: 0,
- offsetY: 0,
- enableTransition: false
- };
- },
- toggleMode() {
- if (this.loading) return;
- const modeNames = Object.keys(Mode);
- const modeValues = Object.values(Mode);
- const index = modeValues.indexOf(this.mode);
- const nextIndex = (index + 1) % modeNames.length;
- this.mode = Mode[modeNames[nextIndex]];
- this.reset();
- },
- prev() {
- if (this.isFirst && !this.infinite) return;
- const len = this.urlList.length;
- this.index = (this.index - 1 + len) % len;
- },
- next() {
- if (this.isLast && !this.infinite) return;
- const len = this.urlList.length;
- this.index = (this.index + 1) % len;
- },
- handleActions(action, options = {}) {
- if (this.loading) return;
- const {
- zoomRate,
- rotateDeg,
- enableTransition
- } = {
- zoomRate: 0.2,
- rotateDeg: 90,
- enableTransition: true,
- ...options
- };
- const {
- transform
- } = this;
- switch (action) {
- case 'zoomOut':
- if (transform.scale > 0.2) {
- transform.scale = parseFloat((transform.scale - zoomRate).toFixed(3));
- }
- break;
- case 'zoomIn':
- transform.scale = parseFloat((transform.scale + zoomRate).toFixed(3));
- break;
- case 'clocelise':
- transform.deg += rotateDeg;
- break;
- case 'anticlocelise':
- transform.deg -= rotateDeg;
- break;
- }
- transform.enableTransition = enableTransition;
- }
- },
- mounted() {
- this.deviceSupportInstall();
- if (this.appendToBody) {
- document.body.appendChild(this.$el);
- }
- // add tabindex then wrapper can be focusable via Javascript
- // focus wrapper so arrow key can't cause inner scroll behavior underneath
- this.$refs['el-image-viewer__wrapper'].focus();
- },
- destroyed() {
- // if appendToBody is true, remove DOM node after destroy
- if (this.appendToBody && this.$el && this.$el.parentNode) {
- this.$el.parentNode.removeChild(this.$el);
- }
- }
- });
- // CONCATENATED MODULE: ./node_modules/element-ui/packages/image/src/image-viewer.vue?vue&type=script&lang=js
- /* harmony default export */ var src_image_viewervue_type_script_lang_js = (image_viewervue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./node_modules/element-ui/packages/image/src/image-viewer.vue
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- src_image_viewervue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- null,
- null,
- "17d24eb5"
-
- )
- /* harmony default export */ var image_viewer = __webpack_exports__["a"] = (component.exports);
- /***/ }),
- /***/ 165:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 166:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 175:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* unused harmony export formatPrice */
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return round; });
- /* unused harmony export transformNumber */
- /* unused harmony export getUnit */
- /* unused harmony export getSetup */
- /* unused harmony export getPrint */
- /* unused harmony export getAddon */
- /* unused harmony export getPackaging */
- /* unused harmony export getFright */
- /* harmony import */ var number_precision__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(122);
- /* harmony import */ var number_precision__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(number_precision__WEBPACK_IMPORTED_MODULE_0__);
- // 商品价格计算相关
- // 价格格式化
- function formatPrice(value, needSymbol = true) {
- // 不能在最后一步显示之前格式化999 111, 否则可能出现单价1买999个得到999价格被格式化成poa的情况
- if (value === 0) {
- return needSymbol ? '£0.00' : '0.00';
- } else {
- return needSymbol ? `£${value}` : `${value}`;
- }
- }
- // 简单的乘法换算
- function multiply(value, ratio = 100) {
- return parseFloat((value * ratio).toPrecision(12));
- }
- // 小数处理, 四舍五入, 为toFixed做准备
- function round(number, ratio = 100) {
- return Math.round(multiply(number, ratio)) / ratio;
- }
- /**
- * 将字符串简单转换成数字, 并可数倍转换. 注意, 这个适用于整数倍(商品件数), 非整数的不能用这个处理小数.
- * @param {*} value 目标值
- * @param {*} ratio 倍数, 默认1
- * @returns number | origin, 转换后的数字, 无法转成数字的返回原值
- */
- function transformNumber(value, ratio = 1) {
- const v = Number(value);
- if (Number.isNaN(v)) {
- return value;
- } else {
- // 保留两位小数
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["divide"])(Math.trunc(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(v, ratio), 100)), 100);
- }
- }
- // unit 单个商品的, 没有乘数量. 因为含有111 999 这些极端值, 没有格式化输出之前直接乘回出问题的.
- const getUnit = function (buyNum, index, attributeList, basePriceList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- let key = 'website_qty1';
- if (candidate.length) {
- key = candidate.pop()[0];
- }
- return transformNumber(basePriceList[index][key], buyNum);
- };
- // 打印和附加价格 的steup之和. 商品基础价格现在没有setup了.
- const getSetup = function (buyNum, form, additionList) {
- const sum = Object.entries(form).reduce((total, current) => {
- let s = 0;
- // 打印服务表单的数据跟附加服务表单的数据结构不一致, 以数字id字符串键名的是打印服务的数据
- if (/\d+/.test(current[0]) && current[1].enable) {
- const temp = current[1].colorForm.filter(i => i.id === current[1].printService);
- let colorNumber = 1;
- if (temp.length) {
- colorNumber = temp[0].colorNumber;
- }
- const decoration = current[1].decorationList.filter(i => i.id === current[1].printService);
- let setup = 0;
- if (decoration.length) {
- setup = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(Number(decoration[0].website_setup), Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(Number(decoration[0].supplier_setup), colorNumber - 1));
- }
- s = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(s, setup);
- } else if (current[1].length) {
- // 附加服务的表单数据, 有值说明该项有选中了附加服务
- const addition = additionList[current[0]].filter(addition => current[1].includes(addition.id));
- if (addition.length) {
- const temp = addition.reduce((t, c) => {
- let value = Number(c.website_setup);
- if ([5, 6].includes(c.website_setup_id)) {
- // 5是poa, 6是waived. 这种情况一般setup是留空的, 不留空大概是异常数据, 重置0保险一点.
- value = 0;
- }
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(t, Number.isNaN(value) ? 0 : value);
- }, 0);
- s = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(s, temp);
- }
- }
- total = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, s);
- return total;
- }, 0);
- return transformNumber(sum);
- };
- // 打印价格的 阶梯基础价*购买数量.
- const getPrint = function (buyNum, form, attributeList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- const key = `website_qty${candidate.length}`;
- const key2 = `supplier_qty${candidate.length}`;
- // 如果其中一项为POA, 则‘和’都是POA
- const result = Object.entries(form).reduce((total, current) => {
- if (total === 'POA') {
- return total;
- }
- let sum = 0;
- if (/\d+/.test(current[0]) && current[1].enable) {
- const temp = current[1].colorForm.filter(i => i.id === current[1].printService);
- let colorNumber = 1;
- if (temp.length) {
- colorNumber = temp[0].colorNumber;
- }
- const decoration = current[1].decorationList.filter(i => i.id === current[1].printService);
- // 打印价格的基础价. 其中数字111(代表'-') 和999(代表'POA')
- const p1 = transformNumber(decoration[0][key]);
- if (p1 === 999 || p1 === 111 || typeof p1 !== 'number') {
- return 'POA';
- }
- // 打印价格的附加价
- const p2 = transformNumber(decoration[0][key2]);
- if (p2 === 999 || p2 === 111 || typeof p2 !== 'number') {
- return 'POA';
- }
- let price = 0;
- if (decoration.length) {
- price = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(p1, Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(p2, colorNumber - 1));
- }
- sum = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(sum, price);
- }
- total = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, sum);
- return total;
- }, 0);
- return transformNumber(result, buyNum);
- };
- // 附加服务除了packing之外的总价
- const getAddon = function (buyNum, form, attributeList, additionList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- const key = `website_qty${candidate.length}`;
- const result = Object.entries(form).reduce((total, current) => {
- if (total === 'POA') {
- return total;
- }
- let sum = 0;
- if (!/\d+/.test(current[0]) && current[0] !== 'packaging') {
- sum = additionList[current[0]].filter(item => current[1].includes(item.id)).reduce((t, c) => {
- if (t === 'POA') {
- return t;
- }
- let temp = transformNumber(c[key]);
- if (temp === 999 || temp === 111 || typeof temp !== 'number') {
- temp = 0;
- return 'POA';
- }
- t = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(t, temp);
- return t;
- }, 0);
- }
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, sum);
- }, 0);
- return transformNumber(result, buyNum);
- };
- // 附加服务中 packing 的价格
- const getPackaging = function (buyNum, form, attributeList, additionList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- const key = `website_qty${candidate.length}`;
- const result = Object.entries(form).reduce((total, current) => {
- if (total === 'POA') {
- return total;
- }
- let sum = 0;
- if (!/\d+/.test(current[0]) && current[0] === 'packaging') {
- sum = additionList[current[0]].filter(item => current[1].includes(item.id)).reduce((t, c) => {
- if (t === 'POA') {
- return t;
- }
- let temp = transformNumber(c[key]);
- if (temp === 999 || temp === 111 || typeof temp !== 'number') {
- temp = 0;
- return 'POA';
- }
- t = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(t, temp);
- return t;
- }, 0);
- }
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, sum);
- }, 0);
- return transformNumber(result, buyNum);
- };
- // 运费计算. 从product页面抄过来的逻辑. +号是隐式类型转换
- const getFright = function (buyNum, config, freight, weight, ratio = 1) {
- // 单独批次数量的总重
- const totalWeight = Math.ceil(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(+weight.unit_w_local, buyNum));
- const expressFactor = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(1, Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["divide"])(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+config.express_freight, +config.fuel), 100));
- const AAEFactor = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(1, Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["divide"])(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+config.bag_freight, +config.fuel), 100));
- let frightCost = 0;
- if (freight.type === 1) {
- if (totalWeight > 20) {
- const a1 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["minus"])(totalWeight, 20);
- const a2 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(a1, +freight.basic);
- const a3 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+freight.pickup, a2);
- frightCost = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(a3, expressFactor);
- } else {
- frightCost = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(+freight.pickup, expressFactor);
- }
- } else if (freight.type === 2) {
- const a1 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(totalWeight, +freight.basic);
- const a2 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+freight.pickup, a1);
- frightCost = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(a2, AAEFactor);
- } else {
- frightCost = 0;
- }
- return transformNumber(frightCost, ratio);
- };
- /***/ }),
- /***/ 176:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 185:
- /***/ (function(module, exports) {
- /**
- * lodash (Custom Build) <https://lodash.com/>
- * Build: `lodash modularize exports="npm" -o ./`
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */
- /** Used as the `TypeError` message for "Functions" methods. */
- var FUNC_ERROR_TEXT = 'Expected a function';
- /** Used as references for various `Number` constants. */
- var NAN = 0 / 0;
- /** `Object#toString` result references. */
- var symbolTag = '[object Symbol]';
- /** Used to match leading and trailing whitespace. */
- var reTrim = /^\s+|\s+$/g;
- /** Used to detect bad signed hexadecimal string values. */
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
- /** Used to detect binary string values. */
- var reIsBinary = /^0b[01]+$/i;
- /** Used to detect octal string values. */
- var reIsOctal = /^0o[0-7]+$/i;
- /** Built-in method references without a dependency on `root`. */
- var freeParseInt = parseInt;
- /** Detect free variable `global` from Node.js. */
- var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
- /** Detect free variable `self`. */
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
- /** Used as a reference to the global object. */
- var root = freeGlobal || freeSelf || Function('return this')();
- /** Used for built-in method references. */
- var objectProto = Object.prototype;
- /**
- * Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
- * of values.
- */
- var objectToString = objectProto.toString;
- /* Built-in method references for those with the same name as other `lodash` methods. */
- var nativeMax = Math.max,
- nativeMin = Math.min;
- /**
- * Gets the timestamp of the number of milliseconds that have elapsed since
- * the Unix epoch (1 January 1970 00:00:00 UTC).
- *
- * @static
- * @memberOf _
- * @since 2.4.0
- * @category Date
- * @returns {number} Returns the timestamp.
- * @example
- *
- * _.defer(function(stamp) {
- * console.log(_.now() - stamp);
- * }, _.now());
- * // => Logs the number of milliseconds it took for the deferred invocation.
- */
- var now = function() {
- return root.Date.now();
- };
- /**
- * Creates a debounced function that delays invoking `func` until after `wait`
- * milliseconds have elapsed since the last time the debounced function was
- * invoked. The debounced function comes with a `cancel` method to cancel
- * delayed `func` invocations and a `flush` method to immediately invoke them.
- * Provide `options` to indicate whether `func` should be invoked on the
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
- * with the last arguments provided to the debounced function. Subsequent
- * calls to the debounced function return the result of the last `func`
- * invocation.
- *
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
- * invoked on the trailing edge of the timeout only if the debounced function
- * is invoked more than once during the `wait` timeout.
- *
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
- *
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
- * for details over the differences between `_.debounce` and `_.throttle`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to debounce.
- * @param {number} [wait=0] The number of milliseconds to delay.
- * @param {Object} [options={}] The options object.
- * @param {boolean} [options.leading=false]
- * Specify invoking on the leading edge of the timeout.
- * @param {number} [options.maxWait]
- * The maximum time `func` is allowed to be delayed before it's invoked.
- * @param {boolean} [options.trailing=true]
- * Specify invoking on the trailing edge of the timeout.
- * @returns {Function} Returns the new debounced function.
- * @example
- *
- * // Avoid costly calculations while the window size is in flux.
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
- *
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
- * 'leading': true,
- * 'trailing': false
- * }));
- *
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
- * var source = new EventSource('/stream');
- * jQuery(source).on('message', debounced);
- *
- * // Cancel the trailing debounced invocation.
- * jQuery(window).on('popstate', debounced.cancel);
- */
- function debounce(func, wait, options) {
- var lastArgs,
- lastThis,
- maxWait,
- result,
- timerId,
- lastCallTime,
- lastInvokeTime = 0,
- leading = false,
- maxing = false,
- trailing = true;
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- wait = toNumber(wait) || 0;
- if (isObject(options)) {
- leading = !!options.leading;
- maxing = 'maxWait' in options;
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
- trailing = 'trailing' in options ? !!options.trailing : trailing;
- }
- function invokeFunc(time) {
- var args = lastArgs,
- thisArg = lastThis;
- lastArgs = lastThis = undefined;
- lastInvokeTime = time;
- result = func.apply(thisArg, args);
- return result;
- }
- function leadingEdge(time) {
- // Reset any `maxWait` timer.
- lastInvokeTime = time;
- // Start the timer for the trailing edge.
- timerId = setTimeout(timerExpired, wait);
- // Invoke the leading edge.
- return leading ? invokeFunc(time) : result;
- }
- function remainingWait(time) {
- var timeSinceLastCall = time - lastCallTime,
- timeSinceLastInvoke = time - lastInvokeTime,
- result = wait - timeSinceLastCall;
- return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
- }
- function shouldInvoke(time) {
- var timeSinceLastCall = time - lastCallTime,
- timeSinceLastInvoke = time - lastInvokeTime;
- // Either this is the first call, activity has stopped and we're at the
- // trailing edge, the system time has gone backwards and we're treating
- // it as the trailing edge, or we've hit the `maxWait` limit.
- return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
- (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
- }
- function timerExpired() {
- var time = now();
- if (shouldInvoke(time)) {
- return trailingEdge(time);
- }
- // Restart the timer.
- timerId = setTimeout(timerExpired, remainingWait(time));
- }
- function trailingEdge(time) {
- timerId = undefined;
- // Only invoke if we have `lastArgs` which means `func` has been
- // debounced at least once.
- if (trailing && lastArgs) {
- return invokeFunc(time);
- }
- lastArgs = lastThis = undefined;
- return result;
- }
- function cancel() {
- if (timerId !== undefined) {
- clearTimeout(timerId);
- }
- lastInvokeTime = 0;
- lastArgs = lastCallTime = lastThis = timerId = undefined;
- }
- function flush() {
- return timerId === undefined ? result : trailingEdge(now());
- }
- function debounced() {
- var time = now(),
- isInvoking = shouldInvoke(time);
- lastArgs = arguments;
- lastThis = this;
- lastCallTime = time;
- if (isInvoking) {
- if (timerId === undefined) {
- return leadingEdge(lastCallTime);
- }
- if (maxing) {
- // Handle invocations in a tight loop.
- timerId = setTimeout(timerExpired, wait);
- return invokeFunc(lastCallTime);
- }
- }
- if (timerId === undefined) {
- timerId = setTimeout(timerExpired, wait);
- }
- return result;
- }
- debounced.cancel = cancel;
- debounced.flush = flush;
- return debounced;
- }
- /**
- * Creates a throttled function that only invokes `func` at most once per
- * every `wait` milliseconds. The throttled function comes with a `cancel`
- * method to cancel delayed `func` invocations and a `flush` method to
- * immediately invoke them. Provide `options` to indicate whether `func`
- * should be invoked on the leading and/or trailing edge of the `wait`
- * timeout. The `func` is invoked with the last arguments provided to the
- * throttled function. Subsequent calls to the throttled function return the
- * result of the last `func` invocation.
- *
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
- * invoked on the trailing edge of the timeout only if the throttled function
- * is invoked more than once during the `wait` timeout.
- *
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
- *
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
- * for details over the differences between `_.throttle` and `_.debounce`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to throttle.
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
- * @param {Object} [options={}] The options object.
- * @param {boolean} [options.leading=true]
- * Specify invoking on the leading edge of the timeout.
- * @param {boolean} [options.trailing=true]
- * Specify invoking on the trailing edge of the timeout.
- * @returns {Function} Returns the new throttled function.
- * @example
- *
- * // Avoid excessively updating the position while scrolling.
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
- *
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
- * jQuery(element).on('click', throttled);
- *
- * // Cancel the trailing throttled invocation.
- * jQuery(window).on('popstate', throttled.cancel);
- */
- function throttle(func, wait, options) {
- var leading = true,
- trailing = true;
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- if (isObject(options)) {
- leading = 'leading' in options ? !!options.leading : leading;
- trailing = 'trailing' in options ? !!options.trailing : trailing;
- }
- return debounce(func, wait, {
- 'leading': leading,
- 'maxWait': wait,
- 'trailing': trailing
- });
- }
- /**
- * Checks if `value` is the
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
- * @example
- *
- * _.isObject({});
- * // => true
- *
- * _.isObject([1, 2, 3]);
- * // => true
- *
- * _.isObject(_.noop);
- * // => true
- *
- * _.isObject(null);
- * // => false
- */
- function isObject(value) {
- var type = typeof value;
- return !!value && (type == 'object' || type == 'function');
- }
- /**
- * Checks if `value` is object-like. A value is object-like if it's not `null`
- * and has a `typeof` result of "object".
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
- * @example
- *
- * _.isObjectLike({});
- * // => true
- *
- * _.isObjectLike([1, 2, 3]);
- * // => true
- *
- * _.isObjectLike(_.noop);
- * // => false
- *
- * _.isObjectLike(null);
- * // => false
- */
- function isObjectLike(value) {
- return !!value && typeof value == 'object';
- }
- /**
- * Checks if `value` is classified as a `Symbol` primitive or object.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
- * @example
- *
- * _.isSymbol(Symbol.iterator);
- * // => true
- *
- * _.isSymbol('abc');
- * // => false
- */
- function isSymbol(value) {
- return typeof value == 'symbol' ||
- (isObjectLike(value) && objectToString.call(value) == symbolTag);
- }
- /**
- * Converts `value` to a number.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to process.
- * @returns {number} Returns the number.
- * @example
- *
- * _.toNumber(3.2);
- * // => 3.2
- *
- * _.toNumber(Number.MIN_VALUE);
- * // => 5e-324
- *
- * _.toNumber(Infinity);
- * // => Infinity
- *
- * _.toNumber('3.2');
- * // => 3.2
- */
- function toNumber(value) {
- if (typeof value == 'number') {
- return value;
- }
- if (isSymbol(value)) {
- return NAN;
- }
- if (isObject(value)) {
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
- value = isObject(other) ? (other + '') : other;
- }
- if (typeof value != 'string') {
- return value === 0 ? value : +value;
- }
- value = value.replace(reTrim, '');
- var isBinary = reIsBinary.test(value);
- return (isBinary || reIsOctal.test(value))
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
- : (reIsBadHex.test(value) ? NAN : +value);
- }
- module.exports = throttle;
- /***/ }),
- /***/ 186:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_imageList_vue_vue_type_style_index_0_id_d262f43e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(165);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_imageList_vue_vue_type_style_index_0_id_d262f43e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_imageList_vue_vue_type_style_index_0_id_d262f43e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_imageList_vue_vue_type_style_index_0_id_d262f43e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_imageList_vue_vue_type_style_index_0_id_d262f43e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 187:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(166);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ExportDialog_vue_vue_type_style_index_0_id_1381fc6c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 196:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/imageList.vue?vue&type=template&id=d262f43e&scoped=true
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- staticClass: "wrap flex row"
- }, [_vm._ssrNode("<i class=\"el-icon-arrow-left\" data-v-d262f43e></i> "), _vm._ssrNode("<div class=\"list\" data-v-d262f43e>", "</div>", _vm._l(_vm.data, function (item, index) {
- return _c('el-image', {
- key: index,
- staticClass: "image",
- attrs: {
- "src": item.cdn_url,
- "fit": "cover"
- },
- on: {
- "click": function ($event) {
- return _vm.handleViwer(index);
- }
- }
- });
- }), 1), _vm._ssrNode(" <i class=\"el-icon-arrow-right\" data-v-d262f43e></i> "), _vm.showViewer ? _c('ElImageViewer', {
- attrs: {
- "initial-index": _vm.currentPre,
- "on-close": _vm.closeViewer,
- "url-list": _vm.comImg
- }
- }) : _vm._e()], 2);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./components/imageList.vue?vue&type=template&id=d262f43e&scoped=true
- // EXTERNAL MODULE: ./node_modules/element-ui/packages/image/src/image-viewer.vue + 7 modules
- var image_viewer = __webpack_require__(157);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/imageList.vue?vue&type=script&lang=js
- /* harmony default export */ var imageListvue_type_script_lang_js = ({
- components: {
- ElImageViewer: image_viewer["a" /* default */]
- },
- props: {
- data: {
- type: Array,
- default: () => {
- return [];
- }
- }
- },
- data() {
- return {
- currentPre: 0,
- showViewer: false
- };
- },
- computed: {
- comImg() {
- return this.data.map(i => i.cdn_url);
- }
- },
- methods: {
- scroll(amount) {
- const list = this.$refs.list;
- list.scrollLeft += amount * list.clientWidth;
- },
- closeViewer() {
- this.showViewer = false;
- },
- handleViwer(i) {
- this.currentPre = i;
- this.showViewer = true;
- }
- }
- });
- // CONCATENATED MODULE: ./components/imageList.vue?vue&type=script&lang=js
- /* harmony default export */ var components_imageListvue_type_script_lang_js = (imageListvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./components/imageList.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(186)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_imageListvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "d262f43e",
- "05c2c4fb"
-
- )
- /* harmony default export */ var imageList = __webpack_exports__["default"] = (component.exports);
- /***/ }),
- /***/ 197:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ExportDialog.vue?vue&type=template&id=1381fc6c&scoped=true
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('el-dialog', {
- attrs: {
- "lock-scroll": false,
- "title": _vm.title,
- "visible": _vm.visible,
- "width": "700px",
- "before-close": _vm.handleClose,
- "close-on-click-modal": false,
- "top": "0"
- },
- on: {
- "update:visible": function ($event) {
- _vm.visible = $event;
- }
- }
- }, [_c('el-form', {
- ref: "ruleForm",
- attrs: {
- "model": _vm.emailForm,
- "rules": _vm.rules
- }
- }, _vm._l(_vm.emailForm, function (val, key) {
- return _c('el-form-item', {
- key: key,
- attrs: {
- "label": _vm.labelShow ? key : '',
- "label-width": _vm.labelWidth + 'px',
- "prop": key
- }
- }, [_c('el-input', {
- attrs: {
- "readonly": ""
- },
- model: {
- value: _vm.emailForm[key],
- callback: function ($$v) {
- _vm.$set(_vm.emailForm, key, $$v);
- },
- expression: "emailForm[key]"
- }
- }), _c('el-button', {
- class: key,
- attrs: {
- "data-clipboard-text": _vm.emailForm[key],
- "type": "primary"
- },
- on: {
- "click": function ($event) {
- $event.preventDefault();
- return _vm.copyUrl(key);
- }
- }
- }, [_vm._v("copy link")])], 1);
- }), 1)], 1);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./components/ExportDialog.vue?vue&type=template&id=1381fc6c&scoped=true
- // EXTERNAL MODULE: external "clipboard"
- var external_clipboard_ = __webpack_require__(140);
- var external_clipboard_default = /*#__PURE__*/__webpack_require__.n(external_clipboard_);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ExportDialog.vue?vue&type=script&lang=js
- /* harmony default export */ var ExportDialogvue_type_script_lang_js = ({
- props: {
- title: {
- type: String,
- default: 'Send Email'
- },
- sendbtnCext: {
- type: String,
- default: 'SUBMIT REQUEST'
- },
- isSendPdf: {
- type: Boolean,
- default: false
- },
- labelShow: {
- type: Boolean,
- default: true
- },
- emailForm: {},
- rules: {},
- labelWidth: Number,
- visible: {
- type: Boolean,
- default: false
- }
- },
- methods: {
- copyUrl(key) {
- let clipboard = new external_clipboard_default.a(`.${key}`);
- clipboard.on('success', e => {
- this.$message.success("link copied to clipboard"); // 利用Element组件给予成功提示
- clipboard.destroy(); // 释放内存
- });
- clipboard.on('error', e => {
- this.$message.error('The browser does not support automatic replication'); // 给予错误提示信息
- clipboard.destroy(); // 释放内存
- });
- },
- handleClose() {
- this.$emit('update:visible', false);
- }
- }
- });
- // CONCATENATED MODULE: ./components/ExportDialog.vue?vue&type=script&lang=js
- /* harmony default export */ var components_ExportDialogvue_type_script_lang_js = (ExportDialogvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./components/ExportDialog.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(187)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_ExportDialogvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "1381fc6c",
- "5781176c"
-
- )
- /* harmony default export */ var ExportDialog = __webpack_exports__["default"] = (component.exports);
- /***/ }),
- /***/ 209:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_orderDetailPart_vue_vue_type_style_index_0_id_0272884e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(176);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_orderDetailPart_vue_vue_type_style_index_0_id_0272884e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_orderDetailPart_vue_vue_type_style_index_0_id_0272884e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_orderDetailPart_vue_vue_type_style_index_0_id_0272884e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_orderDetailPart_vue_vue_type_style_index_0_id_0272884e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 222:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/home/myDetail/components/orderDetailPart.vue?vue&type=template&id=0272884e&scoped=true
- var render = function render() {
- var _vm$orderDetail$crm_p;
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- staticClass: "order-detail-part"
- }, [_vm.isLoading == 1 ? _c('div', {
- directives: [{
- name: "loading",
- rawName: "v-loading",
- value: true,
- expression: "true"
- }],
- staticClass: "com-loading"
- }) : _vm.isLoading == 2 ? [_vm._ssrNode("<section class=\"main-header\" data-v-0272884e>", "</section>", [_vm._ssrNode("<div class=\"main-header-mid flex between\" data-v-0272884e><h1 data-v-0272884e>" + _vm._ssrEscape("Job Name:" + _vm._s(_vm.orderDetail.Sales_Order_Title_Job_Name)) + "</h1> " + (_vm.orderDetail.user_logo ? "<img" + _vm._ssrAttr("src", _vm.orderDetail.user_logo) + " class=\"user_logo\" data-v-0272884e>" : "<!---->") + "</div> "), _vm._ssrNode("<div class=\"main-header-mid flex between\" data-v-0272884e>", "</div>", [_vm._ssrNode("<ul class=\"left\" data-v-0272884e>", "</ul>", [_vm._ssrNode((_vm.isShow ? "<li class=\"left-i\" data-v-0272884e><i class=\"el-icon-share\" data-v-0272884e></i> <span data-v-0272884e>Client Tracking Share</span></li>" : "<!---->") + " "), (_vm$orderDetail$crm_p = _vm.orderDetail.crm_pr_res) !== null && _vm$orderDetail$crm_p !== void 0 && _vm$orderDetail$crm_p.length ? _vm._ssrNode("<li class=\"left-i\" data-v-0272884e>", "</li>", [_c('image-list', {
- attrs: {
- "data": _vm.orderDetail.crm_pr_res
- }
- })], 1) : _vm._e()], 2), _vm._ssrNode(" <ul class=\"right\" data-v-0272884e>" + (_vm.orderDetail.Job_Group && _vm.isShow ? "<li data-v-0272884e>" + _vm._ssrEscape("\n Order Type: " + _vm._s(_vm.orderDetail.Job_Group) + "\n ") + "</li>" : "<!---->") + " <li data-v-0272884e>" + _vm._ssrEscape("Order No: " + _vm._s(_vm.orderDetail.Reference)) + "</li> <li data-v-0272884e>" + _vm._ssrEscape("\n Order Date: " + _vm._s(_vm.formatStepDesc(_vm.orderDetail.Sales_Order_Created)) + "\n ") + "</li> " + (_vm.orderDetail.Expected_Delivery_Date ? "<li data-v-0272884e>" + _vm._ssrEscape("\n ETA: " + _vm._s(_vm.formatStepDesc(_vm.orderDetail.Expected_Delivery_Date)) + "\n ") + "</li>" : "<!---->") + " " + (_vm.isShow ? "<li data-v-0272884e>" + _vm._ssrEscape("\n Payment Status: " + _vm._s(_vm.orderDetail.Payment_Status1) + "\n ") + "</li>" : "<!---->") + "</ul>")], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"steps margin-b-30\" data-v-0272884e>", "</div>", [_vm._ssrNode("<p class=\"steps-title margin-b-50\" data-v-0272884e>Bulk Production</p> "), _c('el-steps', {
- attrs: {
- "active": _vm.comOrderState,
- "align-center": "",
- "direction": _vm.computedStepDirection,
- "finish-status": "success",
- "process-status": "wait"
- }
- }, [_c('el-step', {
- attrs: {
- "title": "Confirmed",
- "description": _vm.formatStepDesc(_vm.orderDetail.Order_Confirm)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": "In Production",
- "description": _vm.formatStepDesc(_vm.orderDetail.Sampling_Factory_Confirm)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": "QC Inspection",
- "description": _vm.formatStepDesc(_vm.orderDetail.GZ_WH)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": "International Shipment",
- "description": _vm.formatStepDesc(_vm.orderDetail.International_transshipment)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": "AU Warehouse",
- "description": _vm.formatStepDesc(_vm.orderDetail.AU_WH)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": _vm.orderDetail.Order_Stage === 'Bulk Production Shipping' ? 'Domestic Delivery' : 'Shipped',
- "description": _vm.formatStepDesc(_vm.orderDetail.AU_WH_Client)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": "Delivered",
- "description": _vm.formatStepDesc(_vm.orderDetail.Delivered)
- }
- })], 1)], 2), _vm._ssrNode(" "), _vm.orderDetail.Sample_Stage ? _vm._ssrNode("<div" + _vm._ssrClass("steps", {
- 'margin-b-30': _vm.stepShow
- }) + " data-v-0272884e>", "</div>", [_vm._ssrNode("<p" + _vm._ssrClass("steps-title pointer", {
- 'margin-b-50': _vm.stepShow
- }) + " data-v-0272884e>\n Sample Dispatch\n <i" + _vm._ssrClass(null, _vm.stepShow ? 'el-icon-arrow-down' : 'el-icon-arrow-right') + " data-v-0272884e></i></p> "), _vm.stepShow ? _c('el-steps', {
- attrs: {
- "active": _vm.comSampleState,
- "align-center": "",
- "space": 180,
- "direction": _vm.computedStepDirection,
- "finish-status": "success",
- "process-status": "wait"
- }
- }, [_c('el-step', {
- attrs: {
- "title": "Factory Process",
- "description": _vm.formatStepDesc(_vm.orderDetail.Sample_Factory_Confirmed)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": "Sample Dispatching",
- "description": _vm.formatStepDesc(_vm.orderDetail.Sample_Dispatching)
- }
- }), _vm._v(" "), _c('el-step', {
- attrs: {
- "title": "Sample Delivered",
- "description": _vm.formatStepDesc(_vm.orderDetail.Sample_Delivered)
- }
- })], 1) : _vm._e()], 2) : _vm._e()], 2), _vm._ssrNode(" <section class=\"main-custom\" data-v-0272884e><p class=\"sharing-title\" data-v-0272884e>Customer information</p> <div data-v-0272884e><p class=\"sharing-subtitle\" data-v-0272884e>" + _vm._ssrEscape("\n " + _vm._s(_vm.isShow ? 'Billing' : 'Supplier') + " Address\n ") + "</p> <div class=\"sharing-address\" data-v-0272884e><p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Account_Name_name)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Billing_Unit_Building_Name)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Billing_Street)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Billing_City)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Billing_State)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Billing_Code)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Billing_Country)) + "</p></div></div> <div data-v-0272884e><p class=\"sharing-subtitle\" data-v-0272884e>Shipping Address</p> <div class=\"sharing-address\" data-v-0272884e><p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Shipping_Unit_Building_Name)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Shipping_Street)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Shipping_City)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Shipping_State)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Shipping_Code)) + "</p> <p data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Shipping_Country)) + "</p></div></div></section> "), _vm._ssrNode("<section data-v-0272884e>", "</section>", [_vm._ssrNode("<p class=\"sharing-title\" data-v-0272884e>Shipping information</p> "), _c('el-table', {
- staticStyle: {
- "width": "100%"
- },
- attrs: {
- "data": _vm.orderDetail.shipping_tracking,
- "header-cell-style": {
- background: '#F7F8FC',
- color: '#101010',
- fontWeight: 'normal'
- }
- }
- }, [_c('el-table-column', {
- staticStyle: {
- "padding": "0"
- },
- attrs: {
- "type": "expand"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (props) {
- return [_c('el-table', {
- staticStyle: {
- "margin-left": "50px",
- "width": "calc(100% - 50px)"
- },
- attrs: {
- "data": props.row.test_pkg_details,
- "header-cell-style": {
- background: '#F7F8FC',
- color: '#101010',
- fontWeight: 'normal'
- }
- }
- }, [_c('el-table-column', {
- attrs: {
- "prop": "Product_name",
- "label": "Item & Description"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Quantity_to_pack",
- "label": "QTY",
- "width": "450"
- }
- })], 1)];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Title",
- "label": "Job Name",
- "width": "190"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Courier",
- "label": "Carrier",
- "width": "190"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Tracking_No",
- "label": "Tracking#",
- "width": "190"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Package_Status",
- "label": "Shipment Status",
- "width": "190"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "label": "Delivery Address",
- "width": "250"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_c('span', [_vm._v("\n " + _vm._s(scope.row.Shipping_Unit_Building_Name)), _c('br'), _vm._v("\n " + _vm._s(scope.row.Shipping_Street)), _c('br'), _vm._v("\n " + _vm._s(scope.row.Shipping_City)), _c('br'), _vm._v("\n " + _vm._s(scope.row.Shipping_State) + "\n ")])];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Tracking_URL",
- "label": "",
- "width": "200"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return scope.row.Tracking_URL ? [_c('el-button', {
- staticStyle: {
- "background-color": "rgb(0, 33, 59)",
- "color": "#fff"
- },
- attrs: {
- "size": "mini",
- "plain": ""
- },
- nativeOn: {
- "click": function ($event) {
- return _vm.openTracking_URL(scope.row.Tracking_URL);
- }
- }
- }, [_vm._v("TRACK SHIPMENT")])] : undefined;
- }
- }], null, true)
- })], 1)], 2), _vm._ssrNode(" "), _vm._ssrNode("<section class=\"orderTable\" data-v-0272884e>", "</section>", [_vm._ssrNode("<p class=\"sharing-title\" data-v-0272884e>Products Information</p> "), _c('el-table', {
- staticStyle: {
- "width": "100%"
- },
- attrs: {
- "data": _vm.orderDetail.sales_orders_details,
- "header-cell-style": {
- background: '#fff',
- color: '#101010',
- fontWeight: 'normal'
- }
- }
- }, [_c('el-table-column', {
- attrs: {
- "type": "index",
- "label": "S.NO",
- "width": "70",
- "fixed": ""
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "label": "Product Name",
- "min-width": "300"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_c('p', {
- staticClass: "colorBlue"
- }, [_vm._v(_vm._s(scope.row.product_name))]), _vm._v(" "), _c('p', {
- domProps: {
- "innerHTML": _vm._s(scope.row.product_description)
- }
- })];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "quantity",
- "label": "Quantity",
- "align": "left",
- "width": _vm.isShow ? 125 : 200
- }
- }), _vm._v(" "), _vm.isShow ? [_c('el-table-column', {
- attrs: {
- "prop": "list_price",
- "label": `List Price(${_vm.comCurrency})`,
- "width": "125"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_vm._v("\n " + _vm._s(_vm.transformNumber(scope.row.list_price)) + "\n ")];
- }
- }], null, false, 2317124035)
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "amount",
- "label": `Amount(${_vm.comCurrency})`,
- "width": "125"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_vm._v("\n " + _vm._s(_vm.transformNumber(scope.row.amount)) + "\n ")];
- }
- }], null, false, 266223839)
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Tax",
- "label": `Tax(${_vm.comCurrency})`,
- "width": "125"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_vm._v("\n " + _vm._s(_vm.transformNumber(scope.row.Tax)) + "\n ")];
- }
- }], null, false, 576653726)
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Discount",
- "label": `Discount(${_vm.comCurrency})`,
- "width": "125"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_vm._v("\n " + _vm._s(_vm.transformNumber(scope.row.Discount)) + "\n ")];
- }
- }], null, false, 3596838958)
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "net_total",
- "label": `Total(${_vm.comCurrency})`,
- "width": "125"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_vm._v("\n " + _vm._s(_vm.transformNumber(scope.row.net_total)) + "\n ")];
- }
- }], null, false, 104449041)
- })] : _vm._e()], 2), _vm._ssrNode(" " + (_vm.isShow ? "<div class=\"table-wrap\" data-v-0272884e><table class=\"total\" data-v-0272884e><tr data-v-0272884e><td data-v-0272884e>Sub Total</td> <td data-v-0272884e>" + _vm._ssrEscape("\n " + _vm._s(_vm.comCurrency) + " " + _vm._s(_vm.transformNumber(_vm.orderDetail.Sub_Total)) + "\n ") + "</td></tr> <tr data-v-0272884e><td data-v-0272884e>Total Taxes</td> <td data-v-0272884e>" + _vm._ssrEscape("\n " + _vm._s(_vm.comCurrency) + " " + _vm._s(_vm.transformNumber(_vm.orderDetail.Tax_Total)) + "\n ") + "</td></tr> <tr data-v-0272884e><td data-v-0272884e>Total Discount</td> <td data-v-0272884e>" + _vm._ssrEscape("\n " + _vm._s(_vm.comCurrency) + "\n " + _vm._s(_vm.transformNumber(_vm.orderDetail.Total_Including_Discount)) + "\n ") + "</td></tr> <tr data-v-0272884e><td data-v-0272884e>Adjustment</td> <td data-v-0272884e>" + _vm._ssrEscape("\n " + _vm._s(_vm.comCurrency) + "\n " + _vm._s(_vm.transformNumber(_vm.orderDetail.Total_Adjustment)) + "\n ") + "</td></tr> <tr data-v-0272884e><td data-v-0272884e>Grand Total</td> <td data-v-0272884e>" + _vm._ssrEscape("\n " + _vm._s(_vm.comCurrency) + " " + _vm._s(_vm.transformNumber(_vm.orderDetail.Grand_Total)) + "\n ") + "</td></tr></table></div>" : "<!---->") + " " + (_vm.isShow ? "<p class=\"notes-1\" data-v-0272884e>Notes</p> <p class=\"notes-2\" data-v-0272884e>Terms & conditions</p> <p class=\"notes-2\" data-v-0272884e>Artwork Approval</p> <p class=\"notes-3\" data-v-0272884e>" + _vm._ssrEscape(_vm._s(_vm.orderDetail.Subject)) + "</p>" : "<!---->"))], 2)] : _vm._ssrNode("<div data-v-0272884e>", "</div>", [_c('el-empty', {
- attrs: {
- "description": "No Data"
- }
- })], 1), _vm._ssrNode(" "), _c('el-dialog', {
- attrs: {
- "lock-scroll": false,
- "visible": _vm.urlDialogShow,
- "center": "",
- "width": "850px",
- "top": "20vh"
- },
- on: {
- "update:visible": function ($event) {
- _vm.urlDialogShow = $event;
- }
- }
- }, [_c('iframe', {
- staticStyle: {
- "width": "100%",
- "height": "500px"
- },
- attrs: {
- "src": _vm.Tracking_URL,
- "frameborder": "0"
- }
- })]), _vm._ssrNode(" "), _c('export-dialog', {
- attrs: {
- "emailForm": _vm.shareForm,
- "visible": _vm.shareDialogVisible,
- "title": 'Client Tracking Share (no pricing displayed)',
- "labelShow": false
- },
- on: {
- "update:visible": function ($event) {
- _vm.shareDialogVisible = $event;
- }
- }
- })], 2);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./pages/home/myDetail/components/orderDetailPart.vue?vue&type=template&id=0272884e&scoped=true
- // EXTERNAL MODULE: ./node_modules/lodash.throttle/index.js
- var lodash_throttle = __webpack_require__(185);
- var lodash_throttle_default = /*#__PURE__*/__webpack_require__.n(lodash_throttle);
- // EXTERNAL MODULE: external "vuex"
- var external_vuex_ = __webpack_require__(6);
- // EXTERNAL MODULE: ./utils/price.js
- var price = __webpack_require__(175);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/home/myDetail/components/orderDetailPart.vue?vue&type=script&lang=js
- /* harmony default export */ var orderDetailPartvue_type_script_lang_js = ({
- name: 'OrderDetailPart',
- props: {
- isShow: {
- // 订单分享页面隐藏元素
- type: Boolean,
- default: true
- },
- hasUid: {
- type: Boolean,
- default: true
- }
- },
- data() {
- return {
- orderDetail: {},
- isLoading: 1,
- packageTable: [],
- stepShow: false,
- urlDialogShow: false,
- shareDialogVisible: false,
- loginCount: 0,
- shareForm: {
- Link: ''
- },
- Tracking_URL: '',
- stepConfig: {
- 'Order Confirmed': 1,
- 'Factory Confirmed': 2,
- 'GZ WH': 3,
- Transshipment: 4,
- 'AU WH': 5,
- 'AUWH - Client': 6,
- 'Bulk Production Shipping': 6,
- 'Bulk Production Delivered': 7,
- 'Completed Sales Order': 7,
- 'Factory Process': 1,
- 'Sample Dispatching': 2,
- 'Sample Delivered': 3
- },
- computedStepDirection: 'horizontal'
- };
- },
- computed: {
- loginSuccess() {
- return this.$store.state.loginSuccess;
- },
- comCurrency() {
- return this.orderDetail.Currency;
- },
- comOrderState() {
- if (this.orderDetail.Order_Stage === 'Cancelled') {
- return 0;
- }
- return this.stepConfig[this.orderDetail.Order_Stage];
- },
- comSampleState() {
- return this.stepConfig[this.orderDetail.Sample_Stage];
- }
- },
- watch: {
- loginSuccess(newVal) {
- if (newVal) {
- this.getOrderDetail(); // 当登录成功后调用获取订单详情
- this.$store.commit('setLoginSuccess', false);
- }
- }
- },
- beforeMount() {
- window.addEventListener('resize', this.judgeStepDirection, false);
- this.judgeStepDirection();
- },
- created() {
- this.getOrderDetail();
- },
- beforeDestroy() {
- window.removeEventListener('resize', this.judgeStepDirection, false);
- },
- methods: {
- ...Object(external_vuex_["mapMutations"])({
- openDialog: 'openDialog'
- }),
- judgeStepDirection: lodash_throttle_default()(function () {
- this.computedStepDirection = window.document.body.clientWidth >= 1000 ? 'horizontal' : 'vertical';
- }, 300),
- toggleStep() {
- this.stepShow = !this.stepShow;
- },
- getOrderDetail() {
- let path = '';
- let data = {};
- if (this.isShow) {
- const {
- id
- } = this.$store.state.userInfo;
- const {
- crm,
- id: queryId
- } = this.$route.query;
- path = '/uk-api/crmdata/orders_detail';
- this.shareForm.Link = `https://www.trackship.com.au/orderShare/${id}/${crm}/${queryId}`;
- data = {
- accounts_id: crm,
- id: queryId
- };
- } else {
- path = '/uk-api/crmdata/showOrdersDetail';
- if (this.hasUid) {
- const {
- uid,
- aid,
- id
- } = this.$route.params;
- data = {
- user_id: uid,
- accounts_id: aid,
- id
- };
- } else {
- const {
- aid,
- id
- } = this.$route.params;
- data = {
- accounts_id: aid,
- id
- };
- }
- }
- this.$axios.post(path, data).then(res => {
- var _this$orderDetail$shi, _this$orderDetail$sal;
- if (res.result === null) {
- this.handleBranchLogic();
- }
- this.orderDetail = res.result;
- if ((_this$orderDetail$shi = this.orderDetail.shipping_tracking) !== null && _this$orderDetail$shi !== void 0 && _this$orderDetail$shi.length) {
- const isDelivered = true;
- for (const items of this.orderDetail.shipping_tracking) {
- var _items$test_pkg_detai;
- if ((_items$test_pkg_detai = items.test_pkg_details) !== null && _items$test_pkg_detai !== void 0 && _items$test_pkg_detai.length) {
- items.test_pkg_details.forEach(item => {
- item.Courier = items.Courier;
- item.Tracking_No = items.Tracking_No;
- item.Package_Status = items.Package_Status;
- item.Tracking_URL = items.Tracking_URL;
- });
- }
- }
- }
- if ((_this$orderDetail$sal = this.orderDetail.sales_orders_details) !== null && _this$orderDetail$sal !== void 0 && _this$orderDetail$sal.length) {
- if (this.isShow) {
- this.orderDetail.sales_orders_details.forEach(items => {
- this.$set(items, 'showMore', true);
- });
- } else {
- this.orderDetail.sales_orders_details = this.orderDetail.sales_orders_details.filter(item => {
- return item.product_Product_Code !== 'PC Setup Service' && item.product_Product_Code !== 'PC Freight';
- }).map(item => {
- this.$set(item, 'showMore', true);
- return item;
- });
- }
- }
- this.isLoading = 2;
- }).catch(() => {
- this.handleBranchLogic();
- });
- },
- handleBranchLogic() {
- this.isLoading = 3;
- if (this.loginCount) {
- this.$router.push('/');
- return;
- }
- this.isShow && setTimeout(() => {
- this.openDialog();
- this.loginCount = 1;
- }, 1000);
- },
- transformNumber(value) {
- return Object(price["a" /* round */])(Number(value)).toFixed(2);
- },
- formatStepDesc(date, isUnix = false) {
- return this.$utils.formatTime(date, 'DD/MM/YYYY', isUnix);
- },
- toggleShow(row) {
- row.showMore = !row.showMore;
- },
- openTracking_URL(url) {
- this.Tracking_URL = url;
- this.urlDialogShow = true;
- }
- }
- });
- // CONCATENATED MODULE: ./pages/home/myDetail/components/orderDetailPart.vue?vue&type=script&lang=js
- /* harmony default export */ var components_orderDetailPartvue_type_script_lang_js = (orderDetailPartvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./pages/home/myDetail/components/orderDetailPart.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(209)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_orderDetailPartvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "0272884e",
- "4359a921"
-
- )
- /* harmony default export */ var orderDetailPart = __webpack_exports__["default"] = (component.exports);
- /* nuxt-component-imports */
- installComponents(component, {ImageList: __webpack_require__(196).default,ExportDialog: __webpack_require__(197).default})
- /***/ }),
- /***/ 363:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/home/myDetail/orderDetail.vue?vue&type=template&id=01f46a4a
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- staticClass: "com-main com-margin-auto"
- }, [_c('el-breadcrumb', {
- attrs: {
- "separator-class": "el-icon-arrow-right"
- }
- }, [_c('el-breadcrumb-item', {
- attrs: {
- "to": {
- path: '/'
- }
- }
- }, [_vm._v("Home")]), _vm._v(" "), _c('el-breadcrumb-item', {
- attrs: {
- "to": {
- path: '/home/myDetail',
- query: {
- type: 'all-orders'
- }
- }
- }
- }, [_vm._v("My Orders")]), _vm._v(" "), _c('el-breadcrumb-item', [_vm._v("detail")])], 1), _vm._ssrNode(" "), _c('order-detail-part')], 2);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./pages/home/myDetail/orderDetail.vue?vue&type=template&id=01f46a4a
- // EXTERNAL MODULE: ./pages/home/myDetail/components/orderDetailPart.vue + 4 modules
- var orderDetailPart = __webpack_require__(222);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/home/myDetail/orderDetail.vue?vue&type=script&lang=js
- /* harmony default export */ var orderDetailvue_type_script_lang_js = ({
- components: {
- orderDetailPart: orderDetailPart["default"]
- }
- });
- // CONCATENATED MODULE: ./pages/home/myDetail/orderDetail.vue?vue&type=script&lang=js
- /* harmony default export */ var myDetail_orderDetailvue_type_script_lang_js = (orderDetailvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./pages/home/myDetail/orderDetail.vue
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- myDetail_orderDetailvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- null,
- null,
- "37977c27"
-
- )
- /* harmony default export */ var orderDetail = __webpack_exports__["default"] = (component.exports);
- /***/ })
- };;
- //# sourceMappingURL=orderDetail.js.map
|