1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6267bf2b"],{"50e2":function(t,e,a){"use strict";a.r(e);var i={name:"bill",computed:{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}},data:function(){return{grid:{xl:6,lg:7,md:5,sm:5,xs:5},formValidate:{status:1,extract_type:"",nireid:"",data:"",page:1,limit:20},fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"昨天",val:"yesterday"},{text:"今天",val:"today"},{text:"本周",val:"week"},{text:"本月",val:"month"},{text:"本季度",val:"quarter"},{text:"本年",val:"year"}]},timeVal:[],loading:!1,columns:[{title:"ID",key:"id",minWidth:50},{title:"日期",key:"id",minWidth:80},{title:"收入金额",slot:"money",minWidth:80},{title:"支出金额",key:"id",minWidth:80},{title:"平台应入账金额",key:"id",minWidth:80},{title:"操作",slot:"action",fixed:"right",minWidth:100,align:"center"}],orderList:[{id:"1",money:"12",pay_price:"12",status:1,phone:"13000000000",address:"陕西省西安市莲湖区大兴西路啊餐厨"}]}},methods:{onClickTab:function(t){},selectChange:function(t){this.formValidate.page=1,this.formValidate.data=t,this.timeVal=[]},onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal[0]?this.timeVal.join("-"):"",this.formValidate.page=1}}},n=(a("617a"),a("2877")),o=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{attrs:{bordered:!1,"dis-hover":""}},[a("PageHeader",{staticClass:"product_tabs",attrs:{title:t.$route.meta.title,"hidden-breadcrumb":""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"new_tab"},[a("Tabs",{on:{"on-click":t.onClickTab}},[a("TabPane",{attrs:{label:"日账单",name:" "}}),a("TabPane",{attrs:{label:"周账单",name:"1"}}),a("TabPane",{attrs:{label:"月账单",name:"2"}})],1)],1)])])],1),a("Card",{staticClass:"searchbox",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("FormItem",{attrs:{label:"订单时间:"}},[a("RadioGroup",{staticClass:"mr20",attrs:{type:"button"},on:{"on-change":function(e){return t.selectChange(t.formValidate.data)}},model:{value:t.formValidate.data,callback:function(e){t.$set(t.formValidate,"data",e)},expression:"formValidate.data"}},t._l(t.fromList.fromTxt,(function(e,i){return a("Radio",{key:i,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),a("DatePicker",{staticClass:"mr20",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{"on-change":t.onchangeTime}})],1)],1)],1),a("Card",{attrs:{bordered:!1,"dis-hover":""}},[a("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns,data:t.orderList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"money",fn:function(e){var i=e.row;return e.index,[a("span",{staticStyle:{color:"red"}},[t._v("¥"+t._s(i.money))])]}},{key:"action",fn:function(e){return e.row,e.index,[a("a",[t._v("账单详情")]),a("Divider",{attrs:{type:"vertical"}}),a("a",[t._v("下载")])]}}])})],1)],1)}),[],!1,null,"a853a1d4",null);e.default=o.exports},"617a":function(t,e,a){"use strict";var i=a("62b5");a.n(i).a},"62b5":function(t,e,a){}}]);
|