pages-order_detail-order_detail.e0318c86.js 22 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_detail-order_detail"],{"0922":function(e,t,i){"use strict";i.r(t);var r=i("79d9"),n=i.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(o);t["default"]=n.a},"166e":function(e,t,i){"use strict";i.r(t);var r=i("b1d6"),n=i.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(o);t["default"]=n.a},"4bf3":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return r}));var r={uImage:i("c532").default,modal:i("0b4c").default,uModal:i("e196").default,uToast:i("b11c").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.orderInfo.id,expression:"orderInfo.id"}],staticClass:"order-detail p-l-20 p-r-20"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"white lg m-b-10"},[e._v(e._s(e.orderInfo.order_status_desc))])],1)],1),i("v-uni-view",{staticClass:"address-wrap flex contain bg-white row-between"},[i("v-uni-image",{staticClass:"m-r-20",staticStyle:{width:"40rpx",height:"40rpx"},attrs:{src:"/static/images/icon_address.png"}}),i("v-uni-view",{staticClass:"address flex-1"},[2==e.orderInfo.delivery_type?i("v-uni-view",[i("v-uni-view",{staticClass:"name md bold"},[e._v(e._s(e.orderInfo.selffetch_shop.name))]),i("v-uni-view",{staticClass:"phone md m-t-10"},[e._v(e._s(e.orderInfo.selffetch_shop.detailed_address))]),i("v-uni-view",{staticClass:"area sm m-t-10 lighter"},[e._v("营业时间:"+e._s(e.orderInfo.selffetch_shop.business_start_time)+" -\n "+e._s(e.orderInfo.selffetch_shop.business_end_time))])],1):i("v-uni-view",[i("v-uni-text",{staticClass:"name md bold m-r-10"},[e._v(e._s(e.orderInfo.address.contact))]),i("v-uni-text",{staticClass:"phone md"},[e._v(e._s(e.orderInfo.address.mobile))]),i("v-uni-view",{staticClass:"area sm m-t-10 lighter"},[e._v(e._s(e.orderInfo.delivery_address))])],1)],1),2!=e.orderInfo.delivery_type?i("v-uni-view",{staticClass:"copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copy(e.orderInfo.delivery_address)}}},[e._v("复制")]):e._e()],1),i("v-uni-view",{staticClass:"m-t-20 bg-white contain"},[i("v-uni-view",{staticClass:"p-t-20 p-b-20 p-l-20 flex"},[e._v("买家昵称:"+e._s(e.orderInfo.user.nickname)+" ("),i("v-uni-text",{staticClass:"sm"},[e._v("编号:"+e._s(e.orderInfo.user.sn))]),e._v(")")],1)],1),2==e.orderInfo.delivery_type?i("v-uni-view",{staticClass:"bg-white m-t-20 contain",staticStyle:{padding:"20rpx 20rpx 40rpx 20rpx"}},[i("v-uni-view",{staticClass:"black md bold"},[e._v("提货信息")]),i("v-uni-view",{staticClass:"sm"},[i("v-uni-view",{staticClass:"p-t-20"},[e._v("提货人:"+e._s(e.orderInfo.address.contact)+" ,"+e._s(e.orderInfo.address.mobile))])],1),i("v-uni-view",{staticClass:"sm"},[i("v-uni-view",{staticClass:"p-t-20"},[e._v("核销码:"+e._s(e.orderInfo.pickup_code))])],1),i("v-uni-view",{staticClass:"sm"},[i("v-uni-view",{staticClass:"p-t-20"},[e._v("核销状态:"+e._s(0==e.orderInfo.verification_status?"待核销":"已核销"))])],1),i("v-uni-view",{staticClass:"sm"},[i("v-uni-view",{staticClass:"p-t-20"},[e._v("提货时间:"+e._s(e.orderInfo.verification_time||"-"))])],1)],1):e._e(),i("v-uni-view",{staticClass:"m-t-20 bg-white contain"},[i("v-uni-view",{staticClass:"order-header flex row-between"},[i("v-uni-view",{staticClass:"black md bold"},[e._v("商品信息")])],1),i("v-uni-view",{staticClass:"order-goods"},[e._l(e.orderInfo.order_goods,(function(t,r){return[i("v-uni-view",{staticClass:"goods flex m-b-20",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toDetail(e.orderInfo.id)}}},[i("v-uni-view",{staticClass:"image"},[i("u-image",{attrs:{src:t.goods_image,width:"160rpx",height:"160rpx"}})],1),i("v-uni-view",{staticClass:"m-l-16 line-2"},[i("v-uni-view",{staticClass:"m-b-10 flex row-between col-top"},[i("v-uni-view",{staticClass:"order-name line"},[e._v(e._s(t.goods_name))]),i("v-uni-view",{staticClass:"text-right",staticStyle:{height:"100%"}},[i("v-uni-view",[e._v("¥"+e._s(0==e.orderInfo.order_type||4==e.orderInfo.order_type?t.original_price:t.goods_price))])],1)],1),i("v-uni-view",{staticClass:"order-str m-t-10 flex row-between"},[i("span",[e._v(e._s(t.spec_value_str))]),i("span",{staticStyle:{width:"50rpx"}},[e._v("x"+e._s(t.goods_num))])])],1)],1)]}))],2),i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"price-item flex row-between"},[i("v-uni-view",[e._v("商品总价:")]),i("v-uni-view",[e._v("¥"+e._s(0==e.orderInfo.order_type||4==e.orderInfo.order_type?e.orderInfo.total_original_price:e.orderInfo.goods_price))])],1),i("v-uni-view",{staticClass:"price-item flex row-between"},[i("v-uni-view",[e._v("运费:")]),i("v-uni-view",[e._v("¥"+e._s(e.orderInfo.express_price))])],1),e.orderInfo.discount_amount>0?i("v-uni-view",{staticClass:"price-item flex row-between"},[i("v-uni-view",[e._v("优惠券:")]),i("v-uni-view",{staticStyle:{color:"#ff0000"}},[e._v("-¥"+e._s(e.orderInfo.discount_amount))])],1):e._e(),e.orderInfo.member_amount>0?i("v-uni-view",{staticClass:"price-item flex row-between"},[i("v-uni-view",[e._v("会员折扣:")]),i("v-uni-view",{staticStyle:{color:"#ff0000"}},[e._v("-¥"+e._s(e.orderInfo.member_amount))])],1):e._e(),e.orderInfo.change_price>0?i("v-uni-view",{staticClass:"price-item flex row-between"},[i("v-uni-view",[e._v("商品改价:")]),i("v-uni-view",{staticStyle:{color:"#ff0000"}},[e._v("-¥"+e._s(e.orderInfo.change_price))])],1):e._e(),i("v-uni-view",{staticClass:"price-item flex row-right"},[i("v-uni-view",{staticClass:"muted sm"},[e._v("实付款:")]),i("v-uni-view",{staticStyle:{color:"#ff0000"}},[e._v("¥"+e._s(e.orderInfo.order_amount))])],1)],1)],1),e.orderInfo.delivery_content?i("v-uni-view",{staticClass:"bg-white m-t-20 contain",staticStyle:{padding:"20rpx 20rpx 40rpx 20rpx"}},[i("v-uni-view",{staticClass:"black md bold"},[e._v("发货内容")]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[i("v-uni-view",[e._v(e._s(e.orderInfo.delivery_content||"-"))]),i("v-uni-view",{staticClass:"flex row-right m-t-30",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copy(e.orderInfo.delivery_content)}}},[i("v-uni-view",{staticClass:"copy-btn"},[e._v("复制")])],1)],1)],1):e._e(),e.orderInfo.user_remark?i("v-uni-view",{staticClass:"bg-white m-t-20 contain",staticStyle:{padding:"20rpx 20rpx 40rpx 20rpx"}},[i("v-uni-view",{staticClass:"black md bold"},[e._v("买家留言")]),i("v-uni-view",{staticClass:"normal sm m-t-20",staticStyle:{"word-wrap":"break-word"}},[e._v(e._s(e.orderInfo.user_remark))])],1):e._e(),i("v-uni-view",{staticClass:"bg-white m-t-20 contain",staticStyle:{padding:"20rpx 20rpx 40rpx 20rpx"}},[i("v-uni-view",{staticClass:"black md bold"},[e._v("订单信息")]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[e._v("订单编号: "+e._s(e.orderInfo.sn))]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[e._v("订单类型: "+e._s(e.orderInfo.order_type_desc)+"("+e._s(e.orderInfo.order_terminal_desc)+")")]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[e._v("配送方式: "+e._s(e.orderInfo.delivery_type_desc))]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[e._v("支付方式: "+e._s(e.orderInfo.pay_way_desc||"——"))]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[e._v("下单时间: "+e._s(e.orderInfo.create_time))]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[e._v("支付时间: "+e._s(e.orderInfo.pay_time))]),i("v-uni-view",{staticClass:"normal sm m-t-20"},[e._v("完成时间: "+e._s(e.orderInfo.confirm_take_time))])],1),i("v-uni-view",{staticClass:"footer bg-white flex row-right"},[e.orderInfo.businesse_btn.editaddress_btn?[i("router-link",{attrs:{to:"/pages/address_edit/address_edit?id="+e.orderInfo.id}},[i("v-uni-button",{staticClass:"btn hollow br60 flex row-center normal"},[e._v("修改地址")])],1)]:e._e(),e.orderInfo.businesse_btn.cancel_btn?[i("v-uni-button",{staticClass:"btn hollow br60 flex row-center normal",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openFunc(e.orderInfo,"close")}}},[e._v("取消订单")])]:e._e(),e.orderInfo.businesse_btn.deliver_btn?[i("router-link",{attrs:{to:"/bundle/pages/deliver_goods/deliver_goods?id="+e.orderInfo.id+"&type="+e.orderInfo.order_type}},[i("v-uni-button",{staticClass:"btn solid br60 flex row-center normal"},[e._v("去发货")])],1)]:e._e(),e.orderInfo.businesse_btn.confirm_btn?[i("v-uni-button",{staticClass:"btn solid br60 flex row-center normal",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openFunc(e.orderInfo,"confirm")}}},[e._v("确认收货")])]:e._e(),e.orderInfo.businesse_btn.confirm_pay_btn?[i("v-uni-button",{staticClass:"btn solid br60 flex row-center normal",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openFunc(e.orderInfo,"confirmpay")}}},[e._v("确认付款")])]:e._e(),[e.orderInfo.businesse_btn.logistics_btn?i("v-uni-button",{staticClass:"btn hollow br60 flex row-center normal",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toTraces(e.orderInfo.id)}}},[e._v("查看物流")]):e._e()],e.orderInfo.businesse_btn.verification_btn?[i("v-uni-button",{staticClass:"btn solid br60 flex row-center normal",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openFunc(e.orderInfo,"verification")}}},[e._v("提货核销")])]:e._e()],2),i("modal",{attrs:{height:"200rpx"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.orderSetting.apply(void 0,arguments)}},model:{value:e.close,callback:function(t){e.close=t},expression:"close"}},[i("v-uni-view",{staticClass:"black nr flex row-center",staticStyle:{height:"200rpx"}},[e._v("确认取消该订单吗?")])],1),i("modal",{attrs:{height:"200rpx"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.orderSetting.apply(void 0,arguments)}},model:{value:e.del,callback:function(t){e.del=t},expression:"del"}},[i("v-uni-view",{staticClass:"black nr flex row-center",staticStyle:{height:"200rpx"}},[e._v("确认删除该订单吗?")])],1),i("modal",{attrs:{height:"200rpx"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.orderSetting.apply(void 0,arguments)}},model:{value:e.confirm,callback:function(t){e.confirm=t},expression:"confirm"}},[i("v-uni-view",{staticClass:"black nr flex row-center",staticStyle:{height:"200rpx"}},[e._v("确认用户已收到货?请谨慎处理!")])],1),i("modal",{attrs:{height:"200rpx"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.orderSetting.apply(void 0,arguments)}},model:{value:e.verification,callback:function(t){e.verification=t},expression:"verification"}},[i("v-uni-view",{staticClass:"black nr",staticStyle:{height:"200rpx"}},[e._v("确认核销该订单?")])],1),i("modal",{attrs:{height:"100rpx"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.orderSetting(1)}},model:{value:e.verificationDialog,callback:function(t){e.verificationDialog=t},expression:"verificationDialog"}},[i("v-uni-view",{staticClass:"black nr",staticStyle:{height:"200rpx"}},[e._v(e._s(e.verifyTips))])],1),i("modal",{attrs:{height:"100rpx"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.orderSetting.apply(void 0,arguments)}},model:{value:e.confirmpay,callback:function(t){e.confirmpay=t},expression:"confirmpay"}},[i("v-uni-view",{staticClass:"black nr",staticStyle:{height:"200rpx"}},[e._v("确认用户已付款?请谨慎处理!")])],1),i("u-modal",{attrs:{cancelShow:!1,title:"查看物流"},model:{value:e.recycle,callback:function(t){e.recycle=t},expression:"recycle"}},[i("v-uni-view",{staticClass:"black nr p-40",staticStyle:{height:"200rpx"}},[i("v-uni-view",[e._v("快递公司: "+e._s(e.logistics.shipping_name||"-"))]),i("v-uni-view",{staticClass:"m-t-20"},[e._v("物流单号: "+e._s(e.logistics.invoice_no||"-")),e.logistics.invoice_no?i("v-uni-text",{staticClass:"copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copy(e.logistics.invoice_no)}}},[e._v("复制")]):e._e()],1)],1)],1),i("u-toast",{ref:"uToast"})],1)},o=[]},"4cd8":function(e,t,i){var r=i("c86c");t=r(!1),t.push([e.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-00342f74]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.order-detail[data-v-00342f74]{padding-bottom:%?150?%;background:linear-gradient(180deg,#3868f9 %?260?%,transparent 0)}.order-detail .header[data-v-00342f74]{padding:%?24?% %?40?%}.order-detail .contain[data-v-00342f74]{border-radius:%?10?%}.order-detail .address-wrap[data-v-00342f74]{height:%?164?%;padding:0 %?24?%}.order-detail .address-wrap .copy[data-v-00342f74]{margin-left:%?20?%}.order-detail .order-header[data-v-00342f74]{padding:%?20?%}.order-detail .order-header .order-status[data-v-00342f74]{color:#3868f9}.order-detail .order-goods[data-v-00342f74]{padding:%?20?%;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.order-detail .goods[data-v-00342f74]{width:100%}.order-detail .goods .order-name[data-v-00342f74]{flex:1;min-width:0;color:#101010;font-size:%?28?%}.order-detail .goods .order-str[data-v-00342f74]{color:#999;font-size:%?26?%}.order-detail .goods > uni-view[data-v-00342f74]{width:100%}.order-detail .goods .image[data-v-00342f74]{flex:0}.order-detail .order-price[data-v-00342f74]{padding-top:%?20?%}.order-detail .order-price .price-item[data-v-00342f74]{padding:0 %?20?% %?24?%}.order-detail .footer[data-v-00342f74]{position:fixed;left:0;bottom:0;width:100%;height:%?120?%;padding:%?18?% 0}.order-detail .footer .btn[data-v-00342f74]{width:%?168?%;height:%?64?%;margin-right:%?20?%}.order-detail .footer .hollow[data-v-00342f74]{color:#666;border:1px solid #dbdbdb}.order-detail .footer .solid[data-v-00342f74]{color:#fff;background-color:#3868f9}.copy[data-v-00342f74]{font-size:%?24?%;margin-left:%?20?%;padding:%?4?% %?10?%;border-radius:%?4?%;color:#3868f9;background-color:rgba(64,175,250,.1)}.copy-btn[data-v-00342f74]{font-size:%?24?%;padding:%?10?% %?30?%;border-radius:%?8?%;color:#3868f9;background:rgba(56,104,249,.1)}",""]),e.exports=t},"69df":function(e,t,i){var r=i("c86c");t=r(!1),t.push([e.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-566f16dc]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.u-toast[data-v-566f16dc]{position:fixed;z-index:-1;transition:opacity .3s;text-align:center;color:#fff;border-radius:%?8?%;background:#585858;display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:%?28?%;opacity:0;pointer-events:none;padding:%?18?% %?40?%}.u-toast.u-show[data-v-566f16dc]{opacity:1}.u-icon[data-v-566f16dc]{margin-right:%?10?%;display:flex;flex-direction:row;align-items:center;line-height:normal}.u-position-center[data-v-566f16dc]{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:70%}.u-position-top[data-v-566f16dc]{left:50%;top:20%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.u-position-bottom[data-v-566f16dc]{left:50%;bottom:20%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.u-type-primary[data-v-566f16dc]{color:#2979ff;background-color:#ecf5ff;border:1px solid #d7eafe}.u-type-success[data-v-566f16dc]{color:#19be6b;background-color:#dbf1e1;border:1px solid #bef5c8}.u-type-error[data-v-566f16dc]{color:#fa3534;background-color:#fef0f0;border:1px solid #fde2e2}.u-type-warning[data-v-566f16dc]{color:#f90;background-color:#fdf6ec;border:1px solid #faecd8}.u-type-info[data-v-566f16dc]{color:#909399;background-color:#f4f4f5;border:1px solid #ebeef5}.u-type-default[data-v-566f16dc]{color:#fff;background-color:#585858}",""]),e.exports=t},"79d9":function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("64aa"),i("5ef2"),i("dc8a"),i("5c47"),i("0506");var r={name:"u-toast",props:{zIndex:{type:[Number,String],default:""}},data:function(){return{isShow:!1,timer:null,config:{params:{},title:"",type:"",duration:2e3,isTab:!1,url:"",icon:!0,position:"center",callback:null,back:!1},tmpConfig:{}}},computed:{iconName:function(){if(["error","warning","success","info"].indexOf(this.tmpConfig.type)>=0&&this.tmpConfig.icon){var e=this.$u.type2icon(this.tmpConfig.type);return e}},uZIndex:function(){return this.isShow?this.zIndex?this.zIndex:this.$u.zIndex.toast:"999999"}},methods:{show:function(e){var t=this;this.tmpConfig=this.$u.deepMerge(this.config,e),this.timer&&(clearTimeout(this.timer),this.timer=null),this.isShow=!0,this.timer=setTimeout((function(){t.isShow=!1,clearTimeout(t.timer),t.timer=null,"function"===typeof t.tmpConfig.callback&&t.tmpConfig.callback(),t.timeEnd()}),this.tmpConfig.duration)},hide:function(){this.isShow=!1,this.timer&&(clearTimeout(this.timer),this.timer=null)},timeEnd:function(){if(this.tmpConfig.url){if("/"!=this.tmpConfig.url[0]&&(this.tmpConfig.url="/"+this.tmpConfig.url),Object.keys(this.tmpConfig.params).length){var e="";/.*\/.*\?.*=.*/.test(this.tmpConfig.url)?(e=this.$u.queryParams(this.tmpConfig.params,!1),this.tmpConfig.url=this.tmpConfig.url+"&"+e):(e=this.$u.queryParams(this.tmpConfig.params),this.tmpConfig.url+=e)}this.tmpConfig.isTab?uni.switchTab({url:this.tmpConfig.url}):uni.navigateTo({url:this.tmpConfig.url})}else this.tmpConfig.back&&this.$u.route({type:"back"})}}};t.default=r},a02b:function(e,t,i){"use strict";var r=i("aad7"),n=i.n(r);n.a},aac4:function(e,t,i){var r=i("69df");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=i("967d").default;n("6e2e2109",r,!0,{sourceMap:!1,shadowMode:!1})},aad7:function(e,t,i){var r=i("4cd8");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=i("967d").default;n("ab70a5f4",r,!0,{sourceMap:!1,shadowMode:!1})},b11c:function(e,t,i){"use strict";i.r(t);var r=i("c115"),n=i("0922");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("f6de");var a=i("828b"),s=Object(a["a"])(n["default"],r["b"],r["c"],!1,null,"566f16dc",null,!1,r["a"],void 0);t["default"]=s.exports},b1d6:function(e,t,i){"use strict";i("6a54");var r=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(i("2634")),o=r(i("2fdc"));i("aa9c"),i("bf0f");var a=i("207c"),s=i("dafb"),d={name:"orderDetail",data:function(){return{orderInfo:{user:{nickname:""},address:{},businesse_btn:{}},action:"",verifyTips:"",close:!1,del:!1,editAddressStatus:!1,confirm:!1,recycle:!1,confirmpay:!1,logistics:{shipping_name:"-",invoice_no:""},verification:!1,verificationDialog:!1}},methods:{toTraces:function(e){this.$Router.push({path:"/bundle/pages/orderTraces/orderTraces",query:{id:e}})},initOrderDetail:function(){var e=this;return new Promise((function(t,i){(0,a.apiOrderDetail)({id:e.order_id}).then((function(t){e.orderInfo=t})).catch((function(e){i(e)}))}))},copy:function(e){(0,s.copy)(e)},openFunc:function(e,t){var i=this;return(0,o.default)((0,n.default)().mark((function r(){var o;return(0,n.default)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if("recycle"!=t){r.next=6;break}return r.next=3,(0,a.apiOrderLogistics)({id:e.id});case 3:o=r.sent,i.logistics.shipping_name=o.order.express_name,i.logistics.invoice_no=o.order.invoice_no;case 6:i.curData=e,i.action=t,i[t]=!0;case 9:case"end":return r.stop()}}),r)})))()},editAddress:function(){var e=this;return(0,o.default)((0,n.default)().mark((function t(){return(0,n.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.editAddressStatus=!0;case 1:case"end":return t.stop()}}),t)})))()},orderSetting:function(){var e=arguments,t=this;return(0,o.default)((0,n.default)().mark((function i(){var r,o,s,d;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(r=e.length>0&&void 0!==e[0]?e[0]:0,o=t.curData.id,s=t.action,"close"!=s){i.next=7;break}return i.next=5,(0,a.apiOrderClose)({id:o});case 5:i.next=30;break;case 7:if("del"!=s){i.next=12;break}return i.next=10,(0,a.apiOrderDelete)({id:o});case 10:i.next=30;break;case 12:if("confirm"!=s){i.next=17;break}return i.next=15,(0,a.apiOrderConfirm)({id:o});case 15:i.next=30;break;case 17:if("confirmpay"!=s){i.next=22;break}return i.next=20,(0,a.apiOrderConfirmpay)({id:o});case 20:i.next=30;break;case 22:if("verification"!=s){i.next=30;break}return i.next=25,(0,a.apiVerificationOrderConfirm)({id:o,confirm:r});case 25:if(d=i.sent,10!==d.code){i.next=30;break}return t.verifyTips=d.msg,t.verificationDialog=!0,i.abrupt("return");case 30:t.initOrderDetail();case 31:case"end":return i.stop()}}),i)})))()}},onLoad:function(){return(0,o.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},onShow:function(){var e=this;return(0,o.default)((0,n.default)().mark((function t(){var i;return(0,n.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.$Route.query,e.order_id=i.id,t.next=4,e.initOrderDetail();case 4:case"end":return t.stop()}}),t)})))()}};t.default=d},b1e5:function(e,t,i){"use strict";i.r(t);var r=i("4bf3"),n=i("166e");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("a02b");var a=i("828b"),s=Object(a["a"])(n["default"],r["b"],r["c"],!1,null,"00342f74",null,!1,r["a"],void 0);t["default"]=s.exports},c115:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return r}));var r={uIcon:i("104b").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"u-toast",class:[e.isShow?"u-show":"","u-type-"+e.tmpConfig.type,"u-position-"+e.tmpConfig.position],style:{zIndex:e.uZIndex}},[i("v-uni-view",{staticClass:"u-icon-wrap"},[e.tmpConfig.icon?i("u-icon",{staticClass:"u-icon",attrs:{name:e.iconName,size:30,color:e.tmpConfig.type}}):e._e()],1),i("v-uni-text",{staticClass:"u-text"},[e._v(e._s(e.tmpConfig.title))])],1)},o=[]},f6de:function(e,t,i){"use strict";var r=i("aac4"),n=i.n(r);n.a}}]);