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
10 KiB
1 line
10 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ae0b147e"],{"828d":function(t,e,n){},abf0:function(t,e,n){"use strict";n("828d")},b9aa:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"container"},[n("el-form",{attrs:{size:"small","label-width":"100px",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-form-item",{attrs:{label:"时间选择:"}},[n("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small",clearable:""},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,r){return n("el-radio-button",{key:r,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),n("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间",clearable:""},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",[n("span",[t._v("充值余额: "+t._s(t.delivery_balance))]),t._v(" "),n("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.toRecharge}},[t._v("去充值")])],1)],1)],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"}},[n("el-table-column",{attrs:{label:"序号","min-width":"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"pay_price",label:"充值金额","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"充值时间","min-width":"100"}})],1),t._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"配送费充值",visible:t.dialogVisible,width:"700px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.spinShow,expression:"spinShow"}],staticClass:"description"},[n("el-form",{attrs:{size:"small","label-width":"130px"}},[n("el-form-item",{attrs:{label:"当前剩余金额:"}},[n("div",{staticClass:"description-term"},[t._v(t._s(t.delivery_balance))])]),t._v(" "),n("el-form-item",{attrs:{label:"选择充值金额:"}},[n("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择"},on:{change:t.getQRCode},model:{value:t.price,callback:function(e){t.price=e},expression:"price"}},t._l(t.amountList,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),n("el-form-item",{attrs:{label:"付款方式:"}},[n("div",{staticClass:"align-center"},[n("div",[n("span",{staticStyle:{color:"#25b864"}},[t._v("微信支付")]),t._v("(支付码过期时间:"+t._s(t.endtime)+")\n ")]),t._v(" "),n("div",{staticClass:"erweima"},[n("vue-qr",{staticClass:"bicode",attrs:{text:t.qrCode,size:310}})],1)])])],1)],1)])],1)},a=[],o=n("f8b7"),i=n("658f"),u=n.n(i),c={components:{VueQr:u.a},data:function(){return{dialogVisible:!1,tableData:{data:[],total:0},delivery_balance:"",listLoading:!0,loading:!0,tableFrom:{keyword:"",date:"",station_id:"",page:1,limit:20},timeVal:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月"
|