(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-593429ae"],{"0019":function(t,s,e){},"6d44":function(t,s,e){"use strict";e("0019")},"9dd3":function(t,s,e){"use strict";e.r(s);var r=function(){var t=this,s=t._self._c;t._self._setupProxy;return s("div",[s("div",{staticClass:"detail-box"},[s("div",{staticClass:"box-title"},[s("p",{staticClass:"title"},[t._v(t._s(t.tradeCateIdStr))]),0===t.orderMsg.order_status?s("p",{staticClass:"status status-orange"},[t._v("未支付")]):1===t.orderMsg.order_status?s("p",{staticClass:"status status-5FC266"},[t._v("已支付")]):2===t.orderMsg.order_status?s("p",{staticClass:"status"},[t._v("订单付款取消")]):3===t.orderMsg.order_status?s("p",{staticClass:"status"},[t._v("订单已过期")]):5===t.orderMsg.order_status?s("p",{staticClass:"status"},[t._v(t._s(t.orderMsg.order_status_str))]):t._e()]),s("div",{staticClass:"box-content line"},[s("div",{staticClass:"item"},[s("div",[t._v("订单编号")]),s("div",[t._v(t._s(t.orderData.parent_order_no))])]),s("div",{staticClass:"item order-msg",on:{click:t.msgShow}},[s("div",[t._v("订单信息 "),s("van-icon",{directives:[{name:"show",rawName:"v-show",value:t.orderItem.length>1,expression:"orderItem.length > 1"}],staticClass:"icon",attrs:{name:t.isShowMsg?"arrow-up":"arrow-down"}})],1),s("div",t._l(t.skuList,(function(e,r){return s("div",{key:r},[t._v(t._s(e.sku_info))])})),0)]),s("div",{staticClass:"item"},[s("div",[t._v("场馆名称")]),s("div",[t._v(t._s(""!==t.orderExtra.stadium_name?t.orderExtra.stadium_name:"--"))])]),s("div",{staticClass:"item"},[s("div",[t._v("预订人信息")]),s("div",[t._v(t._s(t.orderExtra.user_info))])]),s("div",{staticClass:"item"},[s("div",[t._v("订单备注")]),s("div",[t._v(t._s(""!==t.orderExtra.remark?t.orderExtra.remark:"--"))])]),s("div",{staticClass:"item"},[s("div",[t._v("订单时间")]),s("div",[t._v(t._s(t.orderTimeFormat))])])]),s("div",{staticClass:"box-content"},[s("div",{staticClass:"item"},[s("div",[t._v("支付方式")]),s("div",[t._v(t._s(""!==t.orderExtra.payment_way_str?t.orderExtra.payment_way_str:"--"))])]),s("div",{staticClass:"item"},[s("div",[t._v("订单金额")]),s("div",[t._v("￥ "+t._s(parseFloat(t.orderMsg.sale_price).toFixed(2)))])]),s("div",{staticClass:"item"},[s("div",[t._v("支付金额")]),s("div",[t._v("￥ "+t._s(parseFloat(t.orderMsg.pay_price).toFixed(2)))])])])])])},a=[],i=(e("14d9"),e("9ab4")),d=e("60a3");let o=class extends d["d"]{constructor(){super(...arguments),this.cfg_value=!1,this.parent_order_no="",this.orderData={},this.orderItem=[],this.orderMsg={trade_cate_id:0,list:[],c_time:0},this.orderExtra={},this.isShowMsg=!0,this.skuList=[]}get orderTimeFormat(){const t=new Date(1e3*this.orderMsg.c_time),s=t.getFullYear(),e=t.getMonth()+1>9?t.getMonth()+1:"0"+(t.getMonth()+1),r=t.getDate()>9?t.getDate():"0"+t.getDate(),a=t.getHours()>9?t.getHours():"0"+t.getHours(),i=t.getMinutes()>9?t.getMinutes():"0"+t.getMinutes(),d=t.getSeconds()>9?t.getSeconds():"0"+t.getSeconds();return s+"-"+e+"-"+r+"  "+a+":"+i+":"+d}created(){this.$route.query.parent_order_no&&this.getOrderDetail()}get tradeCateIdStr(){let t="";switch(this.orderMsg.trade_cate_id){case 11:t="会员";break;case 12:t="门票";break;case 13:t="场地";break;case 14:t="商品";break;case 15:t="通用";break}return t}getOrderDetail(){const t=this.$request("/wttCms/wxMember/orderGet",{parent_order_no:this.$route.query.parent_order_no});t.then(t=>{this.orderData=t.data,this.orderItem=t.data.list[0].item,this.orderMsg=t.data.list[0].order,this.orderExtra=t.data.list[0].extra,this.msgShow()})}msgShow(){this.isShowMsg=!this.isShowMsg,this.isShowMsg?this.skuList=this.orderItem:(this.skuList=[],this.skuList.push(this.orderItem[0]))}};o=Object(i["a"])([d["a"]],o);var _=o,n=_,v=(e("6d44"),e("2877")),c=Object(v["a"])(n,r,a,!1,null,"06de19ee",null);s["default"]=c.exports}}]);
//# sourceMappingURL=chunk-593429ae.bcaa4fee.js.map