You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
19 KiB
1 line
19 KiB
4 months ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b820792a"],{"0b65":function(t,e,n){"use strict";e.a={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,n=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,n))),[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]}}]}},2166:function(t,e,n){"use strict";n.r(e);var r=n("2f62"),a=n("0b65"),o=n("90e7");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={name:"record",components:{},data:function(){return{options:a.a,timeVal:[],formData:{keyword:"",data:"",store_id:0,station_type:"",status:"",page:1,limit:20},loading:!1,columns:[{title:"ID",key:"id",width:60},{title:"门店名称",slot:"info",minWidth:150},{title:"配送平台",slot:"stationType",minWidth:90},{title:"配送订单号",key:"delivery_no",minWidth:110},{title:"配送原订单号",slot:"yOrderId",minWidth:110},{title:"配送起点",key:"from_address",minWidth:130},{title:"配送终点",key:"to_address",minWidth:130},{title:"配送状态",slot:"status",minWidth:80},{title:"配送距离",slot:"distance",minWidth:80},{title:"配送费用",key:"fee",minWidth:80},{title:"消费时间",key:"add_time",minWidth:125},{title:"备注",slot:"mark",minWidth:80},{title:"操作",slot:"action",fixed:"right",minWidth:80}],data:[],storeList:[],total:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(n,!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(r.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getStoreList(),this.getList()},mounted:function(){},methods:{cancelOrder:function(t){var e=this;this.$modalForm(Object(o.j)(t.id)).then((function(){return e.getList()}))},orderReset:function(){this.formData={keyword:"",data:"",store_id:0,station_type:"",status:"",page:1,limit:20},this.timeVal=[],this.getList()},orderSearch:function(){this.formData.page=1,this.getList()},pageChange:function(t){this.formData.page=t,this.getList()},limitChange:function(t){this.formData.limit=t,this.getList()},getStoreList:function(){var t=this;Object(o.K)().then((function(e){t.storeList=e.data})).catch((function(e){t.$Message.error(e.msg)}))},getList:function(){var t=this;this.loading=!0,Object(o.k)(this.formData).then((function(e){t.loading=!1,t.data=e.data.list,t.total=e.data.
|