chunk-7b11e4aa.9f2b4b6f.js.map 64 KB

1
  1. {"version":3,"sources":["webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/asyncToGenerator.js","webpack:///./src/api/admin.js","webpack:///./src/utils/validate.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/promise.js","webpack:///./node_modules/regenerator-runtime/runtime.js","webpack:///./src/assets/images/line.jpg","webpack:///./src/views/orderAdmin/GoodsDeliver.vue?be42","webpack:///src/views/orderAdmin/GoodsDeliver.vue","webpack:///./src/views/orderAdmin/GoodsDeliver.vue?4dc5","webpack:///./src/views/orderAdmin/GoodsDeliver.vue"],"names":["__webpack_require__","d","__webpack_exports__","_asyncToGenerator","_core_js_promise__WEBPACK_IMPORTED_MODULE_0__","_core_js_promise__WEBPACK_IMPORTED_MODULE_0___default","n","asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","a","then","fn","self","this","args","arguments","apply","err","undefined","getStatisticsInfo","getStatisticsMonth","getAdminOrderList","setAdminOrderPrice","setAdminOrderRemark","getAdminOrderDetail","getAdminOrderDelivery","setAdminOrderDelivery","getStatisticsTime","setOfflinePay","setOrderRefund","_utils_request__WEBPACK_IMPORTED_MODULE_0__","request","get","login","where","data","post","orderId","bindMessage","message","field","replace","required","opt","length","Object","E_webstorm_crmeb3_0_web_1_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_3__","type","url","email","alpha","attrs","pattern","alpha_dash","alpha_num","num","chs","chs_alpha","chs_alpha_num","chs_dash","chs_phone","baseAttr","min","max","range","keys","reduce","attr","_attr","E_webstorm_crmeb3_0_web_1_node_modules_babel_runtime_corejs2_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","concat","module","exports","runtime","Op","prototype","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","makeInvokeMethod","tryCatch","obj","call","GenStateSuspendedStart","GenStateSuspendedYield","GenStateExecuting","GenStateCompleted","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","AsyncIterator","invoke","record","result","Promise","__await","unwrapped","previousPromise","enqueue","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","i","constructor","displayName","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","async","iter","toString","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootEntry","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","Function","p","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","order_id","delivery","nickname","real_name","user_phone","user_address","_m","_l","item","index","class","active","on","click","$event","changeType","title","directives","rawName","expression","change","$$selectedVal","Array","filter","target","options","o","selected","map","val","_value","delivery_name","multiple","domProps","placeholder","input","composing","delivery_id","staticStyle","height","saveInfo","staticRenderFns","src","GoodsDelivervue_type_script_lang_js_","components","props","types","logistics","delivery_type","watch","$route.params.oid","newVal","that","getIndex","mounted","$route","params","oid","getLogistics","methods","admin","res","$dialog","msg","api_public","_saveInfo","asyncToGenerator","_callee","save","_context","t0","$validator","validate","t1","dialog","setInfo","t2","console","log","success","$router","go","orderAdmin_GoodsDelivervue_type_script_lang_js_","component","componentNormalizer"],"mappings":"kHAAAA,EAAAC,EAAAC,EAAA,sBAAAC,IAAA,IAAAC,EAAAJ,EAAA,QAAAK,EAAAL,EAAAM,EAAAF,GAEA,SAAAG,EAAAC,EAAAC,EAAA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AArG,KAAA,GAAAqG,EAAAxI,KAAA,GAqDA9H,KAAAwQ,WAAA,CACAxC,cAAA,CAAAhM,OAAAyO,EAAA,KAAAzO,CAAAyO,EAAA,KAAA/O,QAAA,WACA4M,YAAA,CAAAtM,OAAAyO,EAAA,KAAAzO,CAAAyO,EAAA,KAAA/O,QAAA,aACA+O,SAAA,CAAAzC,gBAAAM,gBAxDA,QAAAgC,EAAAxI,KAAA,wBAAAwI,EAAArG,KAAA,GAAAqG,EAAAO,GAAAP,EAAA,aAAAA,EAAA3I,OAAA,SA0DA3F,OAAA2O,EAAA,KAAA3O,CAAAsO,EAAAO,KA1DA,eA4DAR,EAAArC,gBACAqC,EAAA/B,cACAe,EAAAuB,QAAAP,GA9DAC,EAAA3I,OAAA,2BAiEA0H,EAAAuB,QAAAP,GAjEAC,EAAA3I,OAAA,qCAAA2I,EAAAlG,SAAAgG,EAAApQ,KAAA,8BAAAyO,IAAA,OAAAyB,EAAA/P,MAAAH,KAAAE,WAAA,OAAAuO,EAAA,GAqEAmC,QAAA,SAAAnE,GACA,IAAA4C,EAAArP,KACA8Q,QAAAC,IAAAtE,GACAzK,OAAA6N,EAAA,KAAA7N,CAAAyK,GAAA5M,KACA,SAAAiQ,GACAT,EAAAU,QAAAiB,QAAAlB,EAAAE,KACAX,EAAA4B,QAAAC,IAAA,IAEA,SAAAxR,GACA2P,EAAAU,QAAArQ,QAAAsQ,UCjNqWmB,EAAA,cCOrWC,EAAgBpP,OAAAqP,EAAA,KAAArP,CACdmP,EACA3F,EACAkD,GACF,EACA,KACA,KACA,MAIe/P,EAAA,WAAAyS","file":"h5/js/chunk-7b11e4aa.9f2b4b6f.js","sourcesContent":["import _Promise from \"../../core-js/promise\";\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n _Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new _Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","import request from \"@utils/request\";\r\n\r\n/**\r\n * 统计数据\r\n */\r\nexport function getStatisticsInfo() {\r\n return request.get(\"/admin/order/statistics\", {}, { login: true });\r\n}\r\n/**\r\n * 订单月统计\r\n */\r\nexport function getStatisticsMonth(where) {\r\n return request.get(\"/admin/order/data\", where, { login: true });\r\n}\r\n/**\r\n * 订单月统计\r\n */\r\nexport function getAdminOrderList(where) {\r\n return request.get(\"/admin/order/list\", where, { login: true });\r\n}\r\n/**\r\n * 订单改价\r\n */\r\nexport function setAdminOrderPrice(data) {\r\n return request.post(\"/admin/order/price\", data, { login: true });\r\n}\r\n/**\r\n * 订单备注\r\n */\r\nexport function setAdminOrderRemark(data) {\r\n return request.post(\"/admin/order/remark\", data, { login: true });\r\n}\r\n/**\r\n * 订单详情\r\n */\r\nexport function getAdminOrderDetail(orderId) {\r\n return request.get(\"/admin/order/detail/\" + orderId, {}, { login: true });\r\n}\r\n/**\r\n * 订单发货信息获取\r\n */\r\nexport function getAdminOrderDelivery(orderId) {\r\n return request.get(\r\n \"/admin/order/delivery/gain/\" + orderId,\r\n {},\r\n { login: true }\r\n );\r\n}\r\n\r\n/**\r\n * 订单发货保存\r\n */\r\nexport function setAdminOrderDelivery(data) {\r\n return request.post(\"/admin/order/delivery/keep\", data, { login: true });\r\n}\r\n/**\r\n * 订单统计图\r\n */\r\nexport function getStatisticsTime(data) {\r\n return request.get(\"/admin/order/time\", data, { login: true });\r\n}\r\n/**\r\n * 线下付款订单确认付款\r\n */\r\nexport function setOfflinePay(data) {\r\n return request.post(\"/admin/order/offline\", data, { login: true });\r\n}\r\n/**\r\n * 订单确认退款\r\n */\r\nexport function setOrderRefund(data) {\r\n return request.post(\"/admin/order/refund\", data, { login: true });\r\n}\r\n","const bindMessage = (fn, message) => {\r\n fn.message = field => message.replace(\"%s\", field || \"\");\r\n};\r\n\r\nexport function required(message, opt = {}) {\r\n return {\r\n required: true,\r\n message,\r\n type: \"string\",\r\n ...opt\r\n };\r\n}\r\n\r\nbindMessage(required, \"请输入%s\");\r\n\r\nexport function url(message, opt = {}) {\r\n return {\r\n type: \"url\",\r\n message,\r\n ...opt\r\n };\r\n}\r\n\r\nbindMessage(url, \"请输入正确的链接\");\r\n\r\nexport function email(message, opt = {}) {\r\n return {\r\n type: \"email\",\r\n message,\r\n ...opt\r\n };\r\n}\r\n\r\nbindMessage(email, \"请输入正确的邮箱地址\");\r\n\r\n/**\r\n * 验证字段必须完全由字母构成。\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function alpha(message) {\r\n return attrs.pattern(/^[\\w]+$/, message);\r\n}\r\n\r\nbindMessage(alpha, \"%s必须是字母\");\r\n\r\n/**\r\n * 只能包含由字母、数字,以及 - 和 _\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function alpha_dash(message) {\r\n return attrs.pattern(/^[\\w\\d_-]+$/, message);\r\n}\r\n\r\nbindMessage(alpha_dash, \"%s只能包含由字母、数字,以及 - 和 _\");\r\n\r\n/**\r\n * 必须是完全是字母、数字\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function alpha_num(message) {\r\n return attrs.pattern(/^[\\w\\d]+$/, message);\r\n}\r\n\r\nbindMessage(alpha_num, \"%s只能包含字母、数字\");\r\n/**\r\n * 正确的金额\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function num(message) {\r\n return attrs.pattern(\r\n /(^[1-9]([0-9]+)?(\\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\\.[0-9]([0-9])?$)/,\r\n message\r\n );\r\n}\r\n\r\nbindMessage(num, \"%s格式不正确\");\r\n\r\n/**\r\n * 只能是汉字\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5]+$/, message);\r\n}\r\n\r\nbindMessage(chs, \"%s只能是汉字\");\r\n\r\n/**\r\n * 只能包含汉字、字母\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_alpha(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5\\w]+$/, message);\r\n}\r\n\r\nbindMessage(chs_alpha, \"%s只能包含汉字、字母\");\r\n\r\n/**\r\n * 只能包含汉字、字母和数字\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_alpha_num(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5\\w\\d]+$/, message);\r\n}\r\n\r\nbindMessage(chs_alpha_num, \"%s只能包含汉字、字母和数字\");\r\n\r\n/**\r\n * 只能包含由汉字、字母、数字,以及 - 和 _\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_dash(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5\\w\\d-_]+$/, message);\r\n}\r\n\r\nbindMessage(chs_dash, \"%s只能包含由汉字、字母、数字,以及 - 和 _\");\r\n\r\n/**\r\n * 手机号验证\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_phone(message) {\r\n return attrs.pattern(/^1(3|4|5|7|8|9|6)\\d{9}$/i, message);\r\n}\r\nbindMessage(chs_phone, \"请输入正确的手机号码\");\r\n\r\nconst baseAttr = {\r\n min: \"%s最小长度为:min\",\r\n max: \"%s最大长度为:max\",\r\n length: \"%s长度必须为:length\",\r\n range: \"%s长度为:range\",\r\n pattern: \"$s格式错误\"\r\n};\r\n\r\nconst attrs = Object.keys(baseAttr).reduce((attrs, key) => {\r\n attrs[key] = (attr, message = \"\", opt = {}) => {\r\n const _attr =\r\n key === \"range\" ? { min: attr[0], max: attr[1] } : { [key]: attr };\r\n\r\n return {\r\n message: message.replace(\r\n `:${key}`,\r\n key === \"range\" ? `${attr[0]}-${attr[1]}` : attr\r\n ),\r\n type: \"string\",\r\n ..._attr,\r\n ...opt\r\n };\r\n };\r\n bindMessage(attrs[key], baseAttr[key]);\r\n return attrs;\r\n}, {});\r\n\r\nexport default attrs;\r\n","module.exports = require(\"core-js/library/fn/promise\");","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunctionPrototype[toStringTagSymbol] =\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n prototype[method] = function(arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n if (!(toStringTagSymbol in genFun)) {\n genFun[toStringTagSymbol] = \"GeneratorFunction\";\n }\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return Promise.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return Promise.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new Promise(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList) {\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList)\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[toStringTagSymbol] = \"Generator\";\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","module.exports = __webpack_public_path__ + \"h5/img/line.05bf1c84.jpg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"deliver-goods\"},[_c('header',[_c('div',{staticClass:\"order-num acea-row row-between-wrapper\"},[_c('div',{staticClass:\"num line1\"},[_vm._v(\"订单号:\"+_vm._s(_vm.order_id))]),_c('div',{staticClass:\"name line1\"},[_c('span',{staticClass:\"iconfont icon-yonghu2\"}),_vm._v(_vm._s(_vm.delivery.nickname)+\"\\n \")])]),_c('div',{staticClass:\"address\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"\\n \"+_vm._s(_vm.delivery.real_name)),_c('span',{staticClass:\"phone\"},[_vm._v(_vm._s(_vm.delivery.user_phone))])]),_c('div',[_vm._v(_vm._s(_vm.delivery.user_address))])]),_vm._m(0)]),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"发货方式\")]),_c('div',{staticClass:\"mode acea-row row-middle row-right\"},_vm._l((_vm.types),function(item,index){return _c('div',{key:index,staticClass:\"goods\",class:_vm.active === index ? 'on' : '',on:{\"click\":function($event){return _vm.changeType(item, index)}}},[_vm._v(\"\\n \"+_vm._s(item.title)),_c('span',{staticClass:\"iconfont icon-xuanzhong2\"})])}),0)]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.active === 0),expression:\"active === 0\"}],staticClass:\"list\"},[_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"发货方式\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.delivery_name),expression:\"delivery_name\"}],staticClass:\"mode\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.delivery_name=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"选择快递公司\")]),_vm._l((_vm.logistics),function(item,index){return _c('option',{key:index,domProps:{\"value\":item.name}},[_vm._v(_vm._s(item.name))])})],2),_c('span',{staticClass:\"iconfont icon-up\"})]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"快递单号\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.delivery_id),expression:\"delivery_id\"}],staticClass:\"mode\",attrs:{\"type\":\"text\",\"placeholder\":\"填写快递单号\"},domProps:{\"value\":(_vm.delivery_id)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.delivery_id=$event.target.value}}})])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.active === 1),expression:\"active === 1\"}],staticClass:\"list\"},[_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"送货人\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.delivery_name),expression:\"delivery_name\"}],staticClass:\"mode\",attrs:{\"type\":\"text\",\"placeholder\":\"填写送货人\"},domProps:{\"value\":(_vm.delivery_name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.delivery_name=$event.target.value}}})]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"送货电话\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.delivery_id),expression:\"delivery_id\"}],staticClass:\"mode\",attrs:{\"type\":\"text\",\"placeholder\":\"填写送货电话\"},domProps:{\"value\":(_vm.delivery_id)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.delivery_id=$event.target.value}}})])])]),_c('div',{staticStyle:{\"height\":\"1.2rem\"}}),_c('div',{staticClass:\"confirm\",on:{\"click\":_vm.saveInfo}},[_vm._v(\"确认提交\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"line\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/line.jpg\")}})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"deliver-goods\">\r\n <header>\r\n <div class=\"order-num acea-row row-between-wrapper\">\r\n <div class=\"num line1\">订单号:{{ order_id }}</div>\r\n <div class=\"name line1\">\r\n <span class=\"iconfont icon-yonghu2\"></span>{{ delivery.nickname }}\r\n </div>\r\n </div>\r\n <div class=\"address\">\r\n <div class=\"name\">\r\n {{ delivery.real_name\r\n }}<span class=\"phone\">{{ delivery.user_phone }}</span>\r\n </div>\r\n <div>{{ delivery.user_address }}</div>\r\n </div>\r\n <div class=\"line\"><img src=\"@assets/images/line.jpg\" /></div>\r\n </header>\r\n <div class=\"wrapper\">\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div>发货方式</div>\r\n <div class=\"mode acea-row row-middle row-right\">\r\n <div\r\n class=\"goods\"\r\n :class=\"active === index ? 'on' : ''\"\r\n v-for=\"(item, index) in types\"\r\n :key=\"index\"\r\n @click=\"changeType(item, index)\"\r\n >\r\n {{ item.title }}<span class=\"iconfont icon-xuanzhong2\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"list\" v-show=\"active === 0\">\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div>发货方式</div>\r\n <select class=\"mode\" v-model=\"delivery_name\">\r\n <option value=\"\">选择快递公司</option>\r\n <option\r\n :value=\"item.name\"\r\n v-for=\"(item, index) in logistics\"\r\n :key=\"index\"\r\n >{{ item.name }}</option\r\n >\r\n </select>\r\n <span class=\"iconfont icon-up\"></span>\r\n </div>\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div>快递单号</div>\r\n <input\r\n type=\"text\"\r\n placeholder=\"填写快递单号\"\r\n v-model=\"delivery_id\"\r\n class=\"mode\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"list\" v-show=\"active === 1\">\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div>送货人</div>\r\n <input\r\n type=\"text\"\r\n placeholder=\"填写送货人\"\r\n v-model=\"delivery_name\"\r\n class=\"mode\"\r\n />\r\n </div>\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div>送货电话</div>\r\n <input\r\n type=\"text\"\r\n placeholder=\"填写送货电话\"\r\n v-model=\"delivery_id\"\r\n class=\"mode\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n <div style=\"height:1.2rem;\"></div>\r\n <div class=\"confirm\" @click=\"saveInfo\">确认提交</div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getAdminOrderDelivery, setAdminOrderDelivery } from \"../../api/admin\";\r\nimport { getLogistics } from \"../../api/public\";\r\nimport { required } from \"@utils/validate\";\r\nimport { validatorDefaultCatch } from \"@utils/dialog\";\r\n\r\nexport default {\r\n name: \"GoodsDeliver\",\r\n components: {},\r\n props: {},\r\n data: function() {\r\n return {\r\n types: [\r\n {\r\n type: \"express\",\r\n title: \"发货\"\r\n },\r\n {\r\n type: \"send\",\r\n title: \"送货\"\r\n },\r\n {\r\n type: \"fictitious\",\r\n title: \"无需发货\"\r\n }\r\n ],\r\n active: 0,\r\n order_id: \"\",\r\n delivery: [],\r\n logistics: [],\r\n delivery_type: \"express\",\r\n delivery_name: \"\",\r\n delivery_id: \"\"\r\n };\r\n },\r\n watch: {\r\n \"$route.params.oid\": function(newVal) {\r\n let that = this;\r\n if (newVal != undefined) {\r\n that.order_id = newVal;\r\n that.getIndex();\r\n }\r\n }\r\n },\r\n mounted: function() {\r\n this.order_id = this.$route.params.oid;\r\n this.getIndex();\r\n this.getLogistics();\r\n },\r\n methods: {\r\n changeType: function(item, index) {\r\n this.active = index;\r\n this.delivery_type = item.type;\r\n this.delivery_name = \"\";\r\n this.delivery_id = \"\";\r\n },\r\n getIndex: function() {\r\n let that = this;\r\n getAdminOrderDelivery(that.order_id).then(\r\n res => {\r\n that.delivery = res.data;\r\n },\r\n error => {\r\n that.$dialog.error(error.msg);\r\n }\r\n );\r\n },\r\n getLogistics: function() {\r\n let that = this;\r\n getLogistics().then(\r\n res => {\r\n that.logistics = res.data;\r\n },\r\n error => {\r\n that.$dialog.error(error.msg);\r\n }\r\n );\r\n },\r\n async saveInfo() {\r\n let that = this,\r\n delivery_type = that.delivery_type,\r\n delivery_name = that.delivery_name,\r\n delivery_id = that.delivery_id,\r\n save = {};\r\n save.order_id = that.order_id;\r\n save.delivery_type = that.delivery_type;\r\n switch (delivery_type) {\r\n case \"send\":\r\n try {\r\n await this.$validator({\r\n delivery_name: [required(required.message(\"快递公司\"))],\r\n delivery_id: [required(required.message(\"快递单号\"))]\r\n }).validate({ delivery_name, delivery_id });\r\n } catch (e) {\r\n return validatorDefaultCatch(e);\r\n }\r\n save.delivery_name = delivery_name;\r\n save.delivery_id = delivery_id;\r\n that.setInfo(save);\r\n break;\r\n case \"express\":\r\n try {\r\n await this.$validator({\r\n delivery_name: [required(required.message(\"发货人姓名\"))],\r\n delivery_id: [required(required.message(\"发货人电话\"))]\r\n }).validate({ delivery_name, delivery_id });\r\n } catch (e) {\r\n return validatorDefaultCatch(e);\r\n }\r\n save.delivery_name = delivery_name;\r\n save.delivery_id = delivery_id;\r\n that.setInfo(save);\r\n break;\r\n case \"fictitious\":\r\n that.setInfo(save);\r\n break;\r\n }\r\n },\r\n setInfo: function(item) {\r\n let that = this;\r\n console.log(item);\r\n setAdminOrderDelivery(item).then(\r\n res => {\r\n that.$dialog.success(res.msg);\r\n that.$router.go(-1);\r\n },\r\n error => {\r\n that.$dialog.error(error.msg);\r\n }\r\n );\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsDeliver.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsDeliver.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsDeliver.vue?vue&type=template&id=6c77f504&\"\nimport script from \"./GoodsDeliver.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsDeliver.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}