{"version":3,"sources":["webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/asyncToGenerator.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/views/user/promotion/UserCash.vue?4b5d","webpack:///src/views/user/promotion/UserCash.vue","webpack:///./src/views/user/promotion/UserCash.vue?a715","webpack:///./src/views/user/promotion/UserCash.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","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","render","_vm","_h","$createElement","_c","_self","staticClass","_l","item","index","on","click","$event","swichNav","class","currentTab","icon","_v","_s","hidden","directives","rawName","post","expression","placeholder","domProps","input","target","composing","$set","change","$$selectedVal","Array","filter","options","o","selected","map","val","_value","multiple","minPrice","commissionCount","submitted","staticRenderFns","UserCashvue_type_script_lang_js_","components","props","data","navList","extract_type","alipay_code","money","bankname","cardnum","weixin","banks","mounted","getBank","methods","that","user","res","extractBank","$dialog","msg","_submitted","asyncToGenerator","_callee","save","_save","_save2","_context","parseFloat","t0","$validator","validate","t1","dialog","t2","t3","_this","router","path","promotion_UserCashvue_type_script_lang_js_","component","componentNormalizer"],"mappings":"kHAAAA,EAAAC,EAAAC,EAAA,sBAAAC,IAAA,IAAAC,EAAAJ,EAAA,QAAAK,EAAAL,EAAAM,EAAAF,GAEA,SAAAG,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,GACA,IACA,IAAAC,EAAAP,EAAAK,GAAAC,GACAE,EAAAD,EAAAC,MACG,MAAAC,GAEH,YADAP,EAAAO,GAIAF,EAAAG,KACAT,EAAAO,GAEIX,EAAAc,EAAQV,QAAAO,GAAAI,KAAAT,EAAAC,GAIG,SAAAT,EAAAkB,GACf,kBACA,IAAAC,EAAAC,KACAC,EAAAC,UACA,WAAepB,EAAAc,EAAQ,SAAAV,EAAAC,GACvB,IAAAF,EAAAa,EAAAK,MAAAJ,EAAAE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3F,OAAAqO,EAAA,KAAArO,CAAA+N,EAAAQ,KArFA,eAAAR,EAAApI,OAAA,qCAAAoI,EAAA3F,SAAAuF,EAAAxO,KAAA,sCAAA+M,IAAA,OAAAuB,EAAAnO,MAAAH,KAAAE,WAAA,OAAA6M,EAAA,GA0FA0B,KAAA,SAAAjP,GAAA,IAAA6P,EAAArP,KACAa,OAAAoN,EAAA,KAAApN,CAAArB,GAAAK,KACA,SAAAqO,GACAmB,EAAAjB,QAAA7N,QAAA2N,EAAAG,KACAgB,EAAAC,OAAAjI,KAAA,CAAAkI,KAAA,iBAEA,SAAA7P,GACA2P,EAAAjB,QAAA7N,QAAAb,EAAA2O,UCnOgXmB,EAAA,cCOhXC,EAAgB5O,OAAA6O,EAAA,KAAA7O,CACd2O,EACApF,EACA4C,GACF,EACA,KACA,KACA,MAIerO,EAAA,WAAA8Q","file":"h5/js/chunk-0b32185c.17406204.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}","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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"cash-withdrawal\"},[_c('div',{staticClass:\"nav acea-row\"},_vm._l((_vm.navList),function(item,index){return _c('div',{key:index,staticClass:\"item font-color-green\",on:{\"click\":function($event){return _vm.swichNav(index, item)}}},[_c('div',{staticClass:\"line bg-color-green\",class:_vm.currentTab === index ? 'on' : ''}),_c('div',{staticClass:\"iconfont\",class:item.icon + ' ' + (_vm.currentTab === index ? 'on' : '')}),_c('div',[_vm._v(_vm._s(item.name))])])}),0),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"list\",attrs:{\"hidden\":_vm.currentTab !== 0}},[_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"持卡人\")]),_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.name),expression:\"post.name\"}],attrs:{\"placeholder\":\"请输入持卡人姓名\"},domProps:{\"value\":(_vm.post.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.post, \"name\", $event.target.value)}}})])]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"卡号\")]),_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.cardnum),expression:\"post.cardnum\"}],attrs:{\"placeholder\":\"请填写卡号\"},domProps:{\"value\":(_vm.post.cardnum)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.post, \"cardnum\", $event.target.value)}}})])]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"银行\")]),_c('div',{staticClass:\"input\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.bankname),expression:\"post.bankname\"}],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.$set(_vm.post, \"bankname\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"请选择银行\")]),_vm._l((_vm.banks),function(item,index){return _c('option',{key:index,attrs:{\"value\":\"item\"}},[_vm._v(_vm._s(item))])})],2)])]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"提现\")]),_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.money),expression:\"post.money\"}],attrs:{\"placeholder\":'最低提现金额' + _vm.minPrice},domProps:{\"value\":(_vm.post.money)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.post, \"money\", $event.target.value)}}})])]),_c('div',{staticClass:\"tip\"},[_vm._v(\"当前可提现金额: \"+_vm._s(_vm.commissionCount))]),_c('div',{staticClass:\"bnt bg-color-green\",on:{\"click\":_vm.submitted}},[_vm._v(\"提现\")])]),_c('div',{staticClass:\"list\",attrs:{\"hidden\":_vm.currentTab !== 1}},[_c('div',{staticClass:\"tip2\"},[_vm._v(\"当前可提现金额: \"+_vm._s(_vm.commissionCount))]),_c('div',{staticClass:\"value\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.money),expression:\"post.money\"}],attrs:{\"placeholder\":\"0\"},domProps:{\"value\":(_vm.post.money)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.post, \"money\", $event.target.value)}}})]),_c('div',{staticClass:\"bnt bg-color-green\",on:{\"click\":_vm.submitted}},[_vm._v(\"提现\")])]),_c('div',{staticClass:\"list\",attrs:{\"hidden\":_vm.currentTab !== 2}},[_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"用户名\")]),_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.name),expression:\"post.name\"}],attrs:{\"placeholder\":\"请填写您的支付宝用户名\"},domProps:{\"value\":(_vm.post.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.post, \"name\", $event.target.value)}}})])]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"账号\")]),_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.alipay_code),expression:\"post.alipay_code\"}],attrs:{\"placeholder\":\"请填写您的支付宝账号\"},domProps:{\"value\":(_vm.post.alipay_code)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.post, \"alipay_code\", $event.target.value)}}})])]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"提现\")]),_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.post.money),expression:\"post.money\"}],attrs:{\"placeholder\":'最低提现金额' + _vm.minPrice},domProps:{\"value\":(_vm.post.money)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.post, \"money\", $event.target.value)}}})])]),_c('div',{staticClass:\"tip\"},[_vm._v(\"当前可提现金额: \"+_vm._s(_vm.commissionCount))]),_c('div',{staticClass:\"bnt bg-color-green\",on:{\"click\":_vm.submitted}},[_vm._v(\"提现\")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n  <div class=\"cash-withdrawal\">\r\n    <div class=\"nav acea-row\">\r\n      <div\r\n        v-for=\"(item, index) in navList\"\r\n        class=\"item font-color-green\"\r\n        @click=\"swichNav(index, item)\"\r\n        :key=\"index\"\r\n      >\r\n        <div\r\n          class=\"line bg-color-green\"\r\n          :class=\"currentTab === index ? 'on' : ''\"\r\n        ></div>\r\n        <div\r\n          class=\"iconfont\"\r\n          :class=\"item.icon + ' ' + (currentTab === index ? 'on' : '')\"\r\n        ></div>\r\n        <div>{{ item.name }}</div>\r\n      </div>\r\n    </div>\r\n    <div class=\"wrapper\">\r\n      <div :hidden=\"currentTab !== 0\" class=\"list\">\r\n        <div class=\"item acea-row row-between-wrapper\">\r\n          <div class=\"name\">持卡人</div>\r\n          <div class=\"input\">\r\n            <input placeholder=\"请输入持卡人姓名\" v-model=\"post.name\" />\r\n          </div>\r\n        </div>\r\n        <div class=\"item acea-row row-between-wrapper\">\r\n          <div class=\"name\">卡号</div>\r\n          <div class=\"input\">\r\n            <input placeholder=\"请填写卡号\" v-model=\"post.cardnum\" />\r\n          </div>\r\n        </div>\r\n        <div class=\"item acea-row row-between-wrapper\">\r\n          <div class=\"name\">银行</div>\r\n          <div class=\"input\">\r\n            <select v-model=\"post.bankname\">\r\n              <option value=\"\">请选择银行</option>\r\n              <option\r\n                v-for=\"(item, index) in banks\"\r\n                :key=\"index\"\r\n                value=\"item\"\r\n                >{{ item }}</option\r\n              >\r\n            </select>\r\n          </div>\r\n        </div>\r\n        <div class=\"item acea-row row-between-wrapper\">\r\n          <div class=\"name\">提现</div>\r\n          <div class=\"input\">\r\n            <input\r\n              :placeholder=\"'最低提现金额' + minPrice\"\r\n              v-model=\"post.money\"\r\n            />\r\n          </div>\r\n        </div>\r\n        <div class=\"tip\">当前可提现金额: {{ commissionCount }}</div>\r\n        <div class=\"bnt bg-color-green\" @click=\"submitted\">提现</div>\r\n      </div>\r\n      <div :hidden=\"currentTab !== 1\" class=\"list\">\r\n        <div class=\"tip2\">当前可提现金额: {{ commissionCount }}</div>\r\n        <div class=\"value\"><input placeholder=\"0\" v-model=\"post.money\" /></div>\r\n        <div class=\"bnt bg-color-green\" @click=\"submitted\">提现</div>\r\n      </div>\r\n      <div :hidden=\"currentTab !== 2\" class=\"list\">\r\n        <div class=\"item acea-row row-between-wrapper\">\r\n          <div class=\"name\">用户名</div>\r\n          <div class=\"input\">\r\n            <input placeholder=\"请填写您的支付宝用户名\" v-model=\"post.name\" />\r\n          </div>\r\n        </div>\r\n        <div class=\"item acea-row row-between-wrapper\">\r\n          <div class=\"name\">账号</div>\r\n          <div class=\"input\">\r\n            <input\r\n              placeholder=\"请填写您的支付宝账号\"\r\n              v-model=\"post.alipay_code\"\r\n            />\r\n          </div>\r\n        </div>\r\n        <div class=\"item acea-row row-between-wrapper\">\r\n          <div class=\"name\">提现</div>\r\n          <div class=\"input\">\r\n            <input\r\n              :placeholder=\"'最低提现金额' + minPrice\"\r\n              v-model=\"post.money\"\r\n            />\r\n          </div>\r\n        </div>\r\n        <div class=\"tip\">当前可提现金额: {{ commissionCount }}</div>\r\n        <div class=\"bnt bg-color-green\" @click=\"submitted\">提现</div>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>\r\n<script>\r\nimport { getBank, postCashInfo } from \"../../../api/user\";\r\nimport { required } from \"@utils/validate\";\r\nimport { validatorDefaultCatch } from \"@utils/dialog\";\r\n\r\nexport default {\r\n  name: \"UserCash\",\r\n  components: {},\r\n  props: {},\r\n  data: function() {\r\n    return {\r\n      navList: [\r\n        { name: \"银行卡\", type: \"bank\", icon: \"icon-yinhangqia\" },\r\n        { name: \"微信\", type: \"weixin\", icon: \"icon-weixin2\" },\r\n        { name: \"支付宝\", type: \"alipay\", icon: \"icon-icon34\" }\r\n      ],\r\n      post: {\r\n        extract_type: \"bank\",\r\n        alipay_code: \"\",\r\n        money: \"\",\r\n        name: \"\",\r\n        bankname: \"\",\r\n        cardnum: \"\",\r\n        weixin: \"\"\r\n      },\r\n      currentTab: 0,\r\n      minPrice: 0,\r\n      banks: [],\r\n      commissionCount: 0\r\n    };\r\n  },\r\n  mounted: function() {\r\n    this.getBank();\r\n  },\r\n  methods: {\r\n    swichNav: function(index, item) {\r\n      this.currentTab = index;\r\n      this.post.extract_type = item.type;\r\n    },\r\n    getBank: function() {\r\n      let that = this;\r\n      getBank().then(\r\n        res => {\r\n          that.banks = res.data.extractBank;\r\n          that.minPrice = res.data.minPrice;\r\n          that.commissionCount = res.data.commissionCount;\r\n        },\r\n        function(err) {\r\n          that.$dialog.message(err.msg);\r\n        }\r\n      );\r\n    },\r\n    async submitted() {\r\n      let bankname = this.post.bankname,\r\n        alipay_code = this.post.alipay_code,\r\n        money = this.post.money,\r\n        name = this.post.name,\r\n        cardnum = this.post.cardnum,\r\n        weixin = this.post.weixin,\r\n        that = this;\r\n      if (\r\n        parseFloat(money) < parseFloat(that.commissionCount) ||\r\n        parseFloat(that.commissionCount) == 0\r\n      )\r\n        return that.$dialog.message(\"余额不足\");\r\n      if (parseFloat(money) < parseFloat(that.minPrice))\r\n        return that.$dialog.message(\"最低提现金额\" + that.minPrice);\r\n      switch (that.post.extract_type) {\r\n        case \"bank\":\r\n          try {\r\n            await this.$validator({\r\n              name: [required.message(\"持卡人姓名\")],\r\n              cardnum: [required(required.message(\"卡号\"))],\r\n              bankname: [required(required(\"请选择提现银行\"))],\r\n              money: [required.message(\"提现金额\")]\r\n            }).validate({ bankname, cardnum, name, money });\r\n            let save = {\r\n              extract_type: that.post.extract_type,\r\n              bankname: bankname,\r\n              cardnum: cardnum,\r\n              name: name,\r\n              money: money\r\n            };\r\n            that.save(save);\r\n          } catch (e) {\r\n            return validatorDefaultCatch(e);\r\n          }\r\n          break;\r\n        case \"alipay\":\r\n          try {\r\n            await this.$validator({\r\n              name: [required(required.message(\"支付宝用户名\"))],\r\n              alipay_code: [required(required.message(\"支付宝账号\"))],\r\n              money: [required(required.message(\"提现金额\"))]\r\n            }).validate({ name, alipay_code, money });\r\n            let save = {\r\n              extract_type: that.post.extract_type,\r\n              alipay_code: alipay_code,\r\n              name: name,\r\n              money: money\r\n            };\r\n            that.save(save);\r\n          } catch (e) {\r\n            return validatorDefaultCatch(e);\r\n          }\r\n          break;\r\n        case \"weixin\":\r\n          try {\r\n            await this.$validator({\r\n              weixin: [required(required.message(\"提现微信号\"))],\r\n              money: [required(required.message(\"提现金额\"))]\r\n            }).validate({ weixin, money });\r\n            let save = {\r\n              extract_type: that.post.extract_type,\r\n              weixin: weixin,\r\n              money: money\r\n            };\r\n            that.save(save);\r\n          } catch (e) {\r\n            return validatorDefaultCatch(e);\r\n          }\r\n          break;\r\n      }\r\n    },\r\n    save: function(info) {\r\n      postCashInfo(info).then(\r\n        res => {\r\n          this.$dialog.message(res.msg);\r\n          this.router.push({ path: \"/user/audit\" });\r\n        },\r\n        error => {\r\n          this.$dialog.message(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!./UserCash.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!./UserCash.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserCash.vue?vue&type=template&id=0602411e&\"\nimport script from \"./UserCash.vue?vue&type=script&lang=js&\"\nexport * from \"./UserCash.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":""}