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/mer/js/chunk-ae0b147e.e02a233a.js

1 lines
10 KiB

(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:"本月",val:"month"},{text:"本年",val:"year"}]},amountList:[{label:"10.00元",value:10},{label:"50.00元",value:50},{label:"100.00元",value:100},{label:"200.00元",value:200},{label:"500.00元",value:500},{label:"1000.00元",value:1e3}],qrCode:"",endtime:"",price:10,spinShow:!1}},mounted:function(){this.getList(1)},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)},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(o["L"])(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("")},toRecharge:function(){this.dialogVisible=!0,this.getQRCode()},getQRCode:function(){var t=this;this.spinShow=!0,Object(o["K"])({price:this.price}).then((function(e){t.$set(t,"endtime",e.data.endtime),t.$set(t,"qrCode",e.data.config),setTimeout((function(){t.spinShow=!1}),300)})).catch((function(e){t.spinShow=!1,t.$message.error(e.message)}))}}},l=c,s=(n("abf0"),n("2877")),d=Object(s["a"])(l,r,a,!1,null,"f1a453ba",null);e["default"]=d.exports},f8b7:function(t,e,n){"use strict";n.d(e,"F",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"J",(function(){return u})),n.d(e,"C",(function(){return c})),n.d(e,"D",(function(){return l})),n.d(e,"p",(function(){return s})),n.d(e,"G",(function(){return d})),n.d(e,"I",(function(){return f})),n.d(e,"B",(function(){return g})),n.d(e,"H",(function(){return m})),n.d(e,"Q",(function(){return p})),n.d(e,"O",(function(){return v})),n.d(e,"T",(function(){return b})),n.d(e,"S",(function(){return h})),n.d(e,"R",(function(){return y})),n.d(e,"N",(function(){return _})),n.d(e,"d",(function(){return x})),n.d(e,"s",(function(){return w})),n.d(e,"P",(function(){return C})),n.d(e,"m",(function(){return k})),n.d(e,"l",(function(){return L})),n.d(e,"k",(function(){return F})),n.d(e,"j",(function(){return z})),n.d(e,"A",(function(){return S})),n.d(e,"u",(function(){return V})),n.d(e,"E",(function(){return D})),n.d(e,"V",(function(){return $})),n.d(e,"W",(function(){return j})),n.d(e,"U",(function(){return R})),n.d(e,"y",(function(){return T})),n.d(e,"x",(function(){return q})),n.d(e,"v",(function(){return M})),n.d(e,"w",(function(){return O})),n.d(e,"z",(function(){return Q})),n.d(e,"i",(function(){return J})),n.d(e,"g",(function(){return N})),n.d(e,"h",(function(){return B})),n.d(e,"M",(function(){return E})),n.d(e,"o",(function(){return K})),n.d(e,"n",(function(){return W})),n.d(e,"a",(function(){return A})),n.d(e,"r",(function(){return G})),n.d(e,"t",(function(){return H})),n.d(e,"q",(function(){return I})),n.d(e,"f",(function(){return P})),n.d(e,"e",(function(){return U})),n.d(e,"L",(function(){return X})),n.d(e,"K",(function(){return Y}));var r=n("0c6d");function a(t){return r["a"].get("store/order/lst",t)}function o(){return r["a"].get("store/order/chart")}function i(t){return r["a"].get("store/order/title",t)}function u(t,e){return r["a"].post("store/order/update/".concat(t),e)}function c(t,e){return r["a"].post("store/order/delivery/".concat(t),e)}function l(t){return r["a"].get("store/order/detail/".concat(t))}function s(t){return r["a"].get("store/order/children/".concat(t))}function d(t,e){return r["a"].get("store/order/log/".concat(t),e)}function f(t){return r["a"].get("store/order/remark/".concat(t,"/form"))}function g(t){return r["a"].post("store/order/delete/".concat(t))}function m(t){return r["a"].get("store/order/printer/".concat(t))}function p(t){return r["a"].get("store/refundorder/lst",t)}function v(t){return r["a"].get("store/refundorder/detail/".concat(t))}function b(t){return r["a"].get("store/refundorder/status/".concat(t,"/form"))}function h(t){return r["a"].get("store/refundorder/mark/".concat(t,"/form"))}function y(t){return r["a"].get("store/refundorder/log/".concat(t))}function _(t){return r["a"].get("store/refundorder/delete/".concat(t))}function x(t){return r["a"].post("store/refundorder/refund/".concat(t))}function w(t){return r["a"].get("store/order/express/".concat(t))}function C(t){return r["a"].get("store/refundorder/express/".concat(t))}function k(t){return r["a"].get("store/order/excel",t)}function L(t){return r["a"].get("store/order/delivery_export",t)}function F(t){return r["a"].get("excel/lst",t)}function z(t){return r["a"].get("excel/download/".concat(t))}function S(t){return r["a"].get("store/order/verify/".concat(t))}function V(t,e){return r["a"].post("store/order/verify/".concat(t),e)}function D(){return r["a"].get("store/order/filtter")}function $(){return r["a"].get("store/order/takechart")}function j(t){return r["a"].get("store/order/takelst",t)}function R(t){return r["a"].get("store/order/take_title",t)}function T(t){return r["a"].get("store/receipt/lst",t)}function q(t){return r["a"].get("store/receipt/set_recipt",t)}function M(t){return r["a"].post("store/receipt/save_recipt",t)}function O(t){return r["a"].get("store/receipt/detail/".concat(t))}function Q(t,e){return r["a"].post("store/receipt/update/".concat(t),e)}function J(t){return r["a"].get("store/import/lst",t)}function N(t,e){return r["a"].get("store/import/detail/".concat(t),e)}function B(t){return r["a"].get("store/import/excel/".concat(t))}function E(t){return r["a"].get("store/refundorder/excel",t)}function K(){return r["a"].get("expr/options")}function W(t){return r["a"].get("expr/temps",t)}function A(t){return r["a"].post("store/order/delivery_batch",t)}function G(){return r["a"].get("serve/config")}function H(){return r["a"].get("delivery/station/select")}function I(){return r["a"].get("delivery/station/options")}function P(t){return r["a"].get("delivery/order/lst",t)}function U(t){return r["a"].get("delivery/order/cancel/".concat(t,"/form"))}function X(t){return r["a"].get("delivery/station/payLst",t)}function Y(t){return r["a"].get("delivery/station/code",t)}}}]);