chunk-64746ab9.bf488b7b.js 10 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-64746ab9"],{"1fac":function(t,e,n){"use strict";n("5d35")},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",a="hour",o="day",u="week",c="month",d="quarter",f="year",h="date",l="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},p=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},y={s:p,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+p(r,2,"0")+":"+p(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,a=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:f,w:u,d:o,D:h,h:a,m:s,s:i,ms:r,Q:d}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",_={};_[g]=$;var b=function(t){return t instanceof O},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();_[s]&&(i=s),n&&(_[s]=n,i=s);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var o=e.name;_[o]=e,i=o}return!r&&i&&(g=i),i||!r&&g},D=function(t,e){if(b(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new O(n)},M=y;M.l=w,M.i=b,M.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var O=function(){function $(t){this.$L=w(t.locale,null,!0),this.parse(t)}var p=$.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(M.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(m);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return M},p.isValid=function(){return!(this.$d.toString()===l)},p.isSame=function(t,e){var n=D(t);return this.startOf(e)<=n&&n<=this.endOf(e)},p.isAfter=function(t,e){return D(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<D(t)},p.$g=function(t,e,n){return M.u(t)?this[e]:this.set(n,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,e){var n=this,r=!!M.u(e)||e,d=M.p(t),l=function(t,e){var i=M.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(o)},m=function(t,e){return M.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},v=this.$W,$=this.$M,p=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case f:return r?l(1,0):l(31,11);case c:return r?l(1,$):l(0,$+1);case u:var g=this.$locale().weekStart||0,_=(v<g?v+7:v)-g;return l(r?p-_:p+(6-_),$);case o:case h:return m(y+"Hours",0);case a:return m(y+"Minutes",1);case s:return m(y+"Seconds",2);case i:return m(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(t,e){var n,u=M.p(t),d="set"+(this.$u?"UTC":""),l=(n={},n[o]=d+"Date",n[h]=d+"Date",n[c]=d+"Month",n[f]=d+"FullYear",n[a]=d+"Hours",n[s]=d+"Minutes",n[i]=d+"Seconds",n[r]=d+"Milliseconds",n)[u],m=u===o?this.$D+(e-this.$W):e;if(u===c||u===f){var v=this.clone().set(h,1);v.$d[l](m),v.init(),this.$d=v.set(h,Math.min(this.$D,v.daysInMonth())).$d}else l&&this.$d[l](m);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[M.p(t)]()},p.add=function(r,d){var h,l=this;r=Number(r);var m=M.p(d),v=function(t){var e=D(l);return M.w(e.date(e.date()+Math.round(t*r)),l)};if(m===c)return this.set(c,this.$M+r);if(m===f)return this.set(f,this.$y+r);if(m===o)return v(1);if(m===u)return v(7);var $=(h={},h[s]=e,h[a]=n,h[i]=t,h)[m]||1,p=this.$d.getTime()+r*$;return M.w(p,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=M.z(this),s=this.$H,a=this.$m,o=this.$M,u=n.weekdays,c=n.months,d=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},f=function(t){return M.s(s%12||12,t,"0")},h=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:M.s(o+1,2,"0"),MMM:d(n.monthsShort,o,c,3),MMMM:d(c,o),D:this.$D,DD:M.s(this.$D,2,"0"),d:String(this.$W),dd:d(n.weekdaysMin,this.$W,u,2),ddd:d(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(s),HH:M.s(s,2,"0"),h:f(1),hh:f(2),a:h(s,a,!0),A:h(s,a,!1),m:String(a),mm:M.s(a,2,"0"),s:String(this.$s),ss:M.s(this.$s,2,"0"),SSS:M.s(this.$ms,3,"0"),Z:i};return r.replace(v,(function(t,e){return e||m[t]||i.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(r,h,l){var m,v=M.p(h),$=D(r),p=($.utcOffset()-this.utcOffset())*e,y=this-$,g=M.m(this,$);return g=(m={},m[f]=g/12,m[c]=g,m[d]=g/3,m[u]=(y-p)/6048e5,m[o]=(y-p)/864e5,m[a]=y/n,m[s]=y/e,m[i]=y/t,m)[v]||y,l?g:M.a(g)},p.daysInMonth=function(){return this.endOf(c).$D},p.$locale=function(){return _[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},p.clone=function(){return M.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},$}(),S=O.prototype;return D.prototype=S,[["$ms",r],["$s",i],["$m",s],["$H",a],["$W",o],["$M",c],["$y",f],["$D",h]].forEach((function(t){S[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,O,D),t.$i=!0),D},D.locale=w,D.isDayjs=b,D.unix=function(t){return D(1e3*t)},D.en=_[g],D.Ls=_,D.p={},D}))},"5d35":function(t,e,n){},"6d67":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(1);r(r.P+r.F*!n("2f21")([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},"7b5d":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"wrap"},[t._l(t.orderInfo.order_item,(function(e,n){return r("div",{directives:[{name:"show",rawName:"v-show",value:t.orderInfo.order_item,expression:"orderInfo.order_item"}],key:n,staticClass:"item-content"},[r("img",{staticClass:"product-img",attrs:{src:e.cover,mode:"aspectFill"}}),r("div",{staticClass:"item-content-sidebar"},[r("div",{staticClass:"product-item-row-between"},[r("div",{staticClass:"product-item-name"},[t._v("\n\t\t\t\t\t"+t._s(e.goods_name||e.name)+"\n\t\t\t\t")]),r("div",{staticClass:"row-end"},[r("span",{staticClass:"product-item-price"},[t._v("¥"+t._s(e.sell_price))]),r("span",{staticClass:"product-item-num"},[t._v("x "),r("span",[t._v(t._s(e.num))])])])]),r("div",{staticClass:"product-item-tag"},[r("span",[t._v(t._s(e.goods_spec))])])])])})),r("div",{staticClass:"bottom"},[r("div",{staticClass:"box-between"},[r("div",{staticClass:"box-between-sidebar"},[r("img",{attrs:{src:t.info.logo,mode:""}}),r("span",[t._v(t._s(t.info.expName||"")+" "+t._s(t.info.number))])]),r("button",{staticClass:"copy-btn",attrs:{type:"default"},on:{click:function(e){return t.copy(t.info.number)}}},[t._v("复制")])]),r("div",{staticClass:"timeLine"},[t._l(t.list,(function(e,n){return r("div",{key:n,staticClass:"timeLine_li"},[r("div",{staticClass:"time-row",class:{active:0==n}},[r("span",[t._v(t._s(e.timeStr))]),r("span",[t._v(t._s(e.dateStr))])]),r("div",{staticClass:"timeLine_row"},[r("span",{class:{active:0==n}})]),r("div",{staticClass:"timeLine_box"},[r("div",{staticClass:"con",class:{active:0==n}},[t._v(t._s(e.status))])])])})),0==t.list.length?r("div",{staticClass:"normal-box"},[r("img",{attrs:{src:n("519d"),mode:"widthFix"}}),t._v("\n\t\t\t\t暂无数据\n\t\t\t")]):t._e()],2)])],2)},i=[],s=(n("1c01"),n("58b2"),n("8e6e"),n("f3e2"),n("d25f"),n("ac6a"),n("456d"),n("bd86")),a=(n("6d67"),n("5a0c")),o=n.n(a),u=n("67cf");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={data:function(){return{list:[],info:{},orderInfo:{id:0,order_item:[]}}},mounted:function(){var t=this.$route.query;this.orderInfo.id=parseInt(t.id||0),this.orderInfo.id>0&&this.getOrderDetail()},methods:{getOrderDetail:function(){var t=this;Object(u["Gb"])({order_id:this.orderInfo.id}).then((function(e){var n=e.code,r=e.msg,i=e.data;1==n?(t.orderInfo=i.detail,t.deliveryDetails()):t.$message.error(r)}))},deliveryDetails:function(){var t=this;Object(u["y"])({send_no:this.orderInfo.express_send_no}).then((function(e){var n=e.code,r=e.msg,i=e.data;1==n?(t.list=i.list.map((function(t){return d(d({},t),{},{dateStr:o()(t.time).format("YYYY-MM-DD"),timeStr:o()(t.time).format("HH:mm:ss")})})),t.info=i):t.$message.error(r)}))},copy:function(t){try{var e=document.createElement("input");e.setAttribute("value",t),document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.$message.success("复制成功")}catch(n){this.$message.error("复制失败")}}}},h=f,l=(n("1fac"),n("2877")),m=Object(l["a"])(h,r,i,!1,null,"3ec63289",null);e["default"]=m.exports}}]);
  2. //# sourceMappingURL=chunk-64746ab9.bf488b7b.js.map