CRMEB/src/crmeb/public/admin/js/chunk-3c181dcf.4f9d853e.js
2021-02-25 11:06:07 +08:00

1 line
49 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3c181dcf"],{"31b4":function(t,e,r){"use strict";var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.FromData?r("div",[r("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?r("div",{staticClass:"radio acea-row row-middle"},[r("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),r("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[r("Radio",{attrs:{label:0}},[t._v("通用券")]),r("Radio",{attrs:{label:1}},[t._v("品类券")]),r("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],r("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(t.FromData.rules),handleIcon:"false"},on:{"on-submit":t.onSubmit}})],2)],1):t._e()},s=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),n=r("9860"),o=r.n(n),l=r("6b6c"),c=r("2f62");function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){Object(i["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var m={name:"edit",components:{formCreate:o.a.$form()},computed:u({},Object(c["e"])("userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null}},data:function(){return{modals:!1,type:0,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,r={};r=t,Object(l["a"])({url:this.FromData.action,method:this.FromData.method,data:r}).then((function(t){e.$parent.getList(),e.$Message.success(t.msg),e.modals=!1,setTimeout((function(){e.$emit("submitFail")}),1e3)})).catch((function(t){e.$Message.error(t.msg)}))},cancel:function(){this.type=0}}},f=m,p=(r("a116"),r("2877")),h=Object(p["a"])(f,a,s,!1,null,"6b606342",null);e["a"]=h.exports},"34e3":function(t,e,r){},4158:function(t,e,r){},5821:function(t,e,r){},"5c3ac":function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t._m(0),(t.currentTab,r("productlist-details",{ref:"productlist"})),t.spinShow?r("Spin",{attrs:{size:"large",fix:""}}):t._e()],1)},s=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"i-layout-page-header"},[r("div",{staticClass:"i-layout-page-header"},[r("span",{staticClass:"ivu-page-header-title"},[t._v("订单管理")])])])}],i=(r("8e6e"),r("ac6a"),r("456d"),r("c5f6"),r("ade3")),n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[t.cardLists.length>=0?r("cards-data",{attrs:{cardLists:t.cardLists}}):t._e(),r("Card",{attrs:{bordered:!1,"dis-hover":""}},[r("table-form",{on:{getList:t.getData}}),r("table-list",{ref:"table",on:{"on-changeCards":t.getCards,changeGetTabs:t.changeGetTabs}})],1)],1)},o=[],l=r("a584"),c=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("全部 "+t._s(t.orderChartType.statusAll))]),r("Radio",{attrs:{label:"0"}},[t._v("未支付 "+t._s(t.orderChartType.unpaid))]),r("Radio",{attrs:{label:"1"}},[t._v("未发货 "+t._s(t.orderChartType.unshipped))]),r("Radio",{attrs:{label:"2"}},[t._v("待收货 "+t._s(t.orderChartType.untake))]),r("Radio",{attrs:{label:"3"}},[t._v("待评价 "+t._s(t.orderChartType.unevaluate))]),r("Radio",{attrs:{label:"4"}},[t._v("交易完成 "+t._s(t.orderChartType.complete))]),r("Radio",{attrs:{label:"5"}},[t._v("待核销 "+t._s(t.orderChartType.write_off))]),r("Radio",{attrs:{label:"-1"}},[t._v("退款中 "+t._s(t.orderChartType.refunding))]),r("Radio",{attrs:{label:"-2"}},[t._v("已退款 "+t._s(t.orderChartType.refund))]),r("Radio",{attrs:{label:"-4"}},[t._v("已删除 "+t._s(t.orderChartType.del))])],1)],1)],1),r("Col",{staticClass:"ivu-text-left",attrs:{span:"24"}},[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:"24"}},[r("Col",t._b({staticClass:"mr"},"Col",t.grid,!1),[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)],1)],1),r("Modal",{staticClass:"paymentFooter",attrs:{title:"订单核销",scrollable:"",width:"400"},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:{search:"","enter-button":"验证",type:"text",placeholder:"请输入12位核销码",number:""},on:{"on-search":function(e){return t.search("writeOffFrom")}},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:t.ok}},[t._v("立即核销")]),r("Button",{on:{click:function(e){return t.del("writeOffFrom")}}},[t._v("取消")])],1)],1)],1)},d=[],u=(r("96cf"),r("1da1")),m=(r("7f7f"),r("6b54"),r("7cdf"),r("2f62")),f=r("f8b7");function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){Object(i["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var g={name:"table_from",data:function(){var t=function(t,e,r){if(!e)return r(new Error("请填写核销码"));if(Number.isInteger(e)){var a=/\b\d{12}\b/;console.log(a.test(e)),a.test(e)?r():r(new Error("请填写12位数字"))}else r(new Error("请填写12位数字"))};return{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"}]},currentTab:"",grid:{xl:8,lg:8,md:8,sm:24,xs:24},orderData:{status:"",data:"",real_name:"",field_key:"all"},modalTitleSs:"",statusType:"",time:"",value2:[],isDelIdList:[],writeOffRules:{code:[{validator:t,trigger:"blur",required:!0}]},writeOffFrom:{code:"",confirm:0},modals2:!1,timeVal:[],options:{shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[e,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]}}},computed:h(h({},Object(m["e"])("order",["orderChartType","isDels","delIdList"])),{},{today:function(){var t=new Date,e=new Date,r=e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate(),a=t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate();return[r,a]}}),watch:{$route:function(){"/admin/order/list?status=1"===this.$route.fullPath&&this.getPath()}},created:function(){"/admin/order/list?status=1"===this.$route.fullPath&&this.getPath()},methods:h(h({},Object(m["d"])("order",["getOrderStatus","getOrderTime","getOrderNum","getfieldKey"])),{},{getPath:function(){this.orderData.status=this.$route.query.status.toString(),this.getOrderStatus(this.orderData.status),this.$emit("getList",1)},exports:function(){var t=this,e=this.orderData,r={status:e.status,data:e.data,real_name:e.real_name};Object(f["A"])(r).then((function(t){location.href=t.data[0]})).catch((function(e){t.$Message.error(e.msg)}))},onchangeTime:function(t){this.timeVal=t,this.orderData.data=this.timeVal[0]?this.timeVal.join("-"):"",this.$store.dispatch("order/getOrderTabs",{data:this.orderData.data}),this.getOrderTime(this.orderData.data),this.$emit("getList",1)},selectChange:function(t){this.$store.dispatch("order/getOrderTabs",{data:t}),this.orderData.data=t,this.getOrderTime(this.orderData.data),this.timeVal=[],this.$emit("getList")},selectChange2:function(t){this.getOrderStatus(t),this.$emit("getList",1)},timeChange:function(t){this.getOrderTime(t),this.$emit("getList")},orderSearch:function(t){this.getOrderNum(t),this.getfieldKey(this.orderData.field_key),this.$emit("getList",1)},onClickTab:function(){this.$emit("onChangeType",this.currentTab)},delAll:function(){var t=this;if(0===this.delIdList.length)this.$Message.error("请先选择删除的订单!");else if(this.isDels){this.delIdList.filter((function(e){t.isDelIdList.push(e.id)}));var e={ids:this.isDelIdList},r={title:"删除订单",url:"/order/dels",method:"post",ids:e};this.$modalSure(r).then((function(e){t.$Message.success(e.msg),t.tabList()})).catch((function(e){t.$Message.error(e.msg)}))}else{var a="错误!",s="<p>您选择的的订单存在用户未删除的订单,无法删除用户未删除的订单!</p>";this.$Modal.error({title:a,content:s})}},writeOff:function(){this.modals2=!0},search:function(t){var e=this;this.$refs[t].validate((function(t){t?Object(f["y"])(e.writeOffFrom).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)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(){var t=this;this.writeOffFrom.code?(this.writeOffFrom.confirm=1,Object(f["y"])(this.writeOffFrom).then(function(){var e=Object(u["a"])(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:200===r.status?(t.$Message.success(r.msg),t.modals2=!1,t.$refs[name].resetFields(),t.$emit("getList")):t.$Message.error(r.msg);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))):this.$Message.warning("请先验证订单!")},del:function(t){this.modals2=!1,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")}})},v=g,_=(r("8332"),r("2877")),b=Object(_["a"])(v,c,d,!1,null,"67e9ce4c",null),w=b.exports,y=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-selection-change":t.onSelectTab},scopedSlots:t._u([{key:"order_id",fn:function(e){var a=e.row;e.index;return[r("span",{staticStyle:{display:"block"},domProps:{textContent:t._s(a.order_id)}}),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:"info",fn:function(e){var a=e.row;e.index;return 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.attrInfo.image:e.cart_info.productInfo.image,expression:"val.cart_info.productInfo.attrInfo?val.cart_info.productInfo.attrInfo.image:val.cart_info.productInfo.image"}]})]),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;e.index;return[r("div",{staticClass:"pt5",domProps:{innerHTML:t._s(a.status_name.status_name)}}),t._l(a.status_name.pics||[],(function(e,s){return a.status_name.pics?r("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:s,staticClass:"pictrue mr10"},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e,expression:"item"}],attrs:{src:e}})]):t._e()}))]}},{key:"action",fn:function(e){var a=e.row;e.index;return[1===a._status?r("a",{on:{click:function(e){return t.edit(a)}}},[t._v("编辑")]):t._e(),2===a._status&&1===a.shipping_type?r("a",{on:{click:function(e){return t.sendOrder(a)}}},[t._v("发送货")]):t._e(),4===a._status?r("a",{on:{click:function(e){return t.delivery(a)}}},[t._v("配送信息")]):t._e(),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(),1===a._status||2===a._status||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",{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:1!==a._status||3===a._status&&a.use_integral>0&&a.use_integral>=a.back_integral,expression:"row._status !==1 || ( row._status === 3 && (row.use_integral > 0 && row.use_integral >= row.back_integral) ) "}],attrs:{name:"4"}},[t._v("订单备注")]),r("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:1!==a._status&&(parseFloat(a.pay_price)>parseFloat(a.refund_price)||0==a.pay_price&&-1!==[0,1].indexOf(a.refund_status)),expression:"row._status !==1 && ((parseFloat(row.pay_price) > parseFloat(row.refund_price) || (row.pay_price == 0 && [0,1].indexOf(row.refund_status) !== -1)))"}],attrs:{name:"5"}},[t._v("立即退款")]),r("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:3===a._status,expression:"row._status === 3"}],attrs:{name:"7"}},[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,"show-sizer":""},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:"detailss",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},on:{submitFail:t.submitFail}})],1)},D=[],O=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("Row",{staticClass:"expand-row"},[r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[t._v("商品总价:")]),r("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.total_price)}})]),r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[t._v("下单时间:")]),r("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.add_time)}})])],1),r("Row",[r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[t._v("用户备注:")]),r("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.mark?t.row.mark:"无")}})]),r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[t._v("商家备注:")]),r("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.remark?t.row.remark:"无")}})])],1)],1)},C=[],x={name:"table-expand",props:{row:Object}},I=x,k=(r("97d8"),Object(_["a"])(I,O,C,!1,null,"fec4f802",null)),j=k.exports,F=r("31b4"),T=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.orderDatalist?a("div",[a("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单信息",width:"700","footer-hide":""},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("Card",{staticClass:"i-table-no-border",attrs:{bordered:!1,"dis-hover":""}},[a("div",{staticClass:"ivu-description-list-title"},[t._v("收货信息")]),a("Row",{staticClass:"mb10"},[a("Col",{attrs:{span:"12"}},[t._v("用户昵称:"+t._s(t.orderDatalist.userInfo.nickname))]),a("Col",{attrs:{span:"12"}},[t._v("收货人:"+t._s(t.orderDatalist.orderInfo.real_name))])],1),a("Row",{staticClass:"mb10"},[a("Col",{attrs:{span:"12"}},[t._v("联系电话:"+t._s(t.orderDatalist.orderInfo.user_phone))]),a("Col",{attrs:{span:"12"}},[t._v("收货地址:"+t._s(t.orderDatalist.orderInfo.user_address))])],1),a("Divider",{staticStyle:{margin:"20px 0 !important"}}),a("div",{staticClass:"ivu-description-list-title"},[t._v("订单信息")]),a("Row",{staticClass:"mb10"},[a("Col",{attrs:{span:"12"}},[t._v("订单ID"+t._s(t.orderDatalist.orderInfo.order_id))]),a("Col",{staticClass:"fontColor1",attrs:{span:"12"}},[t._v("订单状态:"+t._s(t.orderDatalist.orderInfo._status._title))])],1),a("Row",{staticClass:"mb10"},[a("Col",{attrs:{span:"12"}},[t._v("商品总数:"+t._s(t.orderDatalist.orderInfo.total_num))]),a("Col",{attrs:{span:"12"}},[t._v("商品总价:"+t._s(t.orderDatalist.orderInfo.total_price))])],1),a("Row",{staticClass:"mb10"},[a("Col",{attrs:{span:"12"}},[t._v("交付邮费:"+t._s(t.orderDatalist.orderInfo.pay_postage))]),a("Col",{attrs:{span:"12"}},[t._v("优惠券金额:"+t._s(t.orderDatalist.orderInfo.coupon_price))])],1),a("Row",{staticClass:"mb10"},[a("Col",{staticClass:"mb10",attrs:{span:"12"}},[t._v("实际支付:"+t._s(t.orderDatalist.orderInfo.pay_price))]),parseFloat(t.orderDatalist.orderInfo.refund_price)?a("Col",{staticClass:"fontColor3 mb10",attrs:{span:"12"}},[t._v("退款金额:"+t._s(parseFloat(t.orderDatalist.orderInfo.refund_price)))]):t._e(),parseFloat(t.orderDatalist.orderInfo.use_integral)?a("Col",{staticClass:"fontColor3 mb10",attrs:{span:"12"}},[t._v("使用积分:"+t._s(parseFloat(t.orderDatalist.orderInfo.use_integral)))]):t._e(),parseFloat(t.orderDatalist.orderInfo.back_integral)?a("Col",{staticClass:"fontColor3 mb10",attrs:{span:"12"}},[t._v("退回积分:"+t._s(parseFloat(t.orderDatalist.orderInfo.back_integral)))]):t._e(),a("Col",{staticClass:"mb10",attrs:{span:"12"}},[t._v("创建时间:"+t._s(t.orderDatalist.orderInfo._add_time))]),a("Col",{staticClass:"mb10",attrs:{span:"12"}},[t._v("支付时间:"+t._s(t.orderDatalist.orderInfo._pay_time))]),a("Col",{staticClass:"mb10",attrs:{span:"12"}},[t._v("支付方式:"+t._s(t.orderDatalist.orderInfo._status._payType))]),2===t.orderDatalist.orderInfo.shipping_type&&0===t.orderDatalist.orderInfo.refund_status&&1===t.orderDatalist.orderInfo.paid?a("Col",{staticClass:"mb10",attrs:{span:"12"}},[t._v("核销码:"+t._s(t.orderDatalist.orderInfo.verify_code))]):t._e(),t.orderDatalist.orderInfo.remark?a("Col",{staticClass:"mb10",attrs:{span:"12"}},[t._v("商家备注:"+t._s(t.orderDatalist.orderInfo.remark))]):t._e(),t.orderDatalist.orderInfo.fictitious_content?a("Col",{staticClass:"mb10",attrs:{span:"12"}},[t._v("虚拟发货备注:"+t._s(t.orderDatalist.orderInfo.fictitious_content))]):t._e()],1),"express"===t.orderDatalist.orderInfo.delivery_type?a("div",[a("Divider",{staticStyle:{margin:"20px 0 !important"}}),a("div",{staticClass:"ivu-description-list-title"},[t._v("物流信息")]),a("Row",{staticClass:"mb10"},[a("Col",{attrs:{span:"12"}},[t._v("快递公司:"+t._s(t.orderDatalist.orderInfo.delivery_name))]),a("Col",{attrs:{span:"12"}},[t._v("快递单号:"+t._s(t.orderDatalist.orderInfo.delivery_id)+" "),a("Button",{attrs:{type:"info",size:"small"},on:{click:t.openLogistics}},[t._v("物流查询")])],1)],1)],1):t._e(),"send"===t.orderDatalist.orderInfo.delivery_type?a("div",[a("Divider",{staticStyle:{margin:"20px 0 !important"}}),a("div",{staticClass:"ivu-description-list-title"},[t._v("配送信息")]),a("Row",{staticClass:"mb10"},[a("Col",{attrs:{span:"12"}},[t._v("送货人姓名:"+t._s(t.orderDatalist.orderInfo.delivery_name))]),a("Col",{attrs:{span:"12"}},[t._v("送货人电话:"+t._s(t.orderDatalist.orderInfo.delivery_id))])],1)],1):t._e(),t.orderDatalist.orderInfo.mark?a("div",[t.orderDatalist.orderInfo.mark?a("Divider",{staticStyle:{margin:"20px 0 !important"}}):t._e(),t.orderDatalist.orderInfo.mark?a("div",{staticClass:"ivu-description-list-title"},[t._v("备注信息")]):t._e(),a("Row",{staticClass:"mb10"},[a("Col",{staticClass:"fontColor2",attrs:{span:"12"}},[t._v(t._s(t.orderDatalist.orderInfo.mark))])],1)],1):t._e()],1)],1),a("Modal",{staticClass:"order_box2",attrs:{scrollable:"",title:"物流查询",width:"350"},model:{value:t.modal2,callback:function(e){t.modal2=e},expression:"modal2"}},[a("div",{staticClass:"logistics acea-row row-top"},[a("div",{staticClass:"logistics_img"},[a("img",{attrs:{src:r("bd9b")}})]),a("div",{staticClass:"logistics_cent"},[a("span",[t._v("物流公司:"+t._s(t.orderDatalist.orderInfo.delivery_name))]),a("span",[t._v("物流单号:"+t._s(t.orderDatalist.orderInfo.delivery_id))])])]),a("div",{staticClass:"acea-row row-column-around trees-coadd"},[a("div",{staticClass:"scollhide"},[a("Timeline",t._l(t.result,(function(e,r){return a("TimelineItem",{key:r},[a("p",{staticClass:"time",domProps:{textContent:t._s(e.time)}}),a("p",{staticClass:"content",domProps:{textContent:t._s(e.status)}})])})),1)],1)])])],1):t._e()},R=[],M={name:"orderDetails",data:function(){return{modal2:!1,modals:!1,grid:{xl:8,lg:8,md:12,sm:24,xs:24},result:[]}},props:{orderDatalist:Object,orderId:Number},methods:{openLogistics:function(){this.getOrderData(),this.modal2=!0},getOrderData:function(){var t=this;Object(f["d"])(this.orderId).then(function(){var e=Object(u["a"])(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.result=r.data.result;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))}},computed:{}},$=M,L=(r("791c"),Object(_["a"])($,T,R,!1,null,"7428c618",null)),A=L.exports,S=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"请修改内容",closable:!1},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[r("Form",{ref:"formValidate",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":80},nativeOn:{submit:function(t){t.preventDefault()}}},[r("FormItem",{attrs:{label:"备注:",prop:"remark"}},[r("Input",{staticStyle:{width:"100%"},attrs:{maxlength:200,"show-word-limit":"",type:"textarea",placeholder:"订单备注"},model:{value:t.formValidate.remark,callback:function(e){t.$set(t.formValidate,"remark",e)},expression:"formValidate.remark"}})],1)],1),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("Button",{attrs:{type:"primary"},on:{click:function(e){return t.putRemark("formValidate")}}},[t._v("提交")]),r("Button",{on:{click:function(e){return t.cancel("formValidate")}}},[t._v("取消")])],1)],1)},N=[],P={name:"orderMark",data:function(){return{formValidate:{remark:""},modals:!1,ruleValidate:{remark:[{required:!0,message:"请输入备注信息",trigger:"blur"}]}}},props:{orderId:Number},methods:{cancel:function(t){this.modals=!1,this.$refs[t].resetFields()},putRemark:function(t){var e=this,r={id:this.orderId,remark:this.formValidate};this.$refs[t].validate((function(a){a?Object(f["x"])(r).then(function(){var r=Object(u["a"])(regeneratorRuntime.mark((function r(a){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:e.$Message.success(a.msg),e.modals=!1,e.$refs[t].resetFields(),e.$emit("submitFail");case 4:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)})):e.$Message.warning("请填写备注信息")}))}}},E=P,V=Object(_["a"])(E,S,N,!1,null,"e4d8faee",null),B=V.exports,W=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单记录",width:"700","footer-hide":""},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[r("Card",{attrs:{bordered:!1,"dis-hover":""}},[r("Table",{attrs:{columns:t.columns,border:"",data:t.recordData,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"}})],1)],1)},G=[],z={name:"orderRecord",data:function(){return{modals:!1,loading:!1,recordData:[],page:{page:1,limit:10},columns:[{title:"订单ID",key:"oid",align:"center",minWidth:40},{title:"操作记录",key:"change_message",align:"center",minWidth:280},{title:"操作时间",key:"change_time",align:"center",minWidth:100}]}},methods:{pageChange:function(t){this.page.pageNum=t,this.getList()},getList:function(t){var e=this,r={id:t,datas:this.page};this.loading=!0,Object(f["g"])(r).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.recordData=r.data,e.loading=!1;case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))}}},Y=z,q=(r("6bc5"),Object(_["a"])(Y,W,G,!1,null,"4a487038",null)),Q=q.exports,H=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单发送货",closable:!1},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[r("Form",{ref:"formItem",attrs:{model:t.formItem,"label-width":100},nativeOn:{submit:function(t){t.preventDefault()}}},[r("FormItem",{attrs:{label:"选择类型:"}},[r("RadioGroup",{on:{"on-change":t.changeRadio},model:{value:t.formItem.type,callback:function(e){t.$set(t.formItem,"type",e)},expression:"formItem.type"}},[r("Radio",{attrs:{label:"1"}},[t._v("发货")]),r("Radio",{attrs:{label:"2"}},[t._v("送货")]),r("Radio",{attrs:{label:"3"}},[t._v("虚拟")])],1)],1),r("div",{directives:[{name:"show",rawName:"v-show",value:"1"===t.formItem.type,expression:"formItem.type==='1'"}]},[r("FormItem",{attrs:{label:"快递公司:"}},[r("Select",{staticStyle:{width:"80%"},attrs:{filterable:"",placeholder:"请选择快递公司"},model:{value:t.formItem.delivery_name,callback:function(e){t.$set(t.formItem,"delivery_name",e)},expression:"formItem.delivery_name"}},t._l(t.express,(function(e,a){return r("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.value))])})),1)],1),"1"===t.formItem.express_record_type?r("FormItem",{attrs:{label:"快递单号:"}},[r("Input",{staticStyle:{width:"80%"},attrs:{placeholder:"请输入快递单号"},model:{value:t.formItem.delivery_id,callback:function(e){t.$set(t.formItem,"delivery_id",e)},expression:"formItem.delivery_id"}})],1):t._e()],1),r("div",{directives:[{name:"show",rawName:"v-show",value:"2"===t.formItem.type,expression:"formItem.type==='2'"}]},[r("FormItem",{attrs:{label:"送货人:"}},[r("Select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择送货人"},on:{"on-change":t.shDeliveryChange},model:{value:t.formItem.sh_delivery,callback:function(e){t.$set(t.formItem,"sh_delivery",e)},expression:"formItem.sh_delivery"}},t._l(t.deliveryList,(function(e,a){return r("Option",{key:a,attrs:{value:e.id}},[t._v(t._s(e.nickname)+""+t._s(e.phone)+"")])})),1)],1)],1),r("div",{directives:[{name:"show",rawName:"v-show",value:"3"===t.formItem.type,expression:"formItem.type==='3'"}]},[r("FormItem",{attrs:{label:"备注:"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"备注"},model:{value:t.formItem.fictitious_content,callback:function(e){t.$set(t.formItem,"fictitious_content",e)},expression:"formItem.fictitious_content"}})],1)],1)],1),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("Button",{on:{click:t.cancel}},[t._v("取消")]),r("Button",{attrs:{type:"primary"},on:{click:t.putSend}},[t._v("提交")])],1),r("div",{directives:[{name:"viewer",rawName:"v-viewer"}],ref:"viewer"},[r("img",{staticStyle:{display:"none"},attrs:{src:t.temp.pic}})])],1)},J=[],K=(r("7514"),{name:"orderSend",props:{orderId:Number},data:function(){return{formItem:{type:"1",express_record_type:"1",delivery_name:"",delivery_id:"",express_temp_id:"",to_name:"",to_tel:"",to_addr:"",sh_delivery:"",fictitious_content:""},modals:!1,express:[],expressTemp:[],deliveryList:[],temp:{},export_open:!0}},mounted:function(){},methods:{changeRadio:function(t){switch(t){case"1":this.formItem.delivery_name="",this.formItem.delivery_id="",this.formItem.express_temp_id="",this.formItem.express_record_type="1",this.expressTemp=[];break;case"2":this.formItem.sh_delivery="";break;case"3":this.formItem.fictitious_content="";break;default:break}},reset:function(){this.formItem={type:"1",express_record_type:"1",delivery_name:"",delivery_id:"",express_temp_id:"",expressTemp:[],to_name:"",to_tel:"",to_addr:"",sh_delivery:"",fictitious_content:""}},getList:function(){var t=this;Object(f["e"])().then(function(){var e=Object(u["a"])(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.express=r.data,t.getSheetInfo();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},putSend:function(){var t=this,e={id:this.orderId,datas:this.formItem};if("1"===this.formItem.type&&"1"===this.formItem.express_record_type){if(""===this.formItem.delivery_name)return this.$Message.error("快递公司不能为空");if(""===this.formItem.delivery_id)return this.$Message.error("快递单号不能为空")}if("2"===this.formItem.type&&""===this.formItem.sh_delivery)return this.$Message.error("送货人不能为空");Object(f["w"])(e).then(function(){var e=Object(u["a"])(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.modals=!1,t.$Message.success(r.msg),t.$emit("submitFail"),t.reset();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},cancel:function(){this.modals=!1,this.reset()},getDeliveryList:function(){var t=this;Object(f["m"])().then((function(e){t.deliveryList=e.data.list})).catch((function(e){t.$Message.error(e.msg)}))},getSheetInfo:function(){var t=this;Object(f["v"])().then((function(e){var r=e.data;for(var a in r)r.hasOwnProperty(a)&&(t.formItem[a]=r[a]);t.export_open=void 0===r.export_open||r.export_open,t.export_open||(t.formItem.express_record_type="1"),t.formItem.to_addr=r.to_add})).catch((function(e){t.$Message.error(e.msg)}))},shDeliveryChange:function(t){var e=this.deliveryList.find((function(e){return e.id===t}));this.formItem.sh_delivery_name=e.nickname,this.formItem.sh_delivery_id=e.phone,this.formItem.sh_delivery_uid=e.uid},preview:function(){this.$refs.viewer.$viewer.show()}}}),U=K,Z=(r("d5f3"),Object(_["a"])(U,H,J,!1,null,"0b86607f",null)),X=Z.exports;function tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function et(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(r),!0).forEach((function(e){Object(i["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var rt={name:"table_list",components:{expandRow:j,editFrom:F["a"],detailsFrom:A,orderRemark:B,orderRecord:Q,orderSend:X},data:function(){return{delfromData:{},modal:!1,orderList:[],orderCards:[],loading:!1,orderId:0,columns:[{type:"expand",width:30,render:function(t,e){return t(j,{props:{row:e.row}})}},{type:"selection",width:40,align:"center"},{title:"订单号",align:"center",slot:"order_id",minWidth:150},{title:"订单类型",key:"pink_name",minWidth:120},{title:"用户信息",key:"nickname",minWidth:100},{title:"商品信息",slot:"info",minWidth:330},{title:"实际支付",key:"pay_price",minWidth:70},{title:"支付时间",key:"_pay_time",minWidth:100},{title:"支付状态",key:"pay_type_name",minWidth:80},{title:"订单状态",key:"statusName",slot:"statusName",minWidth:100},{title:"操作",slot:"action",fixed:"right",minWidth:150,align:"center"}],page:{total:0,pageNum:1,pageSize:10},data:[],FromData:null,orderDatalist:null,modalTitleSs:"",isDelIdList:[]}},computed:et({},Object(m["e"])("order",["orderStatus","orderTime","orderNum","fieldKey","orderType"])),mounted:function(){},created:function(){this.getList()},watch:{orderType:function(){this.page.pageNum=1,this.getList()}},methods:et(et({},Object(m["d"])("order",["getIsDel","getisDelIdListl"])),{},{changeMenu:function(t,e){var r=this;switch(this.orderId=t.id,e){case"1":this.delfromData={title:"修改立即支付",url:"/order/pay_offline/".concat(t.id),method:"post",ids:""},this.$modalSure(this.delfromData).then((function(t){r.$Message.success(t.msg),r.$emit("changeGetTabs"),r.getList()})).catch((function(t){console.log(t),r.$Message.error(t.msg)}));break;case"2":this.getData(t.id);break;case"3":this.$refs.record.modals=!0,this.$refs.record.getList(t.id);break;case"4":this.$refs.remarks.modals=!0;break;case"5":this.getRefundData(t.id);break;case"6":this.getRefundIntegral(t.id);break;case"7":this.getNoRefundData(t.id);break;case"8":this.delfromData={title:"修改确认收货",url:"/order/take/".concat(t.id),method:"put",ids:""},this.$modalSure(this.delfromData).then((function(t){r.$Message.success(t.msg),r.getList()})).catch((function(t){r.$Message.error(t.msg)}));break;default:this.delfromData={title:"删除订单",url:"/order/del/".concat(t.id),method:"DELETE",ids:""},this.delOrder(t,this.delfromData)}},submitModel:function(){this.getList()},pageChange:function(t){this.page.pageNum=t,this.getList()},limitChange:function(t){this.page.pageSize=t,this.getList()},getList:function(t){var e=this;this.page.pageNum=1===t?1:this.page.pageNum,this.loading=!0,Object(f["s"])({page:this.page.pageNum,limit:this.page.pageSize,status:this.orderStatus,data:this.orderTime,real_name:this.orderNum,field_key:this.fieldKey,type:0===this.orderType?"":this.orderType}).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(r){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=r.data,e.orderList=a.data,e.orderCards=a.stat,e.page.total=a.count,e.$emit("on-changeCards",a.stat),e.loading=!1;case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))},onSelectTab:function(t){var e=t.some((function(t){return 1===t.is_del}));this.getIsDel(e),this.getisDelIdListl(t)},edit:function(t){this.getOrderData(t.id)},delOrder:function(t,e){var r=this;if(1===t.is_del)this.$modalSure(e).then((function(t){r.$Message.success(t.msg),r.getList()})).catch((function(t){r.$Message.error(t.msg)}));else{var a="错误!",s="<p>您选择的的订单存在用户未删除的订单,无法删除用户未删除的订单!</p>";this.$Modal.error({title:a,content:s})}},getOrderData:function(t){var e=this;Object(f["f"])(t).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!1!==r.data.status){t.next=2;break}return t.abrupt("return",e.$authLapse(r.data));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(f["b"])(t).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.$refs.detailss.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(a){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()},getRefundData:function(t){var e=this;this.$modalForm(Object(f["i"])(t)).then((function(){e.getList(),e.$emit("changeGetTabs")}))},getRefundIntegral:function(t){var e=this;Object(f["z"])(t).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)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(f["j"])(t)).then((function(){e.getList(),e.$emit("changeGetTabs")}))},sendOrder:function(t){this.$refs.send.modals=!0,this.$refs.send.getList(),this.$refs.send.getDeliveryList(),this.orderId=t.id},delivery:function(t){var e=this;Object(f["c"])(t.id).then(function(){var t=Object(u["a"])(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){while(1)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){console.log(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(f["B"])(t.order_id).then((function(t){e.$Message.success(t.msg),e.getList()}))}})}})},at=rt,st=(r("684e"),Object(_["a"])(at,y,D,!1,null,"25cab756",null)),it=st.exports,nt={name:"orderlistDetails",components:{tableForm:w,tableList:it,cardsData:l["a"]},data:function(){return{currentTab:"",cardLists:[]}},methods:{changeGetTabs:function(){this.$parent.getTabs()},getChangeTabs:function(t){this.$refs.table.getList()},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(){}},ot=nt,lt=(r("ea99"),Object(_["a"])(ot,n,o,!1,null,"0dc8e0bc",null)),ct=lt.exports;function dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function ut(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(r),!0).forEach((function(e){Object(i["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var mt={name:"list",components:{productlistDetails:ct},data:function(){return{spinShow:!1,currentTab:"",data:[],tablists:null}},created:function(){this.getOrderStatus(""),this.getOrderTime(""),this.getOrderNum(""),this.getfieldKey(""),this.onChangeTabs("")},beforeDestroy:function(){this.getOrderStatus(""),this.getOrderTime(""),this.getOrderNum(""),this.getfieldKey(""),this.onChangeTabs("")},mounted:function(){this.getTabs()},methods:ut(ut({},Object(m["d"])("order",["onChangeTabs","getOrderStatus","getOrderTime","getOrderNum","getfieldKey","onChangeTabs"])),{},{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",{data:"",type:Number(this.currentTab)}),this.$refs.productlist.getChangeTabs(),this.$store.dispatch("order/getOrderTabs",{type:this.currentTab})}})},ft=mt,pt=(r("78192"),Object(_["a"])(ft,a,s,!1,null,"02fc23ce",null));e["default"]=pt.exports},"684e":function(t,e,r){"use strict";r("d629")},"6bc5":function(t,e,r){"use strict";r("d592")},7773:function(t,e,r){},78192:function(t,e,r){"use strict";r("7d58")},"791c":function(t,e,r){"use strict";r("e4ed")},"7cdf":function(t,e,r){var a=r("5ca1");a(a.S,"Number",{isInteger:r("9c12")})},"7d58":function(t,e,r){},8332:function(t,e,r){"use strict";r("7773")},"97d8":function(t,e,r){"use strict";r("4158")},"9c12":function(t,e,r){var a=r("d3f4"),s=Math.floor;t.exports=function(t){return!a(t)&&isFinite(t)&&s(t)===t}},a116:function(t,e,r){"use strict";r("34e3")},a584:function(t,e,r){"use strict";var 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)},s=[],i={name:"cards",data:function(){return{}},props:{cardLists:Array},methods:{},created:function(){}},n=i,o=(r("bdf2"),r("2877")),l=Object(o["a"])(n,a,s,!1,null,"2907c959",null);e["a"]=l.exports},bd9b:function(t,e){t.exports="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAKEUlEQVR4nO2de3AV1R3HP3uS8EhCkCSAQCLgRZ6RV7Hgo47hpVNgpp3+UZ2llpbOFIUqdWzR6UzpdOqMqFNHq4KMDzp6a/tHO50B2goIVqmCVV4KymMFTAiPJghXbohJ2O0fZwOX5Jy9e+/dzb0hfGYy9ybn7Hl8c3bPOb9zzm+NeDxOtohERTkwCRgFjHY/hwBlQCFQDDQD54Az7ucpYD/wmfu50z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FTkSuQmCC"},bdf2:function(t,e,r){"use strict";r("cc33")},c76b:function(t,e,r){},cc33:function(t,e,r){},d592:function(t,e,r){},d5f3:function(t,e,r){"use strict";r("5821")},d629:function(t,e,r){},e4ed:function(t,e,r){},ea99:function(t,e,r){"use strict";r("c76b")}}]);