(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-af5ea4dc"],{"0b65":function(t,e,n){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,n=new Date;n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[n,e])}},{text:"昨天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[n,e])}},{text:"最近7天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近30天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"本月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[n,e])}},{text:"本年",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[n,e])}}]}},6447:function(t,e,n){"use strict";n("b9c8")},b9c8:function(t,e,n){},e08e:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("div",{staticClass:"selCard mb15"},[n("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:""}},[n("el-form-item",{attrs:{label:"核销时间:"}},[n("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"自定义时间","picker-options":t.pickerOptions,clearable:""},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"订单号:",prop:"keywords"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入订单号/收货人/联系方式",clearable:""},nativeOn:{keyup:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.getList(1),t.getCardList()}},model:{value:t.tableFrom.keywords,callback:function(e){t.$set(t.tableFrom,"keywords",e)},expression:"tableFrom.keywords"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"用户信息:",prop:"username"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入用户信息/联系电话",clearable:""},nativeOn:{keyup:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.getList(1),t.getCardList()}},model:{value:t.tableFrom.username,callback:function(e){t.$set(t.tableFrom,"username",e)},expression:"tableFrom.username"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),n("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),t.cardLists.length>0?n("cards-data",{attrs:{"card-lists":t.cardLists}}):t._e(),t._v(" "),n("el-card",[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[n("el-table-column",{attrs:{type:"expand"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[n("el-form-item",{attrs:{label:"商品总价:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.total_price)))])]),t._v(" "),n("el-form-item",{attrs:{label:"下单时间:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.create_time)))])]),t._v(" "),n("el-form-item",{attrs:{label:"用户备注:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.mark)))])]),t._v(" "),n("el-form-item",{attrs:{label:"商家备注:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.remark)))])])],1)]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"订单编号","min-width":"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticStyle:{display:"block"},domProps:{textContent:t._s(e.row.order_sn)}}),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.row.is_del>0,expression:"scope.row.is_del > 0"}],staticStyle:{color:"#ED4014",display:"block"}},[t._v("用户已删除")])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"订单类型","min-width":"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(0==e.row.order_type?"普通订单":"核销订单"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"real_name",label:"收货人","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{label:"商品信息","min-width":"280"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.orderProduct,(function(e,r){return n("div",{key:r,staticClass:"tabBox acea-row row-middle"},[n("div",{staticClass:"demo-image__preview"},[n("el-image",{attrs:{src:e.cart_info.product.image,"preview-src-list":[e.cart_info.product.image]}})],1),t._v(" "),n("span",{staticClass:"tabBox_tit"},[t._v(t._s(e.cart_info.product.store_name+" | ")+t._s(e.cart_info.productAttr.sku))]),t._v(" "),n("span",{staticClass:"tabBox_pice"},[t._v(t._s("¥"+e.cart_info.productAttr.price+" x "+e.product_num))])])}))}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"pay_price",label:"实际支付","min-width":"90"}}),t._v(" "),n("el-table-column",{attrs:{prop:"pay_price",label:"核销员","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.paid?n("span",[t._v(t._s(e.row.verifyService?e.row.verifyService.nickname:"管理员核销"))]):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"serviceScore",label:"核销状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(-1==e.row.status?"已退款":"已核销"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"verify_time",label:"核销时间","min-width":"150"}})],1),t._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),n("file-list",{ref:"exportList"})],1)},a=[],o=n("f8b7"),i=n("30dc"),s=n("0f56"),c=n("0b65"),u={components:{cardsData:s["a"],fileList:i["a"]},data:function(){return{pickerOptions:c["a"],orderId:0,tableData:{data:[],total:0},listLoading:!0,tableFrom:{order_sn:"",status:"",date:"",page:1,limit:20,type:"4",order_type:"1",username:"",keywords:""},orderChartType:{},timeVal:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},selectionList:[],ids:"",tableFromLog:{page:1,limit:10},tableDataLog:{data:[],total:0},LogLoading:!1,dialogVisible:!1,fileVisible:!1,cardLists:[],orderDatalist:null,headeNum:[{type:1,name:"全部",count:10},{type:2,name:"普通订单",count:3},{type:3,name:"直播订单",count:1},{type:4,name:"核销订单",count:2},{type:5,name:"拼团订单",count:0},{type:6,name:"秒杀订单",count:6},{type:7,name:"砍价订单",count:5}]}},mounted:function(){this.headerList(),this.getCardList(),this.getList(1)},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},exportOrder:function(){var t=this;Object(o["n"])({status:this.tableFrom.status,date:this.tableFrom.date,take_order:1}).then((function(e){var n=t.$createElement;t.$msgbox({title:"提示",message:n("p",null,[n("span",null,'文件正在生成中,请稍后点击"'),n("span",{style:"color: teal"},"导出记录"),n("span",null,'"查看~ ')]),confirmButtonText:"我知道了"}).then((function(t){}))})).catch((function(e){t.$message.error(e.message)}))},getExportFileList:function(){this.fileVisible=!0,this.$refs.exportList.exportFileList("order")},pageChangeLog:function(t){this.tableFromLog.page=t,this.getList("")},handleSizeChangeLog:function(t){this.tableFromLog.limit=t,this.getList("")},handleSelectionChange:function(t){this.selectionList=t;var e=[];this.selectionList.map((function(t){e.push(t.id)})),this.ids=e.join(",")},selectChange:function(t){this.timeVal=[],this.tableFrom.date=t,this.getCardList(),this.getList(1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.getCardList(),this.getList(1)},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(o["ab"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.$message.error(t.message),e.listLoading=!1}))},getCardList:function(){var t=this;Object(o["Y"])(this.tableFrom).then((function(e){t.cardLists=e.data})).catch((function(e){t.$message.error(e.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList("")},headerList:function(){var t=this;Object(o["Z"])().then((function(e){t.orderChartType=e.data})).catch((function(e){t.$message.error(e.message)}))}}},l=u,d=(n("6447"),n("2877")),f=Object(d["a"])(l,r,a,!1,null,"34cf6d3e",null);e["default"]=f.exports},f8b7:function(t,e,n){"use strict";n.d(e,"I",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"M",(function(){return s})),n.d(e,"F",(function(){return c})),n.d(e,"G",(function(){return u})),n.d(e,"q",(function(){return l})),n.d(e,"J",(function(){return d})),n.d(e,"L",(function(){return f})),n.d(e,"E",(function(){return m})),n.d(e,"K",(function(){return p})),n.d(e,"T",(function(){return g})),n.d(e,"R",(function(){return h})),n.d(e,"W",(function(){return b})),n.d(e,"V",(function(){return v})),n.d(e,"U",(function(){return _})),n.d(e,"Q",(function(){return y})),n.d(e,"e",(function(){return w})),n.d(e,"t",(function(){return k})),n.d(e,"S",(function(){return x})),n.d(e,"n",(function(){return L})),n.d(e,"m",(function(){return D})),n.d(e,"l",(function(){return C})),n.d(e,"k",(function(){return F})),n.d(e,"D",(function(){return T})),n.d(e,"x",(function(){return S})),n.d(e,"H",(function(){return $})),n.d(e,"Z",(function(){return O})),n.d(e,"ab",(function(){return V})),n.d(e,"Y",(function(){return E})),n.d(e,"B",(function(){return z})),n.d(e,"A",(function(){return j})),n.d(e,"y",(function(){return M})),n.d(e,"z",(function(){return Y})),n.d(e,"C",(function(){return B})),n.d(e,"j",(function(){return N})),n.d(e,"h",(function(){return A})),n.d(e,"i",(function(){return J})),n.d(e,"P",(function(){return P})),n.d(e,"p",(function(){return R})),n.d(e,"o",(function(){return W})),n.d(e,"a",(function(){return I})),n.d(e,"s",(function(){return Z})),n.d(e,"w",(function(){return q})),n.d(e,"r",(function(){return G})),n.d(e,"g",(function(){return H})),n.d(e,"f",(function(){return K})),n.d(e,"O",(function(){return Q})),n.d(e,"N",(function(){return U})),n.d(e,"v",(function(){return X})),n.d(e,"u",(function(){return tt})),n.d(e,"X",(function(){return et})),n.d(e,"d",(function(){return nt}));var r=n("0c6d");function a(t){return r["a"].get("store/order/lst",t)}function o(){return r["a"].get("store/order/chart")}function i(t){return r["a"].get("store/order/title",t)}function s(t,e){return r["a"].post("store/order/update/".concat(t),e)}function c(t,e){return r["a"].post("store/order/delivery/".concat(t),e)}function u(t){return r["a"].get("store/order/detail/".concat(t))}function l(t){return r["a"].get("store/order/children/".concat(t))}function d(t,e){return r["a"].get("store/order/log/".concat(t),e)}function f(t){return r["a"].get("store/order/remark/".concat(t,"/form"))}function m(t){return r["a"].post("store/order/delete/".concat(t))}function p(t){return r["a"].get("store/order/printer/".concat(t))}function g(t){return r["a"].get("store/refundorder/lst",t)}function h(t){return r["a"].get("store/refundorder/detail/".concat(t))}function b(t){return r["a"].get("store/refundorder/status/".concat(t,"/form"))}function v(t){return r["a"].get("store/refundorder/mark/".concat(t,"/form"))}function _(t){return r["a"].get("store/refundorder/log/".concat(t))}function y(t){return r["a"].get("store/refundorder/delete/".concat(t))}function w(t){return r["a"].post("store/refundorder/refund/".concat(t))}function k(t){return r["a"].get("store/order/express/".concat(t))}function x(t){return r["a"].get("store/refundorder/express/".concat(t))}function L(t){return r["a"].get("store/order/excel",t)}function D(t){return r["a"].get("store/order/delivery_export",t)}function C(t){return r["a"].get("excel/lst",t)}function F(t){return r["a"].get("excel/download/".concat(t))}function T(t){return r["a"].get("store/order/verify/".concat(t))}function S(t,e){return r["a"].post("store/order/verify/".concat(t),e)}function $(){return r["a"].get("store/order/filtter")}function O(){return r["a"].get("store/order/takechart")}function V(t){return r["a"].get("store/order/takelst",t)}function E(t){return r["a"].get("store/order/take_title",t)}function z(t){return r["a"].get("store/receipt/lst",t)}function j(t){return r["a"].get("store/receipt/set_recipt",t)}function M(t){return r["a"].post("store/receipt/save_recipt",t)}function Y(t){return r["a"].get("store/receipt/detail/".concat(t))}function B(t,e){return r["a"].post("store/receipt/update/".concat(t),e)}function N(t){return r["a"].get("store/import/lst",t)}function A(t,e){return r["a"].get("store/import/detail/".concat(t),e)}function J(t,e){return r["a"].get("store/import/excel/".concat(t),e)}function P(t){return r["a"].get("store/refundorder/excel",t)}function R(){return r["a"].get("expr/options")}function W(t){return r["a"].get("expr/temps",t)}function I(t){return r["a"].post("store/order/delivery_batch",t)}function Z(){return r["a"].get("serve/config")}function q(){return r["a"].get("delivery/station/select")}function G(){return r["a"].get("delivery/station/options")}function H(t){return r["a"].get("delivery/order/lst",t)}function K(t){return r["a"].get("delivery/order/cancel/".concat(t,"/form"))}function Q(t){return r["a"].get("delivery/station/payLst",t)}function U(t){return r["a"].get("delivery/station/code",t)}function X(t){return r["a"].get("store/refundorder/check/".concat(t))}function tt(){return r["a"].get("store/refundorder/refund_message")}function et(t){return r["a"].post("store/refundorder/create",t)}function nt(t){return r["a"].post("store/refundorder/compute",t)}}}]);