chunk-18e0edde.60f4d391.js 14 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-18e0edde"],{"3b8d":function(t,e,r){"use strict";r.d(e,"a",function(){return a});var n=r("795b"),o=r.n(n);function i(t,e,r,n,i,a,c){try{var u=t[a](c),s=u.value}catch(f){return void r(f)}u.done?e(s):o.a.resolve(s).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new o.a(function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)})}}},"50fc":function(t,e,r){"use strict";r.d(e,"d",function(){return o}),r.d(e,"e",function(){return i}),r.d(e,"c",function(){return a}),r.d(e,"h",function(){return c}),r.d(e,"i",function(){return u}),r.d(e,"b",function(){return s}),r.d(e,"a",function(){return f}),r.d(e,"g",function(){return l}),r.d(e,"f",function(){return d}),r.d(e,"j",function(){return p}),r.d(e,"k",function(){return h});var n=r("b775");function o(){return n["a"].get("/admin/order/statistics",{},{login:!0})}function i(t){return n["a"].get("/admin/order/data",t,{login:!0})}function a(t){return n["a"].get("/admin/order/list",t,{login:!0})}function c(t){return n["a"].post("/admin/order/price",t,{login:!0})}function u(t){return n["a"].post("/admin/order/remark",t,{login:!0})}function s(t){return n["a"].get("/admin/order/detail/"+t,{},{login:!0})}function f(t){return n["a"].get("/admin/order/delivery/gain/"+t,{},{login:!0})}function l(t){return n["a"].post("/admin/order/delivery/keep",t,{login:!0})}function d(t){return n["a"].get("/admin/order/time",t,{login:!0})}function p(t){return n["a"].post("/admin/order/offline",t,{login:!0})}function h(t){return n["a"].post("/admin/order/refund",t,{login:!0})}},"61f7":function(t,e,r){"use strict";r.d(e,"e",function(){return a}),r.d(e,"a",function(){return l}),r.d(e,"d",function(){return d}),r.d(e,"b",function(){return g});var n=r("bd86"),o=(r("ac6a"),r("456d"),r("cebc")),i=(r("a481"),function(t,e){t.message=function(t){return e.replace("%s",t||"")}});function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o["a"])({required:!0,message:t,type:"string"},e)}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o["a"])({type:"url",message:t},e)}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o["a"])({type:"email",message:t},e)}function s(t){return w.pattern(/^[\w]+$/,t)}function f(t){return w.pattern(/^[\w\d_-]+$/,t)}function l(t){return w.pattern(/^[\w\d]+$/,t)}function d(t){return w.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}function p(t){return w.pattern(/^[\u4e00-\u9fa5]+$/,t)}function h(t){return w.pattern(/^[\u4e00-\u9fa5\w]+$/,t)}function v(t){return w.pattern(/^[\u4e00-\u9fa5\w\d]+$/,t)}function m(t){return w.pattern(/^[\u4e00-\u9fa5\w\d-_]+$/,t)}function g(t){return w.pattern(/^1(3|4|5|7|8|9|6)\d{9}$/i,t)}i(a,"请输入%s"),i(c,"请输入正确的链接"),i(u,"请输入正确的邮箱地址"),i(s,"%s必须是字母"),i(f,"%s只能包含由字母、数字,以及 - 和 _"),i(l,"%s只能包含字母、数字"),i(d,"%s格式不正确"),i(p,"%s只能是汉字"),i(h,"%s只能包含汉字、字母"),i(v,"%s只能包含汉字、字母和数字"),i(m,"%s只能包含由汉字、字母、数字,以及 - 和 _"),i(g,"请输入正确的手机号码");var y={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"},w=Object.keys(y).reduce(function(t,e){return t[e]=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a="range"===e?{min:t[0],max:t[1]}:Object(n["a"])({},e,t);return Object(o["a"])({message:r.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},a,i)},i(t[e],y[e]),t},{});e["c"]=w},"795b":function(t,e,r){t.exports=r("696e")},"96cf":function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=C(t,r,a),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(n){return{type:"throw",arg:n}}}t.wrap=u;var f="suspendedStart",l="suspendedYield",d="executing",p="completed",h={};function v(){}function m(){}function g(){}var y={};y[i]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(O([])));_&&_!==r&&n.call(_,i)&&(y=_);var b=g.prototype=v.prototype=Object.create(y);function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function k(t){function e(r,o,i,a){var c=s(t[r],t,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===typeof f&&n.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(f).then(function(t){u.value=t,i(u)},function(t){return e("throw",t,i,a)})}a(c.arg)}var r;function o(t,n){function o(){return new Promise(function(r,o){e(t,n,r,o)})}return r=r?r.then(o,o):o()}this._invoke=o}function C(t,e,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return $()}r.method=o,r.arg=i;while(1){var a=r.delegate;if(a){var c=L(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=s(t,e,r);if("normal"===u.type){if(n=r.done?p:l,u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}function L(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator["return"]&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var r=t[i];if(r)return r.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){while(++o<t.length)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:$}}function $(){return{value:e,done:!0}}return m.prototype=b.constructor=g,g.constructor=m,g[c]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(k.prototype),k.prototype[a]=function(){return this},t.AsyncIterator=k,t.async=function(e,r,n,o){var i=new k(u(e,r,n,o));return t.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(b),b[c]="Generator",b[i]=function(){return this},b.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){while(e.length){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:O(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=n}catch(o){Function("r","regeneratorRuntime = r")(n)}},a716:function(t,e,r){"use strict";var n=r("e758"),o=r.n(n);o.a},de46:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"priceChange",class:!0===t.change?"on":""},[r("div",{staticClass:"priceTitle"},[t._v("\n "+t._s(0==t.status?1===t.orderInfo.refund_status?"立即退款":"一键改价":"订单备注")+"\n "),r("span",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})]),0==t.status?r("div",{staticClass:"listChange"},[0===t.orderInfo.refund_status?r("div",{staticClass:"item acea-row row-between-wrapper"},[r("div",[t._v("商品总价(¥)")]),r("div",{staticClass:"money"},[t._v("\n "+t._s(t.orderInfo.total_price)),r("span",{staticClass:"iconfont icon-suozi"})])]):t._e(),0===t.orderInfo.refund_status?r("div",{staticClass:"item acea-row row-between-wrapper"},[r("div",[t._v("原始邮费(¥)")]),r("div",{staticClass:"money"},[t._v("\n "+t._s(t.orderInfo.pay_postage)),r("span",{staticClass:"iconfont icon-suozi"})])]):t._e(),0===t.orderInfo.refund_status?r("div",{staticClass:"item acea-row row-between-wrapper"},[r("div",[t._v("实际支付(¥)")]),r("div",{staticClass:"money"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.price,expression:"price"}],class:!0===t.focus?"on":"",attrs:{type:"text"},domProps:{value:t.price},on:{focus:t.priceChange,input:function(e){e.target.composing||(t.price=e.target.value)}}})])]):t._e(),1===t.orderInfo.refund_status?r("div",{staticClass:"item acea-row row-between-wrapper"},[r("div",[t._v("实际支付(¥)")]),r("div",{staticClass:"money"},[t._v("\n "+t._s(t.orderInfo.pay_price)),r("span",{staticClass:"iconfont icon-suozi"})])]):t._e(),1===t.orderInfo.refund_status?r("div",{staticClass:"item acea-row row-between-wrapper"},[r("div",[t._v("退款金额(¥)")]),r("div",{staticClass:"money"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.refund_price,expression:"refund_price"}],class:!0===t.focus?"on":"",attrs:{type:"text"},domProps:{value:t.refund_price},on:{focus:t.priceChange,input:function(e){e.target.composing||(t.refund_price=e.target.value)}}})])]):t._e()]):r("div",{staticClass:"listChange"},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:t.remark,expression:"remark"}],attrs:{placeholder:t.orderInfo.remark?t.orderInfo.remark:"请填写备注信息..."},domProps:{value:t.remark},on:{input:function(e){e.target.composing||(t.remark=e.target.value)}}})]),r("div",{staticClass:"modify",on:{click:t.save}},[t._v("\n "+t._s(0===t.orderInfo.refund_status?"立即修改":"确认退款")+"\n ")]),1===t.orderInfo.refund_status?r("div",{staticClass:"modify1",on:{click:t.refuse}},[t._v("\n 拒绝退款\n ")]):t._e()]),r("div",{directives:[{name:"show",rawName:"v-show",value:!0===t.change,expression:"change === true"}],staticClass:"mask",on:{touchmove:function(t){t.preventDefault()}}})])},o=[],i={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,refund_price:0,remark:""}},watch:{orderInfo:function(){this.price=this.orderInfo.pay_price,this.refund_price=this.orderInfo.pay_price,this.remark=""}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.pay_price,this.$emit("closechange",!1)},save:function(){var t=this;t.$emit("savePrice",{price:t.price,refund_price:t.refund_price,type:1,remark:t.remark})},refuse:function(){var t=this;t.$emit("savePrice",{price:t.price,refund_price:t.refund_price,type:2,remark:t.remark})}}},a=i,c=(r("a716"),r("2877")),u=Object(c["a"])(a,n,o,!1,null,"55fd55d7",null);e["a"]=u.exports},e758:function(t,e,r){}}]);
  2. //# sourceMappingURL=chunk-18e0edde.60f4d391.js.map