| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-163ed606"],{"0b65":function(t,e,n){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,n=new Date;n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[n,e])}},{text:"昨天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[n,e])}},{text:"最近7天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近30天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"本月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[n,e])}},{text:"本年",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[n,e])}}]}},2651:function(t,e,n){"use strict";n("a5bc")},a5bc:function(t,e,n){},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("div",{staticClass:"selCard"},[n("el-form",{attrs:{size:"small",inline:"","label-width":"85px"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-form-item",{attrs:{label:"时间选择:"}},[n("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间","picker-options":t.pickerOptions,clearable:""},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1)],1)],1),t._v(" "),n("el-card",{staticClass:"mt14"},[n("div",{staticClass:"mb20"},[n("span",[t._v("充值余额: "+t._s(t.delivery_balance))]),t._v(" "),n("el-button",{staticClass:"ml10",attrs:{size:"small",type:"primary"},on:{click:t.toRecharge}},[t._v("去充值")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small"}},[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:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, 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)},o=[],a=n("f8b7"),i=n("658f"),u=n.n(i),c=n("0b65"),s={components:{VueQr:u.a},data:function(){return{pickerOptions:c["a"],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(a["vb"])(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(a["ub"])({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=s,d=(n("2651"),n("2877")),f=Object(d["a"])(l,r,o,!1,null,"07b0e233",null);e["default"]=f.exports},f8b7:function(t,e,n){"use strict";n.d(e,"hb",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"rb",(function(){return u})),n.d(e,"db",(function(){return c})),n.d(e,"eb",(function(){return s})),n.d(e,"fb",(function(){return l})),n.d(e,"sb",(function(){return d})),n.d(e,"pb",(function(){return f})),n.d(e,"qb",(function(){return p})),n.d(e,"tb",(function(){return g})),n.d(e,"v",(function(){return b})),n.d(e,"ib",(function(){return m})),n.d(e,"ob",(function(){return h})),n.d(e,"cb",(function(){return v})),n.d(e,"mb",(function(){return w})),n.d(e,"Ab",(function(){return y})),n.d(e,"yb",(function(){return C})),n.d(e,"Db",(function(){return D})),n.d(e,"Cb",(function(){return x})),n.d(e,"Bb",(function(){return _})),n.d(e,"xb",(function(){return k})),n.d(e,"f",(function(){return L})),n.d(e,"z",(function(){return F})),n.d(e,"zb",(function(){return T})),n.d(e,"r",(function(){return V})),n.d(e,"q",(function(){return S})),n.d(e,"p",(function(){return z})),n.d(e,"n",(function(){return $})),n.d(e,"R",(function(){return M})),n.d(e,"H",(function(){return j})),n.d(e,"gb",(function(){return O})),n.d(e,"Hb",(function(){return q})),n.d(e,"Ib",(function(){return Q})),n.d(e,"Gb",(function(){return R})),n.d(e,"L",(function(){return Y})),n.d(e,"K",(function(){return A})),n.d(e,"I",(function(){return B})),n.d(e,"J",(function(){return J})),n.d(e,"M",(function(){return P})),n.d(e,"l",(function(){return E})),n.d(e,"j",(function(){return I})),n.d(e,"k",(function(){return N})),n.d(e,"wb",(function(){return U})),n.d(e,"t",(function(){return G})),n.d(e,"s",(function(){return H})),n.d(e,"b",(function(){return W})),n.d(e,"y",(function(){return K})),n.d(e,"F",(function(){return X})),n.d(e,"x",(function(){return Z})),n.d(e,"h",(function(){return tt})),n.d(e,"g",(function(){return et})),n.d(e,"vb",(function(){return nt})),n.d(e,"ub",(function(){return rt})),n.d(e,"E",(function(){return ot})),n.d(e,"D",(function(){return at})),n.d(e,"Eb",(function(){return it})),n.d(e,"e",(function(){return ut})),n.d(e,"O",(function(){return ct})),n.d(e,"i",(function(){return st})),n.d(e,"nb",(function(){return lt})),n.d(e,"N",(function(){return dt})),n.d(e,"m",(function(){return ft})),n.d(e,"w",(function(){return pt})),n.d(e,"Jb",(function(){return gt})),n.d(e,"u",(function(){return bt})),n.d(e,"B",(function(){return mt})),n.d(e,"A",(function(){return ht})),n.d(e,"Fb",(function(){return vt})),n.d(e,"a",(function(){return wt})),n.d(e,"Q",(function(){return yt})),n.d(e,"P",(function(){return Ct})),n.d(e,"W",(function(){return Dt})),n.d(e,"S",(function(){return xt})),n.d(e,"T",(function(){return _t})),n.d(e,"V",(function(){return kt})),n.d(e,"U",(function(){return Lt})),n.d(e,"X",(function(){return Ft})),n.d(e,"Y",(function(){return Tt})),n.d(e,"ab",(function(){return Vt})),n.d(e,"kb",(function(){return St})),n.d(e,"bb",(function(){return zt})),n.d(e,"jb",(function(){return $t})),n.d(e,"lb",(function(){return Mt})),n.d(e,"Z",(function(){return jt})),n.d(e,"G",(function(){return Ot})),n.d(e,"C",(function(){return qt})),n.d(e,"o",(function(){return Qt}));var r=n("0c6d");function o(t){return r["a"].get("store/order/lst",t)}function a(){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 s(t){return r["a"].get("store/order/detail/".concat(t))}function l(t,e){return r["a"].post("store/order/reservation/dispatch/".concat(t),e)}function d(t,e){return r["a"].post("store/order/reservation/updateDispatch/".concat(t),e)}function f(t,e){return r["a"].post("store/order/reservation/reschedule/".concat(t),e)}function p(t){return r["a"].post("store/order/reservation/verify/".concat(t))}function g(t,e){return r["a"].get("store/reservation/product/showMonth/".concat(t),e)}function b(t){return r["a"].get("store/order/children/".concat(t))}function m(t,e){return r["a"].get("store/order/log/".concat(t),e)}function h(t){return r["a"].get("store/order/remark/".concat(t,"/form"))}function v(t){return r["a"].post("store/order/delete/".concat(t))}function w(t){return r["a"].get("store/order/printer/".concat(t))}function y(t){return r["a"].get("store/refundorder/lst",t)}function C(t){return r["a"].get("store/refundorder/detail/".concat(t))}function D(t){return r["a"].get("store/refundorder/status/".concat(t,"/form"))}function x(t){return r["a"].get("store/refundorder/mark/".concat(t,"/form"))}function _(t,e){return r["a"].get("store/refundorder/log/".concat(t),e)}function k(t){return r["a"].get("store/refundorder/delete/".concat(t))}function L(t,e){return r["a"].post("store/refundorder/refund/".concat(t),e)}function F(t){return r["a"].get("store/order/express/".concat(t))}function T(t){return r["a"].get("store/refundorder/express/".concat(t))}function V(t){return r["a"].get("store/order/excel",t)}function S(t){return r["a"].get("store/order/delivery_export",t)}function z(t){return r["a"].get("excel/lst",t)}function $(t){return r["a"].get("excel/download/".concat(t))}function M(t){return r["a"].get("store/order/verify/".concat(t))}function j(t,e){return r["a"].post("store/order/verify/".concat(t),e)}function O(){return r["a"].get("store/order/filtter")}function q(){return r["a"].get("store/order/takechart")}function Q(t){return r["a"].get("store/order/takelst",t)}function R(t){return r["a"].get("store/order/take_title",t)}function Y(t){return r["a"].get("store/receipt/lst",t)}function A(t){return r["a"].get("store/receipt/set_recipt",t)}function B(t){return r["a"].post("store/receipt/save_recipt",t)}function J(t){return r["a"].get("store/receipt/detail/".concat(t))}function P(t,e){return r["a"].post("store/receipt/update/".concat(t),e)}function E(t){return r["a"].get("store/import/lst",t)}function I(t,e){return r["a"].get("store/import/detail/".concat(t),e)}function N(t,e){return r["a"].get("store/import/excel/".concat(t),e)}function U(t){return r["a"].get("store/refundorder/excel",t)}function G(){return r["a"].get("expr/options")}function H(t){return r["a"].get("expr/temps",t)}function W(t){return r["a"].post("store/order/delivery_batch",t)}function K(){return r["a"].get("serve/config")}function X(){return r["a"].get("delivery/station/select")}function Z(){return r["a"].get("delivery/station/options")}function tt(t){return r["a"].get("delivery/order/lst",t)}function et(t){return r["a"].get("delivery/order/cancel/".concat(t,"/form"))}function nt(t){return r["a"].get("delivery/station/payLst",t)}function rt(t){return r["a"].get("delivery/station/code",t)}function ot(t){return r["a"].get("store/refundorder/check/".concat(t))}function at(){return r["a"].get("store/refundorder/refund_message")}function it(t){return r["a"].post("store/refundorder/create",t)}function ut(t){return r["a"].post("store/refundorder/compute",t)}function ct(t){return r["a"].post("/store/order/offline/".concat(t))}function st(){return r["a"].get("delivery/service/options")}function lt(t){return r["a"].post("store/order/repeat_dump/".concat(t))}function dt(t){return r["a"].get("store/order/collectCargo/".concat(t,"/form"))}function ft(t){return r["a"].get("store/order/note",t)}function pt(t){return r["a"].get("v2/system/city/lst/".concat(t))}function gt(t){return r["a"].post("store/behalf/orderVerify",t)}function bt(){return r["a"].get("store/behalf/productCategory")}function mt(t){return r["a"].get("store/behalf/productList",t)}function ht(t){return r["a"].get("store/behalf/productDetail/".concat(t))}function vt(t){return r["a"].get("store/behalf/userQuery",t)}function wt(t){return r["a"].post("store/behalf/userCreate",t)}function yt(t){return r["a"].get("store/behalf/userAddressList",t)}function Ct(t){return r["a"].post("store/behalf/userAddressCreate",t)}function Dt(t){return r["a"].get("store/behalf/cartList",t)}function xt(t){return r["a"].post("store/behalf/cartCreate",t)}function _t(t,e){return r["a"].post("store/behalf/cartChange/".concat(t),e)}function kt(t){return r["a"].delete("store/behalf/cartDelete/".concat(t))}function Lt(t){return r["a"].post("store/behalf/cartClear",t)}function Ft(t){return r["a"].get("store/behalf/cartCount",t)}function Tt(t,e){return r["a"].post("store/behalf/cartUpdatePrice/".concat(t),e)}function Vt(t){return r["a"].post("store/behalf/orderCheck",t)}function St(t){return r["a"].post("store/behalf/payConfig",t)}function zt(t){return r["a"].post("store/behalf/orderCreate",t)}function $t(t,e){return r["a"].post("store/behalf/orderPay/".concat(t),e)}function Mt(t,e){return r["a"].post("store/behalf/payStatus/".concat(t),e)}function jt(t){return r["a"].post("store/behalf/cartBatchUpdatePrice",t)}function Ot(t){return r["a"].get("store/behalf/userInfo",t)}function qt(t){return r["a"].get("reservation/service/list",t)}function Qt(t,e){return r["a"].post("store/order/reservation/reservationTime/".concat(t),e)}}}]);
|