You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
29 KiB
1 line
29 KiB
5 months ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-bfb78fce"],{"2c41":function(t,e,i){"use strict";i("a525")},3191:function(t,e,i){},"544f":function(t,e,i){"use strict";i("3191")},6968:function(t,e,i){"use strict";i.r(e);var r=i("f8b7"),n={name:"order_detail",props:{orderId:{type:String|Number,default:""}},data:function(){return{orderDetail:{},orderList:[],columns1:[{title:"商品ID",slot:"id",maxWidth:80},{title:"商品名称",slot:"name",minWidth:160},{title:"商品分类",slot:"className"},{title:"商品售价",slot:"price"},{title:"商品数量",slot:"total_num"}],spinShow:!1}},mounted:function(){this.getOrderInfo()},methods:{getOrderInfo:function(){var t=this;this.spinShow=!0,Object(r.y)(this.orderId).then((function(e){t.spinShow=!1,t.orderDetail=e.data,t.orderList=e.data.orderInfo.cartInfo})).catch((function(e){t.spinShow=!1,t.$Message.error(e.msg),t.$emit("detall",!1)}))}}},a=(i("2c41"),i("2877")),o=Object(a.a)(n,(function(){var t=this,e=t._self._c;return t.orderDetail.userInfo?e("div",{staticClass:"order_detail"},[e("div",{staticClass:"msg-box"},[e("div",{staticClass:"box-title"},[t._v("收货信息")]),e("div",{staticClass:"msg-wrapper"},[e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("用户昵称:")]),t._v(t._s(t.orderDetail.userInfo.nickname)+"\n ")]),e("div",{staticClass:"item"},[e("span",[t._v("收货人:")]),t._v(t._s(t.orderDetail.orderInfo.real_name)+"\n ")])]),e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("联系电话:")]),t._v(t._s(t.orderDetail.orderInfo.user_phone)+"\n ")]),e("div",{staticClass:"item"},[e("span",[t._v("收货地址:")]),t._v(t._s(t.orderDetail.orderInfo.user_address)+"\n ")])])])]),e("div",{staticClass:"msg-box",staticStyle:{border:"none"}},[e("div",{staticClass:"box-title"},[t._v("订单信息")]),e("div",{staticClass:"msg-wrapper"},[e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("订单ID:")]),t._v(t._s(t.orderDetail.orderInfo.order_id)+"\n ")]),e("div",{staticClass:"item",staticStyle:{color:"red"}},[e("span",{staticStyle:{color:"red"}},[t._v("订单状态:")]),t._v(t._s(t.orderDetail.orderInfo._status._title)+"\n ")])]),e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("商品总数:")]),t._v(t._s(t.orderDetail.orderInfo.total_num)+"\n ")]),e("div",{staticClass:"item"},[e("span",[t._v("商品总价:")]),t._v("¥"+t._s(t.orderDetail.orderInfo.total_price)+"\n ")])]),e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("交付邮费:")]),t._v("¥"+t._s(t.orderDetail.orderInfo.pay_postage)+"\n ")]),e("div",{staticClass:"item"},[e("span",[t._v("优惠券金额:")]),t._v("¥"+t._s(t.orderDetail.orderInfo.coupon_price)+"\n ")])]),e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("会员商品优惠:")]),t._v("¥"+t._s(t.orderDetail.orderInfo.vip_true_price||0)+"\n ")]),e("div",{staticClass:"item"},[e("span",[t._v("积分抵扣:")]),t._v("¥"+t._s(t.orderDetail.orderInfo.deduction_price||0)+"\n ")])]),e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("实际支付:")]),t._v(t._s(t.orderDetail.orderInfo.pay_price)+"\n ")]),e("div",{staticClass:"item"},[e("span",[t._v("首单优惠:")]),t._v(t._s(t.orderDetail.orderInfo.first_order_price)+"\n ")])]),e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("创建时间:")]),t._v(t._s(t.orderDetail.orderInfo.add_time)+"\n ")]),e("div",{staticClass:"item"},[e("span",[t._v("支付方式:")]),t._v(t._s(t.orderDetail.orderInfo._status._payType)+"\n ")])]),e("div",{staticClass:"msg-item"},[e("div",{staticClass:"item"},[e("span",[t._v("推广人:")]),t._v(t._s(t.orderDetail.userInfo.spread_name)+"\n ")]),e("div",{static
|