{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_string-pad.js","webpack:///./node_modules/core-js/modules/es6.regexp.constructor.js","webpack:///./node_modules/core-js/modules/es6.set.js","webpack:///./node_modules/core-js/modules/es6.array.map.js","webpack:///./node_modules/core-js/modules/es6.date.now.js","webpack:///./node_modules/core-js/modules/_string-repeat.js","webpack:///./node_modules/core-js/modules/_validate-collection.js","webpack:///./node_modules/core-js/modules/_collection-strong.js","webpack:///./node_modules/core-js/modules/_collection.js","webpack:///./src/utils/index.js","webpack:///./node_modules/core-js/modules/es7.string.pad-start.js","webpack:///./src/api/order.js"],"names":["toLength","repeat","defined","module","exports","that","maxLength","fillString","left","S","String","stringLength","length","fillStr","undefined","intMaxLength","fillLen","stringFiller","call","Math","ceil","slice","global","inheritIfRequired","dP","f","gOPN","isRegExp","$flags","$RegExp","RegExp","Base","proto","prototype","re1","re2","CORRECT_NEW","p","tiRE","this","piRE","fiU","constructor","source","proxy","key","configurable","get","set","it","keys","i","strong","validate","SET","arguments","add","value","def","$export","$map","P","F","map","callbackfn","now","Date","getTime","toInteger","count","str","res","n","Infinity","RangeError","isObject","TYPE","_t","TypeError","create","redefineAll","ctx","anInstance","forOf","$iterDefine","step","setSpecies","DESCRIPTORS","fastKey","SIZE","getEntry","entry","index","_i","_f","k","getConstructor","wrapper","NAME","IS_MAP","ADDER","C","iterable","_l","clear","data","r","next","prev","forEach","v","has","setStrong","iterated","kind","_k","redefine","meta","fails","$iterDetect","setToStringTag","methods","common","IS_WEAK","O","fixMethod","KEY","fn","a","b","entries","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","iter","BUGGY_ZERO","$instance","target","NEED","G","W","parseTime","time","cFormat","date","format","test","parseInt","replace","toString","formatObj","y","getFullYear","m","getMonth","d","getDate","h","getHours","getMinutes","s","getSeconds","getDay","time_str","result","padStart","$pad","userAgent","WEBKIT_BUG","SubmitOrder","params","service","post","EditOrder","put","getdetailbyId","sumbitorderdetail","deletedetailbyid","delete","FinishOrder","FinishOrderAdvance","retutnadvanceabyid","CreditFinishOrder","FinishGoodsOrder","changetable","deletebyid","changeorderstate","mergeorder","unmergeorder","getorderrecord","GetOrderRecordById","Getsaledaily","Getsaledailysummary","payresultquery","returndetailbyid","getgoodssalereport","getgoodssalerecord","unsettle","refundresultquery","reneworder","Pauseorder","stoptimegoods","edittimegoods","continuetimegoods","getlsorderrecord","GetLssaledaily","getlsgoodssalereport","GetLsStoresaleReport","gettrendreport","giftgoodsbyid","orderreturnbyid","deleteorderreturnbyid","getgoodssave","deletgoodssavebyid","returngoodssavebyid","deletegoodssavedetailbyid","getcouponlist","changegoodstable","advancesumbitorderdetail","advanceorderdelete","getadvanceorderlist","repairorderfinish","gettablesalereport","orderdetailchangeprice","ConsumerSMS","checkmemberver","getcommissionreport"],"mappings":"qGACA,IAAIA,EAAW,EAAQ,QACnBC,EAAS,EAAQ,QACjBC,EAAU,EAAQ,QAEtBC,EAAOC,QAAU,SAAUC,EAAMC,EAAWC,EAAYC,GACtD,IAAIC,EAAIC,OAAOR,EAAQG,IACnBM,EAAeF,EAAEG,OACjBC,OAAyBC,IAAfP,EAA2B,IAAMG,OAAOH,GAClDQ,EAAef,EAASM,GAC5B,GAAIS,GAAgBJ,GAA2B,IAAXE,EAAe,OAAOJ,EAC1D,IAAIO,EAAUD,EAAeJ,EACzBM,EAAehB,EAAOiB,KAAKL,EAASM,KAAKC,KAAKJ,EAAUH,EAAQD,SAEpE,OADIK,EAAaL,OAASI,IAASC,EAAeA,EAAaI,MAAM,EAAGL,IACjER,EAAOS,EAAeR,EAAIA,EAAIQ,I,uBCdvC,IAAIK,EAAS,EAAQ,QACjBC,EAAoB,EAAQ,QAC5BC,EAAK,EAAQ,QAAgBC,EAC7BC,EAAO,EAAQ,QAAkBD,EACjCE,EAAW,EAAQ,QACnBC,EAAS,EAAQ,QACjBC,EAAUP,EAAOQ,OACjBC,EAAOF,EACPG,EAAQH,EAAQI,UAChBC,EAAM,KACNC,EAA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C,OAAQC,KAAR,sCAAoDF,IAElGiD,EAAqB,SAAAjD,GAAY,OAAOC,OAAQ7H,IAAR,gCAA6C,CAAE4H,YAEvFkD,EAAsB,SAAAlD,GAAY,OAAOC,OAAQ7H,IAAR,iCAA8C,CAAE4H,YAEzFmD,EAAoB,SAAAnD,GAAY,OAAOC,OAAQ7H,IAAR,+BAA4C,CAAE4H,YAIrFoD,EAAqB,SAAApD,GAAW,OAAOC,OAAQC,KAAR,gCAA8CF,IAIrFqD,EAAyB,SAAArD,GAAY,OAAOC,OAAQO,OAAR,yBAAyC,CAAER,YAIvFsD,GAAc,SAAAtD,GAAY,OAAOC,OAAQ7H,IAAR,yBAAsC,CAAE4H,YAIzEuD,GAAiB,SAAAvD,GAAW,OAAOC,OAAQC,KAAR,4BAA0CF,IAI7EwD,GAAsB,SAAAxD,GAAY,OAAOC,OAAQC,KAAR,iCAA+CF","file":"js/chunk-26d71291.e449ea70.js","sourcesContent":["// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length');\nvar repeat = require('./_string-repeat');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, maxLength, fillString, left) {\n var S = String(defined(that));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n if (intMaxLength <= stringLength || fillStr == '') return S;\n var fillLen = intMaxLength - stringLength;\n var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","'use strict';\nvar toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n\nmodule.exports = function repeat(count) {\n var str = String(defined(this));\n var res = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n return res;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","/**\n * Created by PanJiaChen on 16/11/18.\n */\n/**\n * Parse the time to string\n * @param {(Object|string|number)} time\n * @param {string} cFormat\n * @returns {string | null}\n */\nexport function parseTime(time, cFormat) {\n if (arguments.length === 0 || !time) {\n return null\n }\n const format = cFormat || '{y}-{m}-{d} {h}:{i}:{s}'\n let date\n if (typeof time === 'object') {\n date = time\n } else {\n if ((typeof time === 'string')) {\n if ((/^[0-9]+$/.test(time))) {\n // support \"1548221490638\"\n time = parseInt(time)\n } else {\n // support safari\n // https://stackoverflow.com/questions/4310953/invalid-date-in-safari\n time = time.replace(new RegExp(/-/gm), '/')\n }\n }\n if ((typeof time === 'number') && (time.toString().length === 10)) {\n time = time * 1000\n }\n date = new Date(time)\n }\n const formatObj = {\n y: date.getFullYear(),\n m: date.getMonth() + 1,\n d: date.getDate(),\n h: date.getHours(),\n i: date.getMinutes(),\n s: date.getSeconds(),\n a: date.getDay()\n }\n const time_str = format.replace(/{([ymdhisa])+}/g, (result, key) => {\n const value = formatObj[key]\n // Note: getDay() returns 0 on Sunday\n if (key === 'a') { return ['日', '一', '二', '三', '四', '五', '六'][value ] }\n return value.toString().padStart(2, '0')\n })\n return time_str\n}\n/**\n * @param {number} time\n * @param {string} option\n * @returns {string}\n */\nexport function formatTime(time, option) {\n if (('' + time).length === 10) {\n time = parseInt(time) * 1000\n } else {\n time = +time\n }\n const d = new Date(time)\n const now = Date.now()\n const diff = (now - d) / 1000\n if (diff < 30) {\n return '刚刚'\n } else if (diff < 3600) {\n // less 1 hour\n return Math.ceil(diff / 60) + '分钟前'\n } else if (diff < 3600 * 24) {\n return Math.ceil(diff / 3600) + '小时前'\n } else if (diff < 3600 * 24 * 2) {\n return '1天前'\n }\n if (option) {\n return parseTime(time, option)\n } else {\n return (\n d.getMonth() +\n 1 +\n '月' +\n d.getDate() +\n '日' +\n d.getHours() +\n '时' +\n d.getMinutes() +\n '分'\n )\n }\n}\n/**\n * @param {string} url\n * @returns {Object}\n */\nexport function getQueryObject(url) {\n url = url == null ? window.location.href : url\n const search = url.substring(url.lastIndexOf('?') + 1)\n const obj = {}\n const reg = /([^?&=]+)=([^?&=]*)/g\n search.replace(reg, (rs, $1, $2) => {\n const name = decodeURIComponent($1)\n let val = decodeURIComponent($2)\n val = String(val)\n obj[name] = val\n return rs\n })\n return obj\n}\n/**\n * @param {string} input value\n * @returns {number} output value\n */\nexport function byteLength(str) {\n // returns the byte length of an utf8 string\n let s = str.length\n for (var i = str.length - 1; i >= 0; i--) {\n const code = str.charCodeAt(i)\n if (code > 0x7f && code <= 0x7ff) s++\n else if (code > 0x7ff && code <= 0xffff) s += 2\n if (code >= 0xDC00 && code <= 0xDFFF) i--\n }\n return s\n}\n/**\n * @param {Array} actual\n * @returns {Array}\n */\nexport function cleanArray(actual) {\n const newArray = []\n for (let i = 0; i < actual.length; i++) {\n if (actual[i]) {\n newArray.push(actual[i])\n }\n }\n return newArray\n}\n/**\n * @param {Object} json\n * @returns {Array}\n */\nexport function param(json) {\n if (!json) return ''\n return cleanArray(\n Object.keys(json).map(key => {\n if (json[key] === undefined) return ''\n return encodeURIComponent(key) + '=' + encodeURIComponent(json[key])\n })\n ).join('&')\n}\n/**\n * @param {string} url\n * @returns {Object}\n */\nexport function param2Obj(url) {\n const search = decodeURIComponent(url.split('?')[1]).replace(/\\+/g, ' ')\n if (!search) {\n return {}\n }\n const obj = {}\n const searchArr = search.split('&')\n searchArr.forEach(v => {\n const index = v.indexOf('=')\n if (index !== -1) {\n const name = v.substring(0, index)\n const val = v.substring(index + 1, v.length)\n obj[name] = val\n }\n })\n return obj\n}\n/**\n * @param {string} val\n * @returns {string}\n */\nexport function html2Text(val) {\n const div = document.createElement('div')\n div.innerHTML = val\n return div.textContent || div.innerText\n}\n/**\n * Merges two objects, giving the last one precedence\n * @param {Object} target\n * @param {(Object|Array)} source\n * @returns {Object}\n */\nexport function objectMerge(target, source) {\n if (typeof target !== 'object') {\n target = {}\n }\n if (Array.isArray(source)) {\n return source.slice()\n }\n Object.keys(source).forEach(property => {\n const sourceProperty = source[property]\n if (typeof sourceProperty === 'object') {\n target[property] = objectMerge(target[property], sourceProperty)\n } else {\n target[property] = sourceProperty\n }\n })\n return target\n}\n/**\n * @param {HTMLElement} element\n * @param {string} className\n */\nexport function toggleClass(element, className) {\n if (!element || !className) {\n return\n }\n let classString = element.className\n const nameIndex = classString.indexOf(className)\n if (nameIndex === -1) {\n classString += '' + className\n } else {\n classString =\n classString.substr(0, nameIndex) +\n classString.substr(nameIndex + className.length)\n }\n element.className = classString\n}\n/**\n * @param {string} type\n * @returns {Date}\n */\nexport function getTime(type) {\n if (type === 'start') {\n return new Date().getTime() - 3600 * 1000 * 24 * 90\n } else {\n return new Date(new Date().toDateString())\n }\n}\n/**\n * @param {Function} func\n * @param {number} wait\n * @param {boolean} immediate\n * @return {*}\n */\nexport function debounce(func, wait, immediate) {\n let timeout, args, context, timestamp, result\n const later = function() {\n // 据上一次触发时间间隔\n const last = +new Date() - timestamp\n // 上次被包装函数被调用时间间隔 last 小于设定时间间隔 wait\n if (last < wait && last > 0) {\n timeout = setTimeout(later, wait - last)\n } else {\n timeout = null\n // 如果设定为immediate===true,因为开始边界已经调用过了此处无需调用\n if (!immediate) {\n result = func.apply(context, args)\n if (!timeout) context = args = null\n }\n }\n }\n return function(...args) {\n context = this\n timestamp = +new Date()\n const callNow = immediate && !timeout\n // 如果延时不存在,重新设定延时\n if (!timeout) timeout = setTimeout(later, wait)\n if (callNow) {\n result = func.apply(context, args)\n context = args = null\n }\n return result\n }\n}\n/**\n * This is just a simple version of deep copy\n * Has a lot of edge cases bug\n * If you want to use a perfect deep copy, use lodash's _.cloneDeep\n * @param {Object} source\n * @returns {Object}\n */\nexport function deepClone(source) {\n if (!source && typeof source !== 'object') {\n throw new Error('error arguments', 'deepClone')\n }\n const targetObj = source.constructor === Array ? [] : {}\n Object.keys(source).forEach(keys => {\n if (source[keys] && typeof source[keys] === 'object') {\n targetObj[keys] = deepClone(source[keys])\n } else {\n targetObj[keys] = source[keys]\n }\n })\n return targetObj\n}\n/**\n * @param {Array} arr\n * @returns {Array}\n */\nexport function uniqueArr(arr) {\n return Array.from(new Set(arr))\n}\n/**\n * @returns {string}\n */\nexport function createUniqueString() {\n const timestamp = +new Date() + ''\n const randomNum = parseInt((1 + Math.random()) * 65536) + ''\n return (+(randomNum + timestamp)).toString(32)\n}\n/**\n * Check if an element has a class\n * @param {HTMLElement} elm\n * @param {string} cls\n * @returns {boolean}\n */\nexport function hasClass(ele, cls) {\n return !!ele.className.match(new RegExp('(\\\\s|^)' + cls + '(\\\\s|$)'))\n}\n/**\n * Add class to element\n * @param {HTMLElement} elm\n * @param {string} cls\n */\nexport function addClass(ele, cls) {\n if (!hasClass(ele, cls)) ele.className += ' ' + cls\n}\n/**\n * Remove class from element\n * @param {HTMLElement} elm\n * @param {string} cls\n */\nexport function removeClass(ele, cls) {\n if (hasClass(ele, cls)) {\n const reg = new RegExp('(\\\\s|^)' + cls + '(\\\\s|$)')\n ele.className = ele.className.replace(reg, ' ')\n }\n}\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n","import service from '../utils/request'\r\n// 订单提交\r\nexport const SubmitOrder = params => { return service.post(`/api/order/SubmitOrder`, params) };\r\n// 修改订单\r\nexport const EditOrder = params => {return service.put(`/api/order/EditOrder`, params)};\r\n// 根据Id获取订单详情\r\nexport const getdetailbyId = params => { return service.get(`/api/order/GetOrderById`, { params }) };\r\n// 提交订单明细\r\nexport const sumbitorderdetail = params => { return service.post(`/api/order/sumbitorderdetail`, params) };\r\n// 根据明细行ID删除明细行\r\nexport const deletedetailbyid = params => { return service.delete(`/api/order/deletedetailbyid`, { params }) };\r\n// 订单结账\r\nexport const FinishOrder = params => {return service.post(`/api/order/FinishOrder`, params)};\r\n// 预付款收款\r\nexport const FinishOrderAdvance = params => {return service.post(`/api/order/FinishOrderAdvance`, params)};\r\n//预付款退款\r\nexport const retutnadvanceabyid = params => {return service.post(`/api/order/retutnadvanceabyid`, params)};\r\n// 挂单结账\r\nexport const CreditFinishOrder = params => {return service.post(`/api/order/CreditFinishOrder`, params)};\r\n//散客商品订单结账\r\nexport const FinishGoodsOrder = params => {return service.post(`/api/order/FinishGoodsOrder`, params)};\r\n//更换桌台\r\nexport const changetable = params => { return service.post(`/api/order/changetable`, params) };\r\n// 删除\r\nexport const deletebyid = params => {return service.delete(`/api/order/deletebyid`, {params})};\r\n//修改订单状态\r\nexport const changeorderstate = params => {return service.put(`/api/order/changeorderstate`, params)};\r\n// 合并账单\r\nexport const mergeorder = params => {return service.post(`/api/order/mergeorder`, params)};\r\n// 取消合并\r\nexport const unmergeorder = params => {return service.get(`/api/order/unmergeorder`, { params })};\r\n// 销售订单\r\nexport const getorderrecord = params => {return service.post(`/api/order/getorderrecord`, params)};\r\n\r\n\r\n// 销售订单汇总\r\nexport const getorderrecordsummary = params => {return service.post(`/api/order/getorderrecordsummary`, params)};\r\n// 根据Id获取订单详情\r\nexport const GetOrderRecordById = params => { return service.get(`/api/order/GetOrderRecordById`, { params }) };\r\n// 收银日报\r\nexport const Getsaledaily = params => {return service.post(`/api/order/Getsaledaily`, params)};\r\n// 收银日报汇总\r\nexport const Getsaledailysummary = params => {return service.post(`/api/order/Getsaledailysummary`, params)};\r\n// 查询支付信息\r\nexport const payresultquery = params => { return service.get(`/api/order/payresultquery`, { params }) };\r\n// 退货\r\nexport const returndetailbyid = params => {return service.delete(`/api/order/returndetailbyid`, {params})};\r\n// 商品销售\r\nexport const getgoodssalereport = params => { return service.post(`/api/order/getgoodssalereport`, params) };\r\n// 商品销售明细\r\nexport const getgoodssalerecord = params => { return service.post(`/api/order/getgoodssalerecord`, params) };\r\n// 订单提交\r\nexport const unsettle = params => { return service.post(`/api/order/unsettle`, params) };\r\n// 查询退款信息\r\nexport const refundresultquery = params => { return service.get(`/api/order/refundresultquery`, { params }) };\r\n// 恢复\r\nexport const reneworder = params => { return service.post(`/api/order/reneworder`, params) };\r\n// 暂停\r\nexport const Pauseorder = params => { return service.post(`/api/order/Pauseorder`, params) };\r\n// 计时商品完成计时\r\nexport const stoptimegoods = params => { return service.post(`/api/order/stoptimegoods`, params) };\r\n// 计时商品修改\r\nexport const edittimegoods = params => { return service.post(`/api/order/edittimegoods`, params) };\r\n// 计时商品完成计时\r\nexport const continuetimegoods = params => { return service.post(`/api/order/continuetimegoods`, params) };\r\n// 挂单\r\nexport const creditbyid = params => { return service.post(`/api/order/creditbyid`, params) };\r\n// 连锁销售订单\r\nexport const getlsorderrecord = params => {return service.post(`/api/order/getlsorderrecord`, params)};\r\n// 连锁收银日报表查询\r\nexport const GetLssaledaily = params => {return service.post(`/api/order/GetLssaledaily`, params)};\r\n// 连锁商品销售\r\nexport const getlsgoodssalereport = params => {return service.post(`/api/order/getlsgoodssalereport`, params)};\r\n// 连锁门店统计\r\nexport const GetLsStoresaleReport = params => {return service.post(`/api/order/GetLsStoresaleReport`, params)};\r\n// 销售趋势\r\nexport const gettrendreport = params => {return service.post(`/api/order/gettrendreport`, params)};\r\n// 根据明细行ID删除明细行\r\nexport const giftgoodsbyid = params => { return service.delete(`/api/order/giftgoodsbyid`, { params }) };\r\n// 翻台\r\nexport const orderreturnbyid = params => { return service.get(`/api/order/orderreturnbyid`, { params }) };\r\n// 取消翻台记录\r\nexport const deleteorderreturnbyid = params => { return service.get(`/api/order/deleteorderreturnbyid`, { params }) };\r\n// 领取寄存\r\nexport const getgoodssave = params => { return service.post(`/api/order/getgoodssave`, params) };\r\n// 取消翻台记录\r\nexport const deletgoodssavebyid = params => { return service.get(`/api/order/deletgoodssavebyid`, { params }) };\r\n// 转寄存\r\nexport const returngoodssavebyid = params => {return service.delete(`/api/order/returngoodssavebyid`, {params})};\r\n//删除转寄存\r\nexport const deletegoodssavedetailbyid = params => {return service.delete(`/api/order/deletegoodssavedetailbyid`, {params})};\r\n// 获取可用的优惠劵\r\nexport const getcouponlist = params => { return service.post(`/api/order/getcouponlist`, params) };\r\n//商品转台\r\nexport const changegoodstable = params => { return service.post(`/api/order/changegoodstable`, params) };\r\n// 提交预点单\r\nexport const advancesumbitorderdetail = params => { return service.post(`/api/order/advancesumbitorderdetail`, params) };\r\n// 取消预点单\r\nexport const advanceorderdelete = params => { return service.get(`/api/order/advanceorderdelete`, { params }) };\r\n//获取预点单列表\r\nexport const getadvanceorderlist = params => { return service.get(`/api/order/getadvanceorderlist`, { params }) };\r\n// 修复分担\r\nexport const repairorderfinish = params => { return service.get(`/api/order/repairorderfinish`, { params }) };\r\n\r\n\r\n// 桌台销售统计\r\nexport const gettablesalereport = params => {return service.post(`/api/order/gettablesalereport`, params)};\r\n\r\n\r\n// 商品改价\r\nexport const orderdetailchangeprice = params => { return service.delete(`/api/order/changeprice`, { params }) };\r\n\r\n\r\n// 发送会员消费短信验证码\r\nexport const ConsumerSMS = params => { return service.get(`/api/order/ConsumerSMS`, { params }) };\r\n\r\n\r\n// 会员密码或者短信验证码验证\r\nexport const checkmemberver = params => {return service.post(`/api/order/checkmemberver`, params)};\r\n\r\n\r\n// 商品销售\r\nexport const getcommissionreport = params => { return service.post(`/api/order/getcommissionreport`, params) };"],"sourceRoot":""}