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.
 
 
 
 
 
crmeb_php/public/system/js/chunk-20236163.263d7760.js

1 lines
7.2 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-20236163"],{6677:function(t,e,a){"use strict";a("cc63")},b9aa:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"container"},[a("el-form",{attrs:{size:"small","label-width":"100px",inline:""}},[a("el-form-item",{attrs:{label:"时间选择:"}},[a("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,n){return a("el-radio-button",{key:n,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),a("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(" "),a("el-form-item",{staticStyle:{display:"block"},attrs:{label:"商户名称:"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return a("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1),t._v(" "),a("div",{staticClass:"deliveryCharge"},[a("el-form-item",[a("span",{staticStyle:{display:"inline-block","margin-right":"10px",color:"#1890ff"}},[t._v(t._s(2==t.delivery_type?"UU充值余额":"达达充值余额")+":"+t._s(t.balance)+"元")]),t._v(" "),a("a",{attrs:{href:2==t.delivery_type?"https://shangjia.uupt.com/index.html#/home/login":"https://newopen.imdada.cn/#/?_k=x9d8mi"}},[a("el-button",{staticClass:"mr10",attrs:{type:"primary",size:"small"}},[t._v("去充值")])],1)])],1)],1)],1),t._v(" "),a("cards-data",{attrs:{"card-lists":t.cardLists}})],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"}},[a("el-table-column",{attrs:{label:"序号","min-width":"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"merchant.mer_name",label:"商户名称","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"pay_price",label:"充值金额","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"充值时间","min-width":"100"}})],1),t._v(" "),a("div",{staticClass:"block"},[a("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)],1)},r=[],i=a("f8b7"),l=a("c4c8"),o=a("8593"),c=a("0f56"),s={components:{cardsData:c["a"]},data:function(){return{tableData:{data:[],total:0},delivery_balance:"",listLoading:!0,loading:!0,tableFrom:{keyword:"",date:"",mer_id:"",page:1,limit:20},merSelect:[],timeVal:[],cardLists:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},delivery_type:1,balance:0}},mounted:function(){this.getList(1),this.getMerSelect(),this.getCardList(),this.getConfigData(),this.getBalance()},methods:{selectChange:function(t){this.tableFrom.date=t,this.timeVal=[],this.getList(1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.getList(1)},getMerSelect:function(){var t=this;Object(l["P"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},getCardList:function(){var t=this;Object(i["r"])(this.tableFrom).then((function(e){t.cardLists=e.data})).catch((function(e){t.$message.error(e.message)}))},getConfigData:function(){var t=this;Object(o["p"])().then((function(e){t.delivery_type=e.data.delivery_type})).catch((function(e){t.$message.error(e.message)}))},getBalance:function(){var t=this;Object(i["q"])().then((function(e){t.balance=e.data.deliverBalance})).catch((function(e){t.$message.error(e.message)}))},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["s"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.delivery_balance=t.data.delivery_balance,e.listLoading=!1})).catch((function(t){e.$message.error(t.message),e.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList("")}}},u=s,d=(a("6677"),a("2877")),m=Object(d["a"])(u,n,r,!1,null,"15987f62",null);e["default"]=m.exports},cc63:function(t,e,a){},f8b7:function(t,e,a){"use strict";a.d(e,"n",(function(){return r})),a.d(e,"b",(function(){return i})),a.d(e,"a",(function(){return l})),a.d(e,"p",(function(){return o})),a.d(e,"l",(function(){return c})),a.d(e,"m",(function(){return s})),a.d(e,"o",(function(){return u})),a.d(e,"t",(function(){return d})),a.d(e,"i",(function(){return m})),a.d(e,"j",(function(){return f})),a.d(e,"g",(function(){return g})),a.d(e,"h",(function(){return h})),a.d(e,"f",(function(){return b})),a.d(e,"v",(function(){return p})),a.d(e,"w",(function(){return v})),a.d(e,"u",(function(){return y})),a.d(e,"e",(function(){return _})),a.d(e,"d",(function(){return x})),a.d(e,"c",(function(){return L})),a.d(e,"s",(function(){return C})),a.d(e,"r",(function(){return F})),a.d(e,"q",(function(){return k}));var n=a("0c6d");function r(t){return n["a"].get("order/lst",t)}function i(){return n["a"].get("order/chart")}function l(t){return n["a"].get("order/title",t)}function o(t){return n["a"].get("store/order/update/".concat(t,"/form"))}function c(t){return n["a"].get("store/order/delivery/".concat(t,"/form"))}function s(t){return n["a"].get("order/detail/".concat(t))}function u(t,e){return n["a"].get("order/status/".concat(t),e)}function d(t){return n["a"].get("order/refund/lst",t)}function m(t){return n["a"].get("order/children/".concat(t))}function f(t){return n["a"].get("order/express/".concat(t))}function g(t){return n["a"].get("order/excel",t)}function h(t){return n["a"].get("order/refund/excel",t)}function b(t){return n["a"].get("excel/lst",t)}function p(){return n["a"].get("order/takechart")}function v(t){return n["a"].get("order/takelst",t)}function y(t){return n["a"].get("order/take_title",t)}function _(){return n["a"].get("excel/type")}function x(t){return n["a"].get("delivery/order/lst",t)}function L(t){return n["a"].get("delivery/order/cancel/".concat(t,"/form"))}function C(t){return n["a"].get("delivery/station/payLst",t)}function F(){return n["a"].get("delivery/title")}function k(){return n["a"].get("delivery/belence")}}}]);