(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-327ecfff"],{"43ad":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"order-list"}},[o("c-title",{attrs:{text:"订单列表"}}),o("div",{staticClass:"search-box"},[o("van-popover",{attrs:{trigger:"click",actions:e.actions,offset:[5,8]},on:{select:e.onSelect},scopedSlots:e._u([{key:"reference",fn:function(){return[e._v(" "+e._s(e.search_column.text)+" "),o("van-icon",{directives:[{name:"show",rawName:"v-show",value:e.showPopover,expression:"showPopover"}],attrs:{name:"arrow-up"}}),o("van-icon",{directives:[{name:"show",rawName:"v-show",value:!e.showPopover,expression:"!showPopover"}],attrs:{name:"arrow-down"}})]},proxy:!0}]),model:{value:e.showPopover,callback:function(t){e.showPopover=t},expression:"showPopover"}}),o("div",{staticClass:"input-box"},[o("i",{staticClass:"iconfont icon-a-icon_pressed"}),o("input",{directives:[{name:"model",rawName:"v-model",value:e.keyword,expression:"keyword"}],attrs:{type:"text",placeholder:"搜索订单"},domProps:{value:e.keyword},on:{input:[function(t){t.target.composing||(e.keyword=t.target.value)},e.searchData],keyup:e.searchData}})])],1),o("d-list",{attrs:{loading:e.loading,finished:e.finished},on:{load:e.onLoad}},e._l(e.dataList,(function(t,a){return o("div",{key:a,staticClass:"detail"},[o("div",{staticClass:"top-order"},[e._v("订单号:"+e._s(t.order_sn))]),o("div",{staticClass:"goods-list"},[o("div",{staticClass:"member"},[e._v(e._s(t.belongs_to_member&&t.belongs_to_member.nickname||"--")+"("+e._s(t.belongs_to_member&&t.belongs_to_member.mobile||"--")+")")]),e._l(t.order_goods,(function(t,a){return o("div",{key:a,staticClass:"goods-row"},[o("img",{attrs:{src:t.thumb,alt:""}}),o("div",{staticClass:"middle"},[o("div",{staticClass:"goods-name"},[o("div",{staticClass:"goods-name-rol"},[e._v(e._s(t.title))]),e._v(" "),o("div",{staticClass:"goods-num"},[e._v("X"+e._s(t.total))])])])])})),o("div",{staticClass:"bottom-row"},[o("div",{staticClass:"goods-pay"},[o("span",[e._v("共"+e._s(t.total)+"件商品")]),o("span",{staticClass:"pay-price-row"},[e._v("付款:"),o("span",{staticClass:"pay-price"},[o("span",{staticClass:"pay-sym"},[e._v("¥")]),e._v(e._s(t.price))])])]),o("div",{staticClass:"pay-time"},[e._v("支付时间:"+e._s(t.pay_time))])])],2)])})),0)],1)},i=[],s=o("c7eb"),r=o("b85c"),d=o("2909"),l=o("1da1"),n=(o("14d9"),o("94b4")),c={data:function(){return{showPopover:!1,actions:[{text:"商品名",value:"goods_title"},{text:"订单号",value:"order_sn"},{text:"会员信息",value:"member_kwd"}],search_column:{text:"会员信息",value:"member_kwd"},loading:!1,finished:!1,page:1,dataList:[]}},mounted:function(){this.id=this.$route.params.id,this.getData()},methods:{onSelect:function(e){this.search_column=e,this.searchData()},getData:function(e){var t=this;return Object(l["a"])(Object(s["a"])().mark((function o(){var a,i,l,n,c,m,p,g,f,b,u;return Object(s["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(!0!==t.loading&&!0!==t.finished){o.next=2;break}return o.abrupt("return");case 2:return t.loading=!0,o.next=5,$http.post("plugin.region-external-reward.frontend.controllers.client.client.childOrderList",{child_id:t.id,page:t.page,keyword:t.keyword,search_column:t.search_column.value});case 5:if(a=o.sent,i=a.data,l=a.result,n=a.msg,l){"loading"==e?(c=t.dataList).push.apply(c,Object(d["a"])(i.list.data)):t.dataList=i.list.data,(0===i.list.data.length||i.list.data.length