徐总多门店
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.
jiuhaoshenghuo/public/view_admin/js/chunk-8f43891a.9617437b.js

1 line
14 KiB

4 months ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-8f43891a"],{"0b65":function(t,e,r){"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,r=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,r))),[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]}}]}},"1f7a":function(t,e,r){"use strict";var n=r("c19f");r.n(n).a},3818:function(t,e,r){"use strict";r.r(e);var n=r("a34a"),a=r.n(n),o=r("2f62"),i=r("73f5"),u=r("2e83"),c=r("0b65");function s(t,e,r,n,a,o,i){try{var u=t[o](i),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,a)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={name:"order",data:function(){return{modalmark:!1,remarks:{mark:""},staff:[],total:0,grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns:[{title:"交易单号",key:"order_id",minWidth:180},{title:"关联订单",key:"link_id",minWidth:180},{title:"交易时间",key:"trade_time",minWidth:150},{title:"交易金额",slot:"number",minWidth:80},{title:"交易人",slot:"user_nickname",ellipsis:!0,minWidth:80},{title:"关联店员",key:"staff_name",minWidth:80},{title:"交易类型",key:"type_name",minWidth:80},{title:"支付方式",key:"pay_type_name",minWidth:80},{title:"备注",key:"remark",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:80,align:"center"}],orderList:[],formValidate:{store_id:"",keyword:"",data:"",page:1,limit:20},timeVal:[],options:c.a}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(r,!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},Object(o.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}}),mounted:function(){this.getList(),this.staffApi()},methods:{getList:function(){var t=this;this.loading=!0,Object(i.L)(this.formValidate).then((function(e){t.orderList=e.data.list,t.total=e.data.count,t.loading=!1}))},staffApi:function(){var t=this;Object(i.D)().then((function(e){t.staff=e.data}))},search:function(){this.formValidate.page=1,this.getList()},reset:function(){this.formValidate={store_id:"",keyword:"",data:"",page:1,limit:20},this.timeVal=[],this.getList()},selectChange:function(t){this.formValidate.page=1,this.formValidate.data=t,this.timeVal=[],this.getList()},onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal