(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2f92eb72"],{"0a35":function(t,e,r){},"2ec3":function(t,e,r){},"31b4":function(t,e,r){"use strict";var a=r("f3f3"),n=r("9860"),i=(n=r.n(n),r("6b6c")),o=r("2f62");n={name:"edit",components:{formCreate:n.a.$form()},computed:Object(a.a)({},Object(o.d)("userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null},update:{type:Boolean,default:!0}},data:function(){return{modals:!1,type:0,loading:!1,config:{global:{upload:{props:{onSuccess:function(t,e){200===t.status?e.url=t.data.src:this.Message.error(t.msg)}}}}}}},methods:{couponsType:function(){this.$parent.addType(this.type)},onSubmit:function(t){var e=this;this.loading||(this.loading=!0,Object(i.a)({url:this.FromData.action,method:this.FromData.method,data:t}).then((function(t){e.update&&e.$parent.getList(),e.$Message.success(t.msg),e.modals=!1,setTimeout((function(){e.$emit("submitFail"),e.loading=!1}),1e3)})).catch((function(t){e.loading=!1,e.$Message.error(t.msg)})))},cancel:function(){this.type=0}}},r("9646"),a=r("2877"),o=Object(a.a)(n,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.FromData?e("div",[e("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:t.FromData.title,"z-index":1,width:"700"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[["/marketing/coupon/save.html"===t.FromData.action?e("div",{staticClass:"radio acea-row row-middle"},[e("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),e("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[e("Radio",{attrs:{label:0}},[t._v("通用券")]),e("Radio",{attrs:{label:1}},[t._v("品类券")]),e("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],e("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(t.FromData.rules),handleIcon:"false"},on:{submit:t.onSubmit}})],2)],1):t._e()}),[],!1,null,"5cc97a38",null);e.a=o.exports},"3ba4":function(t,e,r){"use strict";var a=r("0a35");r.n(a).a},"3f2a":function(t,e,r){"use strict";r.d(e,"f",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return o})),r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return c})),r.d(e,"e",(function(){return l})),r.d(e,"g",(function(){return u}));var a=r("6b6c");function n(t){return Object(a.a)({url:"/export/user_list",method:"get",params:t})}function i(t){return Object(a.a)({url:"/export/order_list",method:"get",params:t})}function o(t){return Object(a.a)({url:"/export/product_list",method:"get",params:t})}function s(t){return Object(a.a)({url:"/export/bargain_list",method:"get",params:t})}function c(t){return Object(a.a)({url:"/export/combination_list",method:"get",params:t})}function l(t){return Object(a.a)({url:"/export/seckill_list",method:"get",params:t})}function u(t){return Object(a.a)({url:"/export/member_card/".concat(t),method:"get"})}},4246:function(t,e,r){"use strict";var a=r("838e");r.n(a).a},"5c3ac":function(t,e,r){"use strict";r.r(e);var a=r("f3f3"),n=(r("a9e3"),r("d3b7"),r("159b"),r("a584")),i=(r("a4d3"),r("e01a"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("b0c0"),r("131a"),r("fb6a"),r("0122")),o=r("c964"),s=(r("d9e2"),r("8ba4"),r("ac1f"),r("00b4"),r("25f0"),r("e9c4"),r("99af"),r("a15b"),r("2f62")),c=r("f8b7"),l=r("3f2a");function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var i,o,s,c;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),n=new D(n||[]);return a(e,"_invoke",{value:(i=t,o=r,s=n,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return k()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r&&(r=function t(e,r){var a=r.method,n=e.iterator[a];return void 0===n?(r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),h):(a=f(n,e.iterator,r.arg),"throw"===a.type?(r.method="throw",r.arg=a.arg,r.delegate=null,h):(n=a.arg,n?n.done?(r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,h):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)))}(r,s),r)){if(r===h)continue;return r}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",r=f(i,o,s),"normal"===r.type){if(c=s.done?"completed":"suspendedYield",r.arg===h)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(c="completed",s.method="throw",s.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var h={};function p(){}function m(){}function g(){}n={};var v=(l(n,o,(function(){return this})),Object.getPrototypeOf),y=(v=v&&v(v(O([]))),v&&v!==e&&r.call(v,o)&&(n=v),g.prototype=p.prototype=Object.create(n));function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var n;a(this,"_invoke",{value:function(a,o){function s(){return new e((function(n,s){!function a(n,o,s,c){var l;n=f(t[n],t,o);if("throw"!==n.type)return(o=(l=n.arg).value)&&"object"==Object(i.a)(o)&&r.call(o,"__await")?e.resolve(o.__await).then((function(t){a("next",t,s,c)}),(function(t){a("throw",t,s,c)})):e.resolve(o).then((function(t){l.value=t,s(l)}),(function(t){return a("throw",t,s,c)}));c(n.arg)}(a,o,n,s)}))}return n=n?n.then(s,s):s()}})}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(t){if(t){var e,a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(a=function a(){for(;++e您选择的的订单存在用户未删除的订单,无法删除用户未删除的订单!

"})},writeOff:function(){this.modals2=!0},search:function(t){var e=this;this.$refs[t].validate((function(t){t?(e.writeOffFrom.confirm=0,Object(c.J)(e.writeOffFrom).then(function(){var t=Object(o.a)(u().mark((function t(r){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:200===r.status?e.$Message.success(r.msg):e.$Message.error(r.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))):e.$Message.error("请填写正确的核销码")}))},ok:function(t){var e=this;this.writeOffFrom.code?(this.writeOffFrom.confirm=1,Object(c.J)(this.writeOffFrom).then(function(){var r=Object(o.a)(u().mark((function r(a){return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:200===a.status?(e.$Message.success(a.msg),e.modals2=!1,e.$refs[t].resetFields(),e.$emit("getList",1)):e.$Message.error(a.msg);case 1:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))):this.$Message.warning("请先验证订单!")},del:function(t){this.modals2=!1,this.writeOffFrom.code="",this.$refs[t].resetFields()},handleSubmit:function(){this.$emit("on-submit",this.data)},Refresh:function(){this.$emit("getList")},handleReset:function(){this.$refs.form.resetFields(),this.$emit("on-reset")}})},f=(r("68d6"),r("2877")),h=(d=Object(f.a)(d,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"table_box"},[r("Form",{ref:"orderData",staticClass:"tabform",attrs:{model:t.orderData,"label-width":80,"label-position":"right"},nativeOn:{submit:function(t){t.preventDefault()}}},[r("Row",{attrs:{gutter:24,type:"flex",justify:"end"}},[r("Col",{staticClass:"ivu-text-left",attrs:{span:"24"}},[r("FormItem",{attrs:{label:"订单状态:"}},[r("RadioGroup",{attrs:{type:"button"},on:{"on-change":function(e){return t.selectChange2(t.orderData.status)}},model:{value:t.orderData.status,callback:function(e){t.$set(t.orderData,"status",e)},expression:"orderData.status"}},[r("Radio",{attrs:{label:""}},[t._v("全部")]),r("Radio",{attrs:{label:"0"}},[t._v("未支付")]),r("Radio",{attrs:{label:"1"}},[t._v("未发货")]),r("Radio",{attrs:{label:"2"}},[t._v("待收货")]),r("Radio",{attrs:{label:"3"}},[t._v("待评价")]),r("Radio",{attrs:{label:"4"}},[t._v("交易完成")]),r("Radio",{attrs:{label:"5"}},[t._v("待核销")]),r("Radio",{attrs:{label:"6"}},[t._v("已核销")]),r("Radio",{attrs:{label:"-2"}},[t._v("已退款")]),r("Radio",{attrs:{label:"-4"}},[t._v("已删除")])],1)],1)],1),r("Col",{staticClass:"ivu-text-left",attrs:{span:"24"}},[r("FormItem",{attrs:{label:"支付方式:"}},[r("RadioGroup",{attrs:{type:"button"},on:{"on-change":t.userSearchs},model:{value:t.orderData.pay_type,callback:function(e){t.$set(t.orderData,"pay_type",e)},expression:"orderData.pay_type"}},t._l(t.payList,(function(e){return r("Radio",{key:e.id,attrs:{label:e.val}},[t._v(t._s(e.label))])})),1)],1)],1),r("Col",{staticClass:"ivu-text-left",attrs:{span:"8"}},[r("FormItem",{attrs:{label:"创建时间:"}},[r("DatePicker",{staticClass:"mr20",staticStyle:{width:"300px"},attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd HH:mm:ss",type:"datetimerange",placement:"bottom-start",placeholder:"请选择创建时间",options:t.options},on:{"on-change":t.onchangeTime}})],1)],1),r("Col",{attrs:{span:"16"}},[r("Col",{staticClass:"mr",attrs:{span:"12"}},[r("FormItem",{attrs:{label:"搜索:",prop:"real_name","label-for":"real_name"}},[r("Input",{attrs:{search:"","enter-button":"",placeholder:"请输入","element-id":"name"},on:{"on-search":function(e){return t.orderSearch(t.orderData.real_name)}},model:{value:t.orderData.real_name,callback:function(e){t.$set(t.orderData,"real_name",e)},expression:"orderData.real_name"}},[r("Select",{staticStyle:{width:"80px"},attrs:{slot:"prepend"},slot:"prepend",model:{value:t.orderData.field_key,callback:function(e){t.$set(t.orderData,"field_key",e)},expression:"orderData.field_key"}},[r("Option",{attrs:{value:"all"}},[t._v("全部")]),r("Option",{attrs:{value:"order_id"}},[t._v("订单号")]),r("Option",{attrs:{value:"uid"}},[t._v("UID")]),r("Option",{attrs:{value:"real_name"}},[t._v("用户姓名")]),r("Option",{attrs:{value:"user_phone"}},[t._v("用户电话")]),r("Option",{attrs:{value:"title"}},[t._v("商品名称(模糊)")])],1)],1)],1)],1)],1),r("Col",{attrs:{span:"24"}},[r("div",{staticClass:"ml20"},[r("Button",{directives:[{name:"auth",rawName:"v-auth",value:["order-dels"],expression:"['order-dels']"}],staticClass:"mr10",attrs:{type:"primary"},on:{click:t.delAll}},[t._v("批量删除订单")]),r("Button",{directives:[{name:"auth",rawName:"v-auth",value:["order-write"],expression:"['order-write']"}],staticClass:"mr10 greens",attrs:{type:"success",size:"default"},on:{click:t.writeOff}},[r("Icon",{attrs:{type:"md-list"}}),t._v("\n 订单核销\n ")],1),r("Button",{directives:[{name:"auth",rawName:"v-auth",value:["export-storeOrder"],expression:"['export-storeOrder']"}],staticClass:"export",attrs:{icon:"ios-share-outline"},on:{click:t.exportList}},[t._v("导出")])],1)])],1)],1),r("Modal",{staticClass:"paymentFooter",attrs:{title:"订单核销",closable:!1,width:"400"},on:{"on-visible-change":t.changeModal},model:{value:t.modals2,callback:function(e){t.modals2=e},expression:"modals2"}},[r("Form",{ref:"writeOffFrom",staticClass:"tabform",attrs:{model:t.writeOffFrom,rules:t.writeOffRules,"label-position":"right"},nativeOn:{submit:function(t){t.preventDefault()}}},[r("FormItem",{attrs:{prop:"code","label-for":"code"}},[r("Input",{staticStyle:{width:"100%"},attrs:{type:"text",placeholder:"请输入12位核销码"},model:{value:t.writeOffFrom.code,callback:function(e){t.$set(t.writeOffFrom,"code",t._n(e))},expression:"writeOffFrom.code"}})],1)],1),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("Button",{attrs:{type:"primary"},on:{click:function(e){return t.ok("writeOffFrom")}}},[t._v("立即核销")]),r("Button",{on:{click:function(e){return t.del("writeOffFrom")}}},[t._v("取消")])],1)],1)],1)}),[],!1,null,"4dde7c02",null).exports,r("d0ff")),p=(r("6062"),r("c740"),r("a464")),m=r("31b4"),g=r("fc48"),v=r("61f8"),y=r("417c"),b=r("d616");function w(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */w=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i,o,s,c;e=e&&e.prototype instanceof h?e:h,e=Object.create(e.prototype),n=new D(n||[]);return a(e,"_invoke",{value:(i=t,o=r,s=n,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return k()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r&&(r=function t(e,r){var a=r.method,n=e.iterator[a];return void 0===n?(r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),f):(a=d(n,e.iterator,r.arg),"throw"===a.type?(r.method="throw",r.arg=a.arg,r.delegate=null,f):(n=a.arg,n?n.done?(r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,f):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)))}(r,s),r)){if(r===f)continue;return r}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",r=d(i,o,s),"normal"===r.type){if(c=s.done?"completed":"suspendedYield",r.arg===f)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(c="completed",s.method="throw",s.arg=r.arg)}})}),e}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function h(){}function p(){}function m(){}n={};var g=(l(n,o,(function(){return this})),Object.getPrototypeOf),v=(g=g&&g(g(O([]))),g&&g!==e&&r.call(g,o)&&(n=g),m.prototype=h.prototype=Object.create(n));function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;a(this,"_invoke",{value:function(a,o){function s(){return new e((function(n,s){!function a(n,o,s,c){var l;n=d(t[n],t,o);if("throw"!==n.type)return(o=(l=n.arg).value)&&"object"==Object(i.a)(o)&&r.call(o,"__await")?e.resolve(o.__await).then((function(t){a("next",t,s,c)}),(function(t){a("throw",t,s,c)})):e.resolve(o).then((function(t){l.value=t,s(l)}),(function(t){return a("throw",t,s,c)}));c(n.arg)}(a,o,n,s)}))}return n=n?n.then(s,s):s()}})}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(t){if(t){var e,a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(a=function a(){for(;++e您选择的的订单存在用户未删除的订单,无法删除用户未删除的订单!

"})},splitOrderDetail:function(t){this.$router.push({path:"split_list",query:{id:t.id}})},getOrderData:function(t){var e=this;Object(c.l)(t).then(function(){var t=Object(o.a)(w().mark((function t(r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1===r.data.status)return t.abrupt("return",e.$authLapse(r.data));t.next=2;break;case 2:e.$authLapse(r.data),e.FromData=r.data,e.$refs.edits.modals=!0;case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},getData:function(t){var e=this;Object(c.e)(t).then(function(){var t=Object(o.a)(w().mark((function t(r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.$refs.details.modals=!0,e.orderDatalist=r.data,e.orderDatalist.orderInfo.refund_reason_wap_img)try{e.orderDatalist.orderInfo.refund_reason_wap_img=JSON.parse(e.orderDatalist.orderInfo.refund_reason_wap_img)}catch(t){e.orderDatalist.orderInfo.refund_reason_wap_img=[]}case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},submitFail:function(){this.getList(),this.$emit("changeGetTabs")},getRefundData:function(t){var e=this;this.$modalForm(Object(c.o)(t)).then((function(){e.getList(),e.$emit("changeGetTabs")}))},getRefundIntegral:function(t){var e=this;Object(c.N)(t).then(function(){var t=Object(o.a)(w().mark((function t(r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.FromData=r.data,e.$refs.edits.modals=!0;case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},getNoRefundData:function(t){var e=this;this.$modalForm(Object(c.p)(t)).then((function(){e.getList(),e.$emit("changeGetTabs")}))},sendOrder:function(t){var e=this;this.$refs.send.total_num=t.total_num,this.$refs.send.modals=!0,this.orderId=t.id,this.status=t._status,this.pay_type=t.pay_type,this.virtual_type=t.virtual_type,this.$refs.send.getList(),this.$refs.send.getDeliveryList(),this.$nextTick((function(r){e.$refs.send.getCartInfo(t._status,t.id)}))},delivery:function(t){var e=this;Object(c.g)(t.id).then(function(){var t=Object(o.a)(w().mark((function t(r){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.FromData=r.data,e.$refs.edits.modals=!0;case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},change:function(t){},exportData:function(){this.$refs.table.exportCsv({filename:"商品列表"})},bindWrite:function(t){var e=this;this.$Modal.confirm({title:"提示",content:"确定要核销该订单吗?",cancelText:"取消",closable:!0,maskClosable:!0,onOk:function(){Object(c.T)(t.order_id).then((function(t){e.$Message.success(t.msg),e.getList()})).catch((function(t){e.$Message.error(t.msg)}))}})}})},r("883c"),g={name:"orderlistDetails",components:{tableForm:d,tableList:Object(f.a)(m,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("Table",{ref:"table",staticClass:"orderData mt25",attrs:{columns:t.columns,data:t.orderList,loading:t.loading,"highlight-row":"","no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},on:{"on-select":t.handleSelectRow,"on-select-cancel":t.handleCancelRow,"on-select-all":t.handleSelectAll,"on-select-all-cancel":t.handleSelectAll},scopedSlots:t._u([{key:"order_id",fn:function(e){var a=e.row;return e.index,[r("div",[t._v(t._s(a.order_id))]),r("div",{staticClass:"pink_name"},[t._v(t._s(a.pink_name))]),r("span",{directives:[{name:"show",rawName:"v-show",value:1===a.is_del,expression:"row.is_del === 1"}],staticStyle:{color:"#ed4014",display:"block"}},[t._v("用户已删除")])]}},{key:"nickname",fn:function(e){var a=e.row;return e.index,[r("span",{staticClass:"nickname"},[t._v(t._s(a.nickname))]),t._v(" |\n "),r("span",{staticClass:"uid"},[t._v(t._s(a.uid))])]}},{key:"info",fn:function(e){var a=e.row;return e.index,t._l(a._info,(function(e,a){return r("div",{key:a,staticClass:"tabBox"},[r("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:(e.cart_info.productInfo.attrInfo||e.cart_info.productInfo).image,expression:"\n val.cart_info.productInfo.attrInfo\n ? val.cart_info.productInfo.attrInfo.image\n : val.cart_info.productInfo.image\n "}]})]),r("span",{staticClass:"tabBox_tit"},[t._v(t._s(e.cart_info.productInfo.store_name+" | ")+t._s(e.cart_info.productInfo.attrInfo?e.cart_info.productInfo.attrInfo.suk:""))]),r("span",{staticClass:"tabBox_pice"},[t._v(t._s("¥"+e.cart_info.truePrice+" x "+e.cart_info.cart_num))])])}))}},{key:"statusName",fn:function(e){var a=e.row;return e.index,[r("div",{staticClass:"pt5",domProps:{innerHTML:t._s(a.status_name.status_name)}}),!a.is_all_refund&&a.refund.length?r("div",{staticClass:"trip"},[t._v("部分退款中")]):t._e(),0==a.refund_status&&a.is_all_refund&&a.refund.length&&6!=a.refund_type?r("div",{staticClass:"trip"},[t._v("\n 退款中\n ")]):t._e(),r("div",{staticClass:"img"},t._l(a.status_name.pics||[],(function(e,n){return a.status_name.pics?r("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:n,staticClass:"pictrue"},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e,expression:"item"}],attrs:{src:e}})]):t._e()})),0)]}},{key:"action",fn:function(e){var a=e.row;return e.index,[1===a._status?r("a",{on:{click:function(e){return t.edit(a)}}},[t._v("编辑")]):t._e(),4!==a.status&&2!==a._status&&8!==a._status||1!==a.shipping_type||null!==a.pinkStatus&&2!==a.pinkStatus?t._e():r("a",{on:{click:function(e){return t.sendOrder(a)}}},[t._v("发送货")]),4!==a._status||a.split.length?t._e():r("a",{on:{click:function(e){return t.delivery(a)}}},[t._v("配送信息")]),2==a.shipping_type&&0==a.status&&1==a.paid&&0===a.refund_status?r("a",{on:{click:function(e){return t.bindWrite(a)}}},[t._v("立即核销")]):t._e(),8!==a._status&&0!==a.status&&4!==a.status||!a.split.length?t._e():r("Divider",{attrs:{type:"vertical"}}),a.split.length?r("a",{on:{click:function(e){return t.splitOrderDetail(a)}}},[t._v("查看子订单")]):t._e(),2===a._status&&1===a.shipping_type&&2===a.pinkStatus||a.split.length?r("Divider",{attrs:{type:"vertical"}}):t._e(),4!==a.refund_type&&5!==a.refund_type&&(1===a._status||3===a._status||2===a._status&&!a.pinkStatus||4===a._status||2==a.shipping_type&&0==a.status&&1==a.paid&&0===a.refund_status)?r("Divider",{attrs:{type:"vertical"}}):t._e(),[r("Dropdown",{attrs:{transfer:!0},on:{"on-click":function(e){return t.changeMenu(a,e)}}},[r("a",{attrs:{href:"javascript:void(0)"}},[t._v("更多\n "),r("Icon",{attrs:{type:"ios-arrow-down"}})],1),r("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[r("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:1===a._status&&0===a.paid&&"offline"===a.pay_type,expression:"row._status === 1 && row.paid === 0 && row.pay_type === 'offline'"}],ref:"ones",attrs:{name:"1"}},[t._v("确认付款")]),r("DropdownItem",{attrs:{name:"2"}},[t._v("订单详情")]),r("DropdownItem",{attrs:{name:"3"}},[t._v("订单记录")]),r("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:3<=a._status&&a.express_dump,expression:"row._status >= 3 && row.express_dump"}],attrs:{name:"11"}},[t._v("电子面单打印")]),r("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:2<=a._status,expression:"row._status >= 2"}],attrs:{name:"10"}},[t._v("小票打印")]),r("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:1!==a._status||3===a._status&&0=a.back_integral,expression:"\n row._status !== 1 ||\n (row._status === 3 && row.use_integral > 0 && row.use_integral >= row.back_integral)\n "}],attrs:{name:"4"}},[t._v("订单备注")]),r("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:4===a._status,expression:"row._status === 4"}],attrs:{name:"8"}},[t._v("已收货")]),r("DropdownItem",{attrs:{name:"9"}},[t._v("删除订单")])],1)],1)]]}}])}),r("div",{staticClass:"acea-row row-right page"},[r("Page",{attrs:{total:t.page.total,current:t.page.pageNum,"show-elevator":"","show-total":"","page-size":t.page.pageSize},on:{"on-change":t.pageChange,"on-page-size-change":t.limitChange}})],1),r("edit-from",{ref:"edits",attrs:{FromData:t.FromData},on:{submitFail:t.submitFail}}),r("details-from",{ref:"details",attrs:{orderDatalist:t.orderDatalist,orderId:t.orderId}}),r("order-remark",{ref:"remarks",attrs:{orderId:t.orderId},on:{submitFail:t.submitFail}}),r("order-record",{ref:"record"}),r("order-send",{ref:"send",attrs:{orderId:t.orderId,status:t.status,pay_type:t.pay_type,virtual_type:t.virtual_type},on:{submitFail:t.submitFail,clearId:function(){t.orderId=0}}})],1)}),[],!1,null,"f2df3b70",null).exports,cardsData:n.a},data:function(){return{currentTab:"",cardLists:[]}},methods:{changeGetTabs:function(){this.$parent.getTabs()},getData:function(t){this.$refs.table.getList(t)},getCards:function(t){this.cardLists=t},handleResize:function(){this.$refs.ellipsis.forEach((function(t){return t.init()}))}},mounted:function(){}},r("3ba4"),v={name:"list",components:{productlistDetails:Object(f.a)(g,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("table-form",{on:{getList:t.getData}}),e("table-list",{ref:"table",on:{"on-changeCards":t.getCards,changeGetTabs:t.changeGetTabs}})],1)}),[],!1,null,"2169d6ee",null).exports},data:function(){var t=this;return{tabs:[{type:"",label:function(e){return e("div",[e("span","全部订单"),e("Badge",{props:{count:Number(t.tablists.all),"overflow-count":999999}})])}},{type:"1",label:function(e){return e("div",[e("span","普通订单"),e("Badge",{props:{count:Number(t.tablists.general),"overflow-count":999999}})])}},{type:"2",label:function(e){return e("div",[e("span","拼团订单"),e("Badge",{props:{count:Number(t.tablists.pink),"overflow-count":999999}})])}},{type:"3",label:function(e){return e("div",[e("span","秒杀订单"),e("Badge",{props:{count:Number(t.tablists.seckill),"overflow-count":999999}})])}},{type:"4",label:function(e){return e("div",[e("span","砍价订单"),e("Badge",{props:{count:Number(t.tablists.bargain),"overflow-count":999999}})])}},{type:"5",label:function(e){return e("div",[e("span","预售订单"),e("Badge",{props:{count:Number(t.tablists.advance),"overflow-count":999999}})])}}],spinShow:!1,currentTab:"",data:[],tablists:null}},created:function(){this.getOrderType(""),this.getOrderStatus(""),this.getOrderTime(""),this.getOrderNum(""),this.getfieldKey(""),this.onChangeTabs(""),this.getisDelIdListl(""),this.getIsDel(1)},beforeDestroy:function(){this.getOrderType(""),this.getOrderStatus(""),this.getOrderTime(""),this.getOrderNum(""),this.getfieldKey(""),this.onChangeTabs(""),this.getisDelIdListl(""),this.getIsDel(1)},mounted:function(){this.getTabs()},methods:Object(a.a)(Object(a.a)({},Object(s.c)("order",["onChangeTabs","getOrderStatus","getOrderTime","getOrderNum","getfieldKey","getOrderType","getisDelIdListl","getIsDel"])),{},{getTabs:function(){var t=this;this.spinShow=!0,this.$store.dispatch("order/getOrderTabs",{data:""}).then((function(e){t.tablists=e.data,t.spinShow=!1})).catch((function(e){t.spinShow=!1,t.$Message.error(e.msg)}))},onClickTab:function(){this.onChangeTabs(Number(this.currentTab)),this.$store.dispatch("order/getOrderTabs",{type:this.currentTab})}})},r("4246"),y=Object(f.a)(v,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("Card",{attrs:{bordered:!1,"dis-hover":""}},[t.tablists?r("Tabs",{staticClass:"mb20",on:{"on-click":t.onClickTab},model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},t._l(t.tabs,(function(t,e){return r("TabPane",{key:e,attrs:{label:t.label,name:t.type}})})),1):t._e(),(t.currentTab,r("productlist-details",{ref:"productlist"})),t.spinShow?r("Spin",{attrs:{size:"large",fix:""}}):t._e()],1)],1)}),[],!1,null,"5f68f28b",null),e.default=y.exports},"68d6":function(t,e,r){"use strict";var a=r("c9da");r.n(a).a},7443:function(t,e,r){"use strict";var a=r("b627");r.n(a).a},"838e":function(t,e,r){},"883c":function(t,e,r){"use strict";var a=r("a86d");r.n(a).a},"8ba4":function(t,e,r){r("23e7")({target:"Number",stat:!0},{isInteger:r("eac5")})},9646:function(t,e,r){"use strict";var a=r("2ec3");r.n(a).a},a584:function(t,e,r){"use strict";var a={name:"cards",data:function(){return{}},props:{cardLists:Array},methods:{},created:function(){}};r("7443"),r=r("2877"),r=Object(r.a)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("Row",{staticClass:"ivu-mt",attrs:{type:"flex",align:"middle",gutter:10}},t._l(t.cardLists,(function(e,a){return r("Col",{key:a,staticClass:"ivu-mb",attrs:{xl:e.col,lg:6,md:12,sm:24,xs:24}},[r("Card",{staticClass:"card_cent",attrs:{shadow:"",padding:0}},[r("div",{staticClass:"card_box"},[r("div",{staticClass:"card_box_cir",class:{one:a%5==0,two:a%5==1,three:a%5==2,four:a%5==3,five:a%5==4}},[r("div",{staticClass:"card_box_cir1",class:{one1:a%5==0,two1:a%5==1,three1:a%5==2,four1:a%5==3,five1:a%5==4}},[r("Icon",{attrs:{type:e.className}})],1)]),r("div",{staticClass:"card_box_txt"},[r("span",{staticClass:"sp1",domProps:{textContent:t._s(e.count||0)}}),r("span",{staticClass:"sp2",domProps:{textContent:t._s(e.name)}})])])])],1)})),1)],1)}),[],!1,null,"e3e38522",null);e.a=r.exports},a86d:function(t,e,r){},b627:function(t,e,r){},c9da:function(t,e,r){}}]);