webpackJsonp([10],{"3fzM":function(e,t){},g5t5:function(e,t,l){"use strict";var i=l("woOf"),r=l.n(i),s=[{name:"订单已提交,等待付款",time:"2017-04-01 12:00:00 "},{name:"订单付款成功",time:"2017-04-01 12:00:00 "},{name:"在北京市进行下级地点扫描,等待付款",time:"2017-04-01 12:00:00 "},{name:"在分拨中心广东深圳公司进行卸车扫描,等待付款",time:"2017-04-01 12:00:00 "},{name:"在广东深圳公司进行发出扫描",time:"2017-04-01 12:00:00 "},{name:"到达目的地网点广东深圳公司,快件将很快进行派送",time:"2017-04-01 12:00:00 "},{name:"订单已签收,期待再次为您服务",time:"2017-04-01 12:00:00 "}],a={name:"logisticsDialog",props:{value:Boolean},computed:{visible:{get:function(){return this.value},set:function(e){this.value=e}}},data:function(){return{logisticsList:r()({},s)}},methods:{emitInput:function(e){this.$emit("input",e)},handleClose:function(){this.emitInput(!1)}}},n={render:function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-dialog",{attrs:{title:"订单跟踪",visible:e.visible,"before-close":e.handleClose,width:"40%"},on:{"update:visible":function(t){e.visible=t}}},[l("el-steps",{attrs:{direction:"vertical",active:6,"finish-status":"success",space:"50px"}},e._l(e.logisticsList,function(e){return l("el-step",{key:e.name,attrs:{title:e.name,description:e.time}})}))],1)},staticRenderFns:[]};var o=l("VU/8")(a,n,!1,function(e){l("3fzM")},null,null);t.a=o.exports},u5in:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l("woOf"),r=l.n(i),s=l("FWz8"),a=l("xT6B"),n={pageNum:1,pageSize:10,orderSn:null,receiverKeyword:null,status:null,orderType:null,sourceType:null,createTime:null},o={name:"orderList",components:{LogisticsDialog:l("g5t5").a},data:function(){return{listQuery:r()({},n),listLoading:!0,list:null,total:null,operateType:null,multipleSelection:[],closeOrder:{dialogVisible:!1,content:null,orderIds:[]},statusOptions:[{label:"待付款",value:0},{label:"待发货",value:1},{label:"已发货",value:2},{label:"已完成",value:3},{label:"已关闭",value:4}],orderTypeOptions:[{label:"正常订单",value:0},{label:"秒杀订单",value:1}],sourceTypeOptions:[{label:"PC订单",value:0},{label:"APP订单",value:1}],operateOptions:[{label:"批量发货",value:1},{label:"关闭订单",value:2},{label:"删除订单",value:3}],logisticsDialogVisible:!1}},created:function(){this.getList(),this.$route.params.status+""&&(this.listQuery.status=this.$route.params.status),this.$route.query.orderSn&&(this.listQuery.orderSn=this.$route.query.orderSn)},filters:{formatCreateTime:function(e){var t=new Date(e);return Object(a.a)(t,"yyyy-MM-dd hh:mm:ss")},formatPayType:function(e){return 1===e?"支付宝":2===e?"微信":3===e?"0元支付":"未支付"},formatSourceType:function(e){return 1===e?"APP订单":"PC订单"},formatStatus:function(e){return 1===e?"待发货":2===e?"已发货":3===e?"已完成":4===e?"已关闭":5===e?"无效订单":"待付款"}},methods:{handleResetSearch:function(){this.listQuery=r()({},n)},handleSearchList:function(){this.listQuery.pageNum=1,this.getList()},handleSelectionChange:function(e){this.multipleSelection=e},handleViewOrder:function(e,t){this.$router.push({path:"/oms/orderDetail",query:{id:t.id}})},handleCloseOrder:function(e,t){this.closeOrder.dialogVisible=!0,this.closeOrder.content="",this.closeOrder.orderIds=[t.id]},handleDeliveryOrder:function(e,t){var l=this.covertOrder(t);this.$router.push({path:"/oms/deliverOrderList",query:{list:[l],id:t.id}})},handleViewLogistics:function(e,t){this.logisticsDialogVisible=!0},handleDeleteOrder:function(e,t){var l=[];l.push(t.id),this.deleteOrder(l)},handleBatchOperate:function(){if(null==this.multipleSelection||this.multipleSelection.length<1)this.$message({message:"请选择要操作的订单",type:"warning",duration:1e3});else if(1===this.operateType){for(var e=[],t=0;t