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
3.3 KiB
1 line
3.3 KiB
3 months ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-70713add"],{"2dda":function(t,e,a){},"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("c6bb"),a("2877")),o=Object(n.a)(i,(function(){var t=this,e=t._self._c;return e("div",[e("Card",{attrs:{bordered:!1,"dis-hover":""}},[e("PageHeader",{staticClass:"product_tabs",attrs:{title:t.$route.meta.title,"hidden-breadcrumb":""}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticClass:"new_tab"},[e("Tabs",{on:{"on-click":t.onClickTab}},[e("TabPane",{attrs:{label:"日账单",name:" "}}),e("TabPane",{attrs:{label:"周账单",name:"1"}}),e("TabPane",{attrs:{label:"月账单",name:"2"}})],1)],1)])])],1),e("Card",{staticClass:"searchbox",attrs:{bordered:!1,"dis-hover":""}},[e("Form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:"订单时间:"}},[e("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(a,i){return e("Radio",{key:i,attrs:{label:a.val}},[t._v(t._s(a.text))])})),1),e("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),e("Card",{attrs:{bordered:!1,"dis-hover":""}},[e("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(a){var i=a.row;return a.index,[e("span",{staticStyle:{color:"red"}},[t._v("¥"+t._s(i.money))])]}},{key:"action",fn:function(a){return a.row,a.index,[e("a",[t._v("账单详情")]),e("Divider",{attrs:{type:"vertical"}}),e("a",[t._v("下载")])]}}])})],1)],1)}),[],!1,null,"a853a1d4",null);e.default=o.exports},c6bb:function(t,e,a){"use strict";a("2dda")}}]);
|