(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b3c41a5a"],{"2e6f":function(t,e,a){"use strict";a("4543")},"2e83":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("28a5");var r=a("8122"),i=a("e8ae"),s=a.n(i),l=a("21a6");function n(t,e,a,i,n,o){var c,d=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],u=1,v=new s.a.Workbook,_=t.length;function m(t){var e=Array.isArray(t)?t[0]:t,a=Array.isArray(t)?t[1]:{};c=v.addWorksheet(e,a)}function p(t,e){if(!Object(r["isEmpty"])(t)){t=Array.isArray(t)?t:t.split(",");for(var a=0;a=r)&&c.mergeCells(C(i)+t+":"+C(i)+e)}function w(t){if(!Object(r["isEmpty"])(t))if(Array.isArray(t))for(var e=0;e0,expression:"scope.row.is_del > 0"}],staticStyle:{color:"#ED4014",display:"block"}},[t._v("用户已删除")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"用户信息","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(a){return t.onUserDetails(e.row.uid)}}},[t._v(t._s(e.row.user&&e.row.user.nickname+"/"+e.row.uid))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"订单类型","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(1==e.row.is_virtual?"虚拟订单":0==e.row.order_type?"普通订单":"核销订单"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"real_name",label:"收货人/订购人","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{label:"商户名称","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.merchant?e.row.merchant.mer_name:""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"商品信息","min-width":"350"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.orderProduct,(function(e,r){return a("div",{key:r,staticClass:"tabBox acea-row row-middle"},[a("div",{staticClass:"demo-image__preview"},[a("el-image",{attrs:{src:e.cart_info.product.image,"preview-src-list":[e.cart_info.product.image]}})],1),t._v(" "),a("span",{staticClass:"tabBox_tit"},[t._v(t._s(e.cart_info.product.store_name+" | ")+t._s(e.cart_info.productAttr.sku))]),t._v(" "),a("span",{staticClass:"tabBox_pice"},[t._v("\n "+t._s("¥"+e.cart_info.productAttr.price+" x "+e.product_num)+"\n "),e.refund_num0?a("em",{staticStyle:{color:"red","font-style":"normal"}},[t._v("(-"+t._s(e.product_num-e.refund_num)+")")]):t._e()])])}))}}])}),t._v(" "),a("el-table-column",{attrs:{label:"实际支付","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.pay_price))]),t._v(" "),e.row.finalOrder?a("p",[t._v("尾款:"+t._s(e.row.finalOrder.pay_price))]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"订单佣金","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s((parseFloat(e.row.extension_one)+parseFloat(e.row.extension_two)+parseFloat(e.row.refund_extension_one)+parseFloat(e.row.refund_extension_two)).toFixed(2)))]),t._v(" "),e.row.refund_extension_one>0||e.row.refund_extension_two>0?a("em",{staticStyle:{color:"red","font-style":"normal"}},[t._v("(-"+t._s((parseFloat(e.row.refund_extension_one)+parseFloat(e.row.refund_extension_two)).toFixed(2))+")")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"支付类型","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.paid?a("span",[t._v(t._s(t._f("orderPayType")(e.row.pay_type)))]):a("span",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"支付状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(0==e.row.paid?"未支付":"已支付"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"订单状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.is_del?a("span",[0===e.row.paid?a("span",[t._v("待付款")]):a("span",[0===e.row.order_type||2===e.row.order_type?a("span",[t._v(t._s(t._f("orderStatusFilter")(e.row.status)))]):a("span",[t._v(t._s(t._f("takeOrderStatusFilter")(e.row.status)))])])]):a("span",[t._v("已删除")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"serviceScore",label:"下单时间","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.create_time))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"推广人","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.spread&&e.row.spread.nickname||"无"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"上级推广人","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.TopSpread&&e.row.TopSpread.nickname||"无"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"80",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.onOrderDetails(e.row.order_id)}}},[t._v("详情")])]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),a("user-details",{ref:"userDetails",attrs:{drawer:t.userDrawer,uid:t.uid,isUser:!1},on:{closeDrawer:t.closeDrawer,changeDrawer:t.changeDrawer}}),t._v(" "),a("order-detail",{ref:"orderDetail",attrs:{orderId:t.orderId,drawer:t.drawer},on:{closeDrawer:t.closeDrawer,changeDrawer:t.changeDrawer}})],1)},i=[],s=a("c80c"),l=(a("96cf"),a("3b8d")),n=(a("ac6a"),a("e519")),o=a("c4c8"),c=a("a9c2"),d=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-drawer",{attrs:{"with-header":!1,size:1e3,visible:t.drawer,direction:t.direction,"before-close":t.handleClose},on:{"update:visible":function(e){t.drawer=e}}},[r("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[r("div",{staticClass:"head"},[r("div",{staticClass:"full"},[r("img",{staticClass:"order_icon",attrs:{src:t.orderImg,alt:""}}),t._v(" "),r("div",{staticClass:"text"},[r("div",{staticClass:"title"},[t._v(t._s(0==t.orderDetailList.order_type?"普通订单":"核销订单"))]),t._v(" "),r("div",[r("span",{staticClass:"mr20"},[t._v("订单编号:"+t._s(t.orderDetailList.order_sn))])])])]),t._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[t._v("订单状态")]),t._v(" "),r("div",[0!==t.orderDetailList.order_type||t.orderDetailList.pay_time?t._e():r("div",{staticClass:"value1"},[t._v("待付款")]),t._v(" "),0===t.orderDetailList.order_type&&t.orderDetailList.pay_time?r("div",{staticClass:"value1"},[r("span",[t._v(t._s(t._f("orderStatusFilter")(t.orderDetailList.status)))])]):t._e(),t._v(" "),1===t.orderDetailList.order_type&&t.orderDetailList.pay_time?r("div",{staticClass:"value1"},[r("span",[t._v(t._s(t._f("cancelOrderStatusFilter")(t.orderDetailList.status)))])]):t._e()])]),t._v(" "),r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[t._v("实际支付")]),t._v(" "),r("div",[t._v("¥ "+t._s(t.orderDetailList.pay_price))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[t._v("支付方式")]),t._v(" "),r("div",[t._v(t._s(t._f("payTypeFilter")(t.orderDetailList.pay_type)))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[t._v("支付时间")]),t._v(" "),r("div",[t._v(t._s(t.orderDetailList.create_time))])])])]),t._v(" "),r("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":t.tabClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[r("el-tab-pane",{attrs:{label:"订单信息",name:"detail"}},[r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[t._v("用户信息")]),t._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[t._v("用户昵称:")]),t._v(" "),r("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDetailList.user.real_name?t.orderDetailList.user.real_name:t.orderDetailList.user.nickname)+"\n ")])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("用户ID:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.user.uid?t.orderDetailList.user.uid:"-"))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("绑定电话:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.user.phone?t.orderDetailList.user.phone:"-"))])])])]),t._v(" "),r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[t._v("收货信息")]),t._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[t._v("收货人:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.real_name?t.orderDetailList.real_name:"-"))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("收货电话:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.user_phone?t.orderDetailList.user_phone:"-"))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("收货地址:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.user_address?t.orderDetailList.user_address:"-"))])])])]),t._v(" "),r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[t._v("订单信息")]),t._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[t._v("创建时间:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.create_time?t.orderDetailList.create_time:"-"))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("商品总数:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.total_num?t.orderDetailList.total_num:"-"))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("实际支付:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.finalOrder?parseFloat(t.orderDetailList.finalOrder.pay_price)+parseFloat(t.orderDetailList.pay_price):t.orderDetailList.pay_price))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("优惠券金额:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.coupon_price?t.orderDetailList.coupon_price:"-"))])]),t._v(" "),t.orderDetailList.integral?r("li",{staticClass:"item"},[r("div",[t._v("积分抵扣:")]),t._v(" "),r("div",{staticClass:"value"},[t._v("使用了"+t._s(t.orderDetailList.integral)+"个积分,抵扣了"+t._s(t.orderDetailList.integral_price)+"元")])]):t._e(),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("订单总价:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.total_price?t.orderDetailList.total_price:"-"))])]),t._v(" "),t.orderDetailList.svip_discount?r("li",{staticClass:"item"},[r("div",[t._v("会员商品优惠:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.svip_discount))])]):t._e(),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("支付运费:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.pay_postage))])]),t._v(" "),t.orderDetailList.spread?r("li",{staticClass:"item"},[r("div",[t._v("推广人:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.spread.nickname))])]):t._e(),t._v(" "),t.orderDetailList.TopSpread?r("li",{staticClass:"item"},[r("div",[t._v("上级推广人:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.TopSpread.nickname))])]):t._e(),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("一级佣金:")]),t._v(" "),r("div",{staticClass:"value"},[t._v("\n "+t._s(parseFloat(t.orderDetailList.extension_one)+parseFloat(t.orderDetailList.refund_extension_one))+"\n "),t.orderDetailList.refund_extension_one>0?r("em",{staticStyle:{color:"red","font-style":"normal"}},[t._v("(-"+t._s(t.orderDetailList.refund_extension_one)+")")]):t._e()])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("二级佣金:")]),t._v(" "),r("div",{staticClass:"value"},[t._v("\n "+t._s(parseFloat(t.orderDetailList.extension_two)+parseFloat(t.orderDetailList.refund_extension_two))+"\n "),t.orderDetailList.refund_extension_two>0?r("em",{staticStyle:{color:"red","font-style":"normal"}},[t._v("(-"+t._s(t.orderDetailList.refund_extension_two)+")")]):t._e()])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("发货方式:")]),t._v(" "),1==t.orderDetailList.order_type?r("div",{staticClass:"value"},[t._v("核销")]):r("div",{staticClass:"value"},[t._v(t._s(t._f("sendWay")(t.orderDetailList.delivery_type)))])]),t._v(" "),t.orderDetailList.spread?r("li",{staticClass:"item"},[r("div",[t._v("推广人:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.spread.nickname||"无"))])]):t._e(),t._v(" "),t.orderDetailList.TopSpread?r("li",{staticClass:"item"},[r("div",[t._v("上级推广人:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.TopSpread.nickname||"无"))])]):t._e(),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("商品类型:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(1==t.orderDetailList.is_virtual?"虚拟商品":2==t.orderDetailList.is_virtual?"卡密商品":"普通商品"))])]),t._v(" "),r("li",{staticClass:"item"},[r("div",[t._v("活动类型:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(1==t.orderDetailList.activity_type?"秒杀":2==t.orderDetailList.activity_type?"预售":3==t.orderDetailList.activity_type?"助力":4==t.orderDetailList.activity_type?"拼团":"普通"))])])])]),t._v(" "),"1"===t.orderDetailList.delivery_type?r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[t._v("物流信息")]),t._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item acea-row row-middle"},[r("div",[t._v("快递公司:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.delivery_name?t.orderDetailList.delivery_name:"-"))])]),t._v(" "),r("li",{staticClass:"item acea-row row-middle"},[r("div",[t._v("快递单号:")]),t._v(" "),r("div",{staticClass:"value"},[t._v(t._s(t.orderDetailList.delivery_id?t.orderDetailList.delivery_id:"-"))]),t._v(" "),r("el-button",{attrs:{type:"text",size:"small"},on:{click:t.openLogistics}},[t._v("物流查询")])],1)])]):t._e(),t._v(" "),r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[t._v("买家留言")]),t._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[t._v(t._s(t.orderDetailList.mark?t.orderDetailList.mark:"-"))])])])]),t._v(" "),r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[t._v("商家备注")]),t._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[t._v(t._s(t.orderDetailList.remark?t.orderDetailList.remark:"-"))])])])])]),t._v(" "),r("el-tab-pane",{attrs:{label:"商品信息",name:"goods"}},[r("el-table",{attrs:{data:t.orderDetailList.orderProduct,size:"small"}},[r("el-table-column",{attrs:{label:"商品信息","min-width":"300"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"demo-image__preview"},[r("el-image",{attrs:{src:e.row.cart_info.product.image,"preview-src-list":[e.row.cart_info.product.image]}})],1),t._v(" "),r("div",[r("div",{staticClass:"line1"},[t._v(t._s(e.row.cart_info.product.store_name))]),t._v(" "),r("div",{staticClass:"line1 gary"},[t._v("\n 规格:"+t._s(e.row.cart_info.productAttr.sku?e.row.cart_info.productAttr.sku:"默认")+"\n ")])])])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"售价","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[t._v("\n "+t._s(e.row.cart_info.productAttr.price?e.row.cart_info.productAttr.price:"-")+"\n ")])])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"实付金额","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[t._v("\n "+t._s(e.row.product_price?e.row.product_price:"-")+"\n ")])])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"购买数量","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[t._v("\n "+t._s(e.row.product_num)+"\n ")])])]}}])})],1)],1),t._v(" "),r("el-tab-pane",{attrs:{label:"订单记录",name:"orderList"}},[r("div",[r("el-form",{attrs:{size:"small","label-width":"80px"}},[r("div",{staticClass:"acea-row"},[r("el-form-item",{attrs:{label:"操作端:"}},[r("el-select",{staticStyle:{width:"140px","margin-right":"20px"},attrs:{placeholder:"请选择",clearable:"",filterable:""},on:{change:function(e){return t.onOrderLog(t.orderId)}},model:{value:t.tableFromLog.user_type,callback:function(e){t.$set(t.tableFromLog,"user_type",e)},expression:"tableFromLog.user_type"}},[r("el-option",{attrs:{label:"系统",value:"0"}}),t._v(" "),r("el-option",{attrs:{label:"用户",value:"1"}}),t._v(" "),r("el-option",{attrs:{label:"平台",value:"2"}}),t._v(" "),r("el-option",{attrs:{label:"商户",value:"3"}}),t._v(" "),r("el-option",{attrs:{label:"商家客服",value:"4"}})],1)],1),t._v(" "),r("el-form-item",{attrs:{label:"操作时间:"}},[r("el-date-picker",{staticStyle:{width:"380px","margin-right":"20px"},attrs:{type:"datetimerange",placeholder:"选择日期","value-format":"yyyy/MM/dd HH:mm:ss",clearable:""},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1)],1)])],1),t._v(" "),r("el-table",{attrs:{data:t.tableDataLog.data,size:"small"}},[r("el-table-column",{attrs:{prop:"order_id",label:"订单编号","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.order_sn))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"操作记录","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.change_message))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"操作角色","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"tab"},[r("div",[t._v(t._s(t.operationType(e.row.user_type)))])])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"操作人","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"tab"},[r("div",[t._v(t._s(e.row.nickname))])])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"操作时间","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[t._v(t._s(e.row.change_time))])])]}}])})],1),t._v(" "),r("div",{staticClass:"block"},[r("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFromLog.limit,"current-page":t.tableFromLog.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableDataLog.total},on:{"size-change":t.handleSizeChangeLog,"current-change":t.pageChangeLog}})],1)],1),t._v(" "),t.childOrder.length>0?r("el-tab-pane",{attrs:{label:"关联订单",name:"subOrder"}},[r("el-table",{attrs:{data:t.childOrder,size:"small"}},[r("el-table-column",{attrs:{label:"订单编号",prop:"order_sn","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(t._s(e.row.order_sn))])]}}],null,!1,1717655037)}),t._v(" "),r("el-table-column",{attrs:{label:"商品信息","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.orderProduct,(function(e,a){return r("div",{key:a,staticClass:"tabBox acea-row row-middle"},[r("div",{staticClass:"demo-image__preview"},[r("el-image",{attrs:{src:e.cart_info.product.image,"preview-src-list":[e.cart_info.product.image]}})],1),t._v(" "),r("span",{staticClass:"tabBox_tit"},[t._v(t._s(e.cart_info.product.store_name+" | ")+t._s(e.cart_info.productAttr.sku))]),t._v(" "),r("span",{staticClass:"tabBox_pice"},[t._v("\n "+t._s("¥"+e.cart_info.productAttr.price+" x "+e.product_num)+"\n "),e.refund_num0?r("em",{staticStyle:{color:"red","font-style":"normal"}},[t._v("(-"+t._s(e.product_num-e.refund_num)+")")]):t._e()])])}))}}],null,!1,1370655139)}),t._v(" "),r("el-table-column",{attrs:{label:"实际支付","min-width":"80",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.pay_price))])]}}],null,!1,3949474396)}),t._v(" "),r("el-table-column",{attrs:{label:"订单生成时间",prop:"create_time","min-width":"120"}}),t._v(" "),r("el-table-column",{attrs:{label:"操作","min-width":"50",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.getChildOrderDetail(e.row.order_id)}}},[t._v("详情")])]}}],null,!1,2524739887)})],1)],1):t._e()],1)],1)]),t._v(" "),t.dialogLogistics?r("el-dialog",{attrs:{title:"物流查询",visible:t.dialogLogistics,width:"350px"},on:{"update:visible":function(e){t.dialogLogistics=e}}},[r("div",{staticClass:"logistics acea-row row-top"},[r("div",{staticClass:"logistics_img"},[r("img",{attrs:{src:a("bd9b")}})]),t._v(" "),r("div",{staticClass:"logistics_cent"},[r("span",[t._v("物流公司:"+t._s(t.orderDetailList.delivery_name))]),t._v(" "),r("span",[t._v("物流单号:"+t._s(t.orderDetailList.delivery_id))])])]),t._v(" "),r("div",{staticClass:"acea-row row-column-around trees-coadd"},[r("div",{staticClass:"scollhide"},[r("el-timeline",t._l(t.result,(function(e,a){return r("el-timeline-item",{key:a},[r("p",{staticClass:"time",domProps:{textContent:t._s(e.time)}}),t._v(" "),r("p",{staticClass:"content",domProps:{textContent:t._s(e.status)}})])})),1)],1)])]):t._e()],1)},u=[],v=(a("7f7f"),a("bd86")),_={props:{drawer:{type:Boolean,default:!1}},data:function(){var t;return t={loading:!0,orderId:"",direction:"rtl",activeName:"detail",goodsList:[],orderConfirm:!1,sendGoods:!1,dialogLogistics:!1,confirmReceiptForm:{id:""},orderData:[],contentList:[],nicknameList:[],result:[],timeVal:[],childOrder:[]},Object(v["a"])(t,"childOrder",[]),Object(v["a"])(t,"tableDataLog",{data:[],total:0}),Object(v["a"])(t,"tableFromLog",{user_type:"",date:[],page:1,limit:10}),Object(v["a"])(t,"orderDetailList",{user:{real_name:""},groupOrder:{group_order_sn:""}}),Object(v["a"])(t,"orderImg",a("ea8b")),t},filters:{},methods:{onchangeTime:function(t){this.timeVal=t,this.tableFromLog.date=t?this.timeVal.join("-"):"",this.onOrderLog(this.orderId)},handleClose:function(){this.activeName="detail",this.$emit("closeDrawer"),this.sendGoods=!1,this.orderRemark=!1},openLogistics:function(){this.getOrderData(),this.dialogLogistics=!0},getOrderData:function(){var t=this;Object(n["E"])(this.orderId).then(function(){var e=Object(l["a"])(Object(s["a"])().mark((function e(a){return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.result=a.data;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.message)}))},toSendGoods:function(){this.sendGoods=!0},getDelivery:function(){var t=this;Object(n["s"])(this.orderId).then((function(e){t.$message.success(e.message),t.sendGoods=!1})).catch((function(e){t.$message.error(e.message)}))},getChildOrder:function(){var t=this;this.loading=!0,Object(n["m"])(this.orderId).then((function(e){t.activeName="detail",t.childOrder=e.data,setTimeout((function(){t.loading=!1}),500)})).catch((function(e){t.$message.error(e.message)}))},getChildOrderDetail:function(t){this.getInfo(t)},getInfo:function(t){var e=this;this.loading=!0,this.orderId=t,Object(n["D"])(t).then((function(t){e.drawer=!0,e.orderDetailList=t.data,e.getChildOrder()})).catch((function(t){e.$message.error(t.message)}))},tabClick:function(t){"orderList"===t.name&&this.onOrderLog(this.orderId)},onOrderLog:function(t){var e=this;Object(n["t"])(t,this.tableFromLog).then((function(t){e.tableDataLog.data=t.data.list,e.tableDataLog.total=t.data.count}))},pageChangeLog:function(t){this.tableFromLog.page=t,this.onOrderLog(this.orderId)},handleSizeChangeLog:function(t){this.tableFromLog.limit=t,this.onOrderLog(this.orderId)},operationType:function(t){return 0==t?"系统":1==t?"用户":2==t?"平台":3==t?"商户":4==t?"商家客服":"未知"}}},m=_,p=(a("cd05"),a("2877")),f=Object(p["a"])(m,d,u,!1,null,"5dd4284d",null),b=f.exports,g=a("2e83"),h=a("e572"),y={components:{orderDetail:b,userDetails:c["a"]},data:function(){return{orderId:0,tableData:{data:[],total:0},activity:[{name:"普通订单",type:0},{name:"秒杀订单",type:1},{name:"预售订单",type:2},{name:"助力订单",type:3},{name:"拼团订单",type:4}],listLoading:!0,tableFrom:{order_sn:this.$route.query.order_sn?this.$route.query.order_sn:"",group_order_sn:"",keywords:"",username:"",store_name:"",status:"",date:"",mer_id:"",page:1,limit:20,is_trader:"",pay_type:"",filter_delivery:"",filter_product:"",activity_type:""},dliveryWayList:[{value:1,label:"快递订单"},{value:2,label:"配送订单"},{value:4,label:"核销订单"},{value:3,label:"虚拟发货"},{value:6,label:"自动发货"}],productTypeList:[{value:1,label:"实物商品"},{value:2,label:"虚拟商品"},{value:3,label:"卡密商品"}],orderChartType:{},timeVal:[],fromList:h["a"],selectionList:[],ids:"",uid:"",cancel_time:"",visibleDetail:!1,tableFromLog:{page:1,limit:10},tableDataLog:{data:[],total:0},LogLoading:!1,dialogVisible:!1,cardLists:[],orderDatalist:null,merSelect:[],drawer:!1,userDrawer:!1}},mounted:function(){this.$route.query.hasOwnProperty("order_sn")?this.tableFrom.order_sn=this.$route.query.order_sn:this.tableFrom.order_sn="",this.headerList(),this.getMerSelect(),this.getList("")},activated:function(){this.$route.query.hasOwnProperty("order_sn")?this.tableFrom.order_sn=this.$route.query.order_sn:this.tableFrom.order_sn="",this.headerList(),this.getMerSelect(),this.getList("")},methods:{orderFilter:function(t){var e=!1;return t.orderProduct.forEach((function(t){t.refund_num>0&&t.refund_num0&&1==t.row.paid))return" ";for(var e=0;e0&&t.row.orderProduct[e].refund_num