dggzichahu/public/pc/_nuxt/1f2676c.js

1 line
7.3 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{404:function(e,t,r){"use strict";var n=r(11),l=r(5),o=r(116),d=r(23),c=r(15),v=r(52),h=r(251),m=r(81),f=r(7),_=r(83),x=r(82).f,y=r(42).f,w=r(22).f,C=r(405).trim,N="Number",S=l.Number,I=S.prototype,A=v(_(I))==N,k=function(e){var t,r,n,l,o,d,c,code,v=m(e,!1);if("string"==typeof v&&v.length>2)if(43===(t=(v=C(v)).charCodeAt(0))||45===t){if(88===(r=v.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(v.charCodeAt(1)){case 66:case 98:n=2,l=49;break;case 79:case 111:n=8,l=55;break;default:return+v}for(d=(o=v.slice(2)).length,c=0;c<d;c++)if((code=o.charCodeAt(c))<48||code>l)return NaN;return parseInt(o,n)}return+v};if(o(N,!S(" 0o1")||!S("0b1")||S("+0x1"))){for(var E,F=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof F&&(A?f((function(){I.valueOf.call(r)})):v(r)!=N)?h(new S(k(t)),r,F):k(t)},T=n?x(S):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),O=0;T.length>O;O++)c(S,E=T[O])&&!c(F,E)&&w(F,E,y(S,E));F.prototype=I,I.constructor=F,d(l,N,F)}},405:function(e,t,r){var n=r(27),l="["+r(406)+"]",o=RegExp("^"+l+l+"*"),d=RegExp(l+l+"*$"),c=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(o,"")),2&e&&(r=r.replace(d,"")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},406:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},438:function(e,t,r){var content=r(458);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(14).default)("3e5ddd00",content,!0,{sourceMap:!1})},457:function(e,t,r){"use strict";r(438)},458:function(e,t,r){var n=r(13)(!1);n.push([e.i,".deliver-search-container .deliver-box .deliver-recode-box[data-v-c351ad84]{padding:10px 20px;background-color:#f2f2f2}.deliver-search-container .deliver-box .deliver-recode-box .recode-img[data-v-c351ad84]{position:relative;width:72px;height:72px}.deliver-search-container .deliver-box .deliver-recode-box .recode-img .float-count[data-v-c351ad84]{position:absolute;bottom:0;height:20px;width:100%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.deliver-search-container .deliver-box .deliver-recode-box .recode-info-container[data-v-c351ad84]{flex:1}.deliver-search-container .deliver-box .deliver-recode-box .recode-info-container .recode-label[data-v-c351ad84]{width:70px}.deliver-search-container .deliver-box .deliver-recode-box .recode-info-container .copy-btn[data-v-c351ad84]{height:20px;min-width:42px;border:1px solid #ff2c3c;font-size:12px;margin-left:8px;border-radius:60px;cursor:pointer}.deliver-search-container .deliver-box .deliver-recode-box .recode-info-container .copy-btn[data-v-c351ad84]:hover{background-color:#fff}.deliver-search-container .deliver-box .deliver-flow-box[data-v-c351ad84]{padding-left:15px}",""]),e.exports=n},464:function(e,t,r){"use strict";r.r(t);var n=r(3),l=(r(47),r(404),{props:{value:{type:Boolean,default:!1},aid:{type:Number|String}},data:function(){return{showDialog:!1,deliverBuy:{},delivery:{},deliverFinish:{},deliverOrder:{},deliverShipment:{},deliverTake:{},timeLineArray:[]}},watch:{value:function(e){console.log(e,"val"),this.showDialog=e},showDialog:function(e){e&&this.aid&&(this.timeLineArray=[],this.getDeliverTraces()),this.$emit("input",e)}},methods:{getDeliverTraces:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var data,r,n,l,o,d,c,v,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return data={id:e.aid},t.next=3,e.$get("order/orderTraces",{params:data});case 3:1==(r=t.sent).code&&(n=r.data,l=n.buy,o=n.delivery,d=n.finish,c=n.order,v=n.shipment,h=n.take,e.deliverBuy=l,e.delivery=o,e.deliverFinish=d,e.deliverOrder=c,e.deliverShipment=v,e.deliverTake=h,e.timeLineArray.push(e.deliverFinish),e.timeLineArray.push(e.delivery),e.timeLineArray.push(e.deliverShipment),e.timeLineArray.push(e.deliverBuy),console.log(e.timeLineArray));case 5:case"end":return t.stop()}}),t)})))()},onCopy:function(){var e=document.createElement("input");e.value=this.deliverOrder.invoice_no,document.body.appendChild(e),e.select(),document.execCommand("Copy"),this.$message.success("复制成功"),e.remove()}}}),o=(r(457),r(8)),component=Object(o.a)(l,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"deliver-search-container"},[r("el-dialog",{attrs:{visible:e.showDialog,width:"920px",title:"物流查询"},on:{"update:visible":function(t){e.showDialog=t}}},[r("div",{staticClass:"deliver-box"},[r("div",{staticClass:"deliver-recode-box row"},[r("div",{staticClass:"recode-img"},[r("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{fit:"cover",src:e.deliverOrder.image}}),e._v(" "),r("div",{staticClass:"float-count row-center"},[e._v("共"+e._s(e.deliverOrder.count)+"件商品")])],1),e._v(" "),r("div",{staticClass:"recode-info-container ml10"},[r("div",{staticClass:"row"},[r("div",{staticClass:"recode-label"},[e._v("物流状态:")]),e._v(" "),r("div",{staticClass:"primary lg",staticStyle:{"font-weight":"500"}},[e._v(e._s(e.deliverOrder.tips))])]),e._v(" "),r("div",{staticClass:"row",staticStyle:{margin:"6px 0"}},[r("div",{staticClass:"recode-label"},[e._v("快递公司:")]),e._v(" "),r("div",[e._v(e._s(e.deliverOrder.shipping_name))])]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"recode-label"},[e._v("快递单号:")]),e._v(" "),r("div",[e._v(e._s(e.deliverOrder.invoice_no))]),e._v(" "),r("div",{staticClass:"copy-btn primary row-center",on:{click:e.onCopy}},[e._v("复制")])])])]),e._v(" "),r("div",{staticClass:"deliver-flow-box mt16"},[r("el-timeline",[this.deliverFinish.tips?r("el-timeline-item",[r("div",[r("div",{staticClass:"row lg"},[r("div",{staticClass:"mr8",staticStyle:{"font-weight":"500"}},[e._v("\n "+e._s(this.deliverTake.contacts)+"\n ")]),e._v(" "),r("div",{staticStyle:{"font-weight":"500"}},[e._v(e._s(this.deliverTake.mobile))])]),e._v(" "),r("div",{staticClass:"lighter mt8"},[e._v(e._s(this.deliverTake.address))])])]):e._e(),e._v(" "),this.deliverFinish.tips?r("el-timeline-item",{attrs:{timestamp:this.deliverFinish.time}},[r("div",{staticClass:"time-line-title"},[e._v(e._s(this.deliverFinish.title))]),e._v(" "),r("div",[e._v(e._s(this.deliverFinish.tips))])]):e._e(),e._v(" "),this.delivery.traces&&this.delivery.traces.length?r("el-timeline-item",{attrs:{timestamp:this.delivery.time}},[r("div",{staticClass:"time-line-title mb8"},[e._v(e._s(this.delivery.title))]),e._v(" "),e._l(this.delivery.traces,(function(t,n){return r("el-timeline-item",{key:n,attrs:{timestamp:t[0]}},[r("div",{staticClass:"muted"},[e._v(e._s(t[1]))])])}))],2):e._e(),e._v(" "),this.deliverShipment.tips?r("el-timeline-item",{attrs:{timestamp:this.deliverShipment.time}},[r("div",{staticClass:"time-line-title"},[e._v(e._s(this.deliverShipment.title))]),e._v(" "),r("div",[e._v(e._s(this.deliverShipment.tips))])]):e._e(),e._v(" "),this.deliverBuy.tips?r("el-timeline-item",{attrs:{timestamp:this.deliverBuy.time}},[r("div",{staticClass:"time-line-title"},[e._v(e._s(this.deliverBuy.title))]),e._v(" "),r("div",[e._v(e._s(this.deliverBuy.tips))])]):e._e()],1)],1)])])],1)}),[],!1,null,"c351ad84",null);t.default=component.exports}}]);