| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7dec3b13"],{"0436":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Form",{ref:"orderData",staticClass:"tabform",attrs:{"label-width":80,"label-position":"right"}},[t._l(t.fromList,(function(e,n){return a("Row",{key:n,attrs:{gutter:24,type:"flex"}},[a("Col",{attrs:{xl:8,lg:8,md:8,sm:24,xs:24}},[a("FormItem",{attrs:{label:e.title+":"}},[a("RadioGroup",{attrs:{type:"button"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},t._l(e.fromTxt,(function(n,r){return a("Radio",{key:r,attrs:{label:n.text}},[t._v(t._s(n.text)+t._s(e.num))])})),1)],1)],1),e.custom?a("Col",[a("FormItem",{staticClass:"tab_data"},[a("DatePicker",{staticStyle:{width:"200px"},attrs:{editable:!1,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"请选择时间"}})],1)],1):t._e()],1)})),t.isExist.existOne?a("Row",{attrs:{gutter:24,type:"flex"}},[a("Col",{staticClass:"mr",attrs:{span:"10"}},[a("FormItem",{attrs:{label:t.searchFrom.title+":",prop:"real_name","label-for":"real_name"}},[a("Input",{attrs:{search:"","enter-button":"",placeholder:t.searchFrom.place,"element-id":"name"}})],1)],1),a("Col",[a("Button",{staticClass:"mr"},[t._v("导出")]),a("span",{staticClass:"Refresh"},[t._v("刷新")]),a("Icon",{attrs:{type:"ios-refresh"}})],1)],1):t._e(),t.isExist.existTwo?a("Row",{staticClass:"withdrawal",attrs:{gutter:24,type:"flex"}},[a("Col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.withdrawal},on:{"on-change":t.changeTree},model:{value:t.withdrawalTxt,callback:function(e){t.withdrawalTxt=e},expression:"withdrawalTxt"}})],1),a("Col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.payment},on:{"on-change":t.changeTree},model:{value:t.paymentTxt,callback:function(e){t.paymentTxt=e},expression:"paymentTxt"}})],1),a("Col",{staticClass:"item",attrs:{span:"6"}},[a("Input",{attrs:{search:"","enter-button":"",placeholder:"微信名称、姓名、支付宝账号、银行卡号","element-id":"name"}})],1)],1):t._e()],2)],1)},r=[],i={name:"publicSearchFrom",props:{fromList:{type:Array},searchFrom:{type:Object},treeData:{type:Object},isExist:{type:Object}},data:function(){return{date:"全部",withdrawalTxt:"提现状态",paymentTxt:"提现方式"}},computed:{},mounted:function(){},methods:{changeTree:function(){}}},o=i,s=(a("53ca"),a("2877")),c=Object(s["a"])(o,n,r,!1,null,"0c50e0aa",null);e["a"]=c.exports},"1dc8":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",[a("div",{staticClass:"i-layout-page-header"},[a("div",{staticClass:"i-layout-page-header"},[a("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))])])]),a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formValidate",staticClass:"tabform",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("Row",{attrs:{gutter:24,type:"flex"}},[a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"订单时间:"}},[a("DatePicker",{staticClass:"mr20",staticStyle:{width:"200px"},attrs:{editable:!1,clearable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-start",placeholder:"请选择时间",options:t.options},on:{"on-change":t.onchangeTime}})],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"交易类型:"}},[a("Select",{staticClass:"mr15",staticStyle:{width:"30%"},attrs:{type:"button"},on:{"on-change":t.selChange},model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},t._l(t.withdrawal,(function(e,n){return a("Option",{key:n,attrs:{label:e,value:n}},[t._v(t._s(e))])})),1)],1)],1),a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"流水搜索:"}},[a("div",{staticClass:"acea-row row-middle"},[a("Input",{staticStyle:{width:"30%"},attrs:{search:"","enter-button":"",placeholder:"订单号/昵称/电话/用户ID","element-id":"name"},on:{"on-search":t.getList},model:{value:t.formValidate.keywords,callback:function(e){t.$set(t.formValidate,"keywords",e)},expression:"formValidate.keywords"}})],1)])],1)],1)],1)],1),a("Card",{attrs:{bordered:!1,"dis-hover":""}},[a("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tabList,loading:t.loading,"no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"extract_price",fn:function(e){var n=e.row;return[a("div",[t._v(t._s(n.extract_price))])]}},{key:"pay_type",fn:function(e){var n=e.row;return t._l(t.payment,(function(e){return a("div",{key:e.value},[n.pay_type==e.value?a("span",[t._v(" "+t._s(e.title)+" ")]):t._e()])}))}},{key:"price",fn:function(e){var n=e.row;return[n.price>=0?a("div",{staticClass:"z-price"},[t._v("+"+t._s(n.price))]):t._e(),n.price<0?a("div",{staticClass:"f-price"},[t._v(t._s(n.price))]):t._e()]}},{key:"add_time",fn:function(e){var n=e.row;return[a("span",[t._v(" "+t._s(t._f("formatDate")(n.add_time)))])]}},{key:"set",fn:function(e){var n=e.row;return[a("Button",{staticClass:"item",attrs:{size:"small",type:"primary"},on:{click:function(e){return t.setMark(n)}}},[t._v("备注")])]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1),a("Modal",{attrs:{scrollable:"",closable:"",title:"备注","mask-closable":!1},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("Input",{attrs:{type:"textarea",rows:4,placeholder:"请输入备注"},model:{value:t.mark_msg.mark,callback:function(e){t.$set(t.mark_msg,"mark",e)},expression:"mark_msg.mark"}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary",size:"large",long:"",loading:t.modal_loading},on:{click:function(e){return e.preventDefault(),t.oks(e)}}},[t._v("确定")])],1)],1)],1)},r=[],i=a("c964"),o=a("f3f3"),s=(a("96cf"),a("a15b"),a("0436")),c=a("2f62"),l=a("cd05"),u=a("61f7"),d=a("31b4"),f={name:"cashApply",components:{searchFrom:s["a"],editFrom:d["a"]},filters:{formatDate:function(t){if(0!==t){var e=new Date(1e3*t);return Object(u["a"])(e,"yyyy-MM-dd hh:mm")}}},data:function(){return{images:["1.jpg","2.jpg"],modal_loading:!1,options:this.$timeOptions,mark_msg:{mark:""},modals:!1,total:0,loading:!1,columns:[{title:"交易单号",key:"flow_id",width:180},{title:"关联订单",key:"order_id",minWidth:180},{title:"交易时间",key:"add_time",minWidth:90},{title:"交易金额",slot:"price",minWidth:150},{title:"交易用户",key:"nickname",minWidth:150},{title:"交易类型",key:"trading_type",minWidth:100},{title:"支付方式",slot:"pay_type",minWidth:100},{title:"备注",key:"mark",minWidth:100},{title:"操作",slot:"set",fixed:"right",width:100}],tabList:[],withdrawal:[],payment:[{title:"全部",value:""},{title:"微信",value:"weixin"},{title:"支付宝",value:"alipay"},{title:"银行卡",value:"bank"},{title:"线下支付",value:"offline"}],formValidate:{trading_type:0,time:"",keywords:"",page:1,limit:20},timeVal:[],FromData:null,extractId:0}},computed:Object(o["a"])(Object(o["a"])({},Object(c["e"])("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}}),mounted:function(){this.getList()},methods:{oks:function(){var t=this;this.modal_loading=!0,Object(l["o"])(this.extractId,this.mark_msg).then((function(e){t.$Message.success(e.msg),t.modal_loading=!1,t.modals=!1,t.getList()})).catch((function(e){t.modal_loading=!1,t.$Message.error(e.msg)}))},setMark:function(t){this.modals=!0,this.extractId=t.id,this.mark_msg.mark=t.mark},onchangeTime:function(t){this.timeVal=t,this.formValidate.time=this.timeVal.join("-"),this.formValidate.page=1,this.getList()},selChange:function(t){this.formValidate.page=1,this.formValidate.trading_type=t,this.getList()},getList:function(){var t=this;this.loading=!0,Object(l["j"])(this.formValidate).then(function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(a){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=a.data,t.tabList=n.list,t.total=n.count,t.withdrawal=n.status,t.loading=!1;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},pageChange:function(t){this.formValidate.page=t,this.getList()},submitFail:function(){this.getList()}}},m=f,p=(a("968f"),a("2877")),h=Object(p["a"])(m,n,r,!1,null,"c79bd696",null);e["default"]=h.exports},"2c3e":function(t,e,a){var n=a("da84"),r=a("83ab"),i=a("9f7f").MISSED_STICKY,o=a("c6b6"),s=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=n.TypeError;r&&i&&s(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!c(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},"31b4":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.FromData?a("div",[a("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:t.FromData.title,"z-index":1,width:"700"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[["/marketing/coupon/save.html"===t.FromData.action?a("div",{staticClass:"radio acea-row row-middle"},[a("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),a("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("Radio",{attrs:{label:0}},[t._v("通用券")]),a("Radio",{attrs:{label:1}},[t._v("品类券")]),a("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],a("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(t.FromData.rules),handleIcon:"false"},on:{"on-submit":t.onSubmit}})],2)],1):t._e()},r=[],i=a("f3f3"),o=a("9860"),s=a.n(o),c=a("6b6c"),l=a("2f62"),u={name:"edit",components:{formCreate:s.a.$form()},computed:Object(i["a"])({},Object(l["e"])("userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null},update:{type:Boolean,default:!0}},data:function(){return{modals:!1,type:0,config:{global:{upload:{props:{onSuccess:function(t,e){200===t.status?e.url=t.data.src:this.Message.error(t.msg)}}}}}}},methods:{couponsType:function(){this.$parent.addType(this.type)},onSubmit:function(t){var e=this,a={};a=t,Object(c["a"])({url:this.FromData.action,method:this.FromData.method,data:a}).then((function(t){e.update&&e.$parent.getList(),e.$Message.success(t.msg),e.modals=!1,setTimeout((function(){e.$emit("submitFail")}),1e3)})).catch((function(t){e.$Message.error(t.msg)}))},cancel:function(){this.type=0}}},d=u,f=(a("3c71"),a("2877")),m=Object(f["a"])(d,n,r,!1,null,"671a3e20",null);e["a"]=m.exports},"3c71":function(t,e,a){"use strict";var n=a("e23d"),r=a.n(n);r.a},4163:function(t,e,a){},"4d63":function(t,e,a){var n=a("83ab"),r=a("da84"),i=a("e330"),o=a("94ca"),s=a("7156"),c=a("9112"),l=a("241c").f,u=a("3a9b"),d=a("44e7"),f=a("577e"),m=a("90d8"),p=a("9f7f"),h=a("aeb0"),g=a("cb2d"),b=a("d039"),v=a("1a2d"),y=a("69f3").enforce,_=a("2626"),x=a("b622"),w=a("fce3"),k=a("107c"),j=x("match"),C=r.RegExp,O=C.prototype,R=r.SyntaxError,E=i(O.exec),T=i("".charAt),F=i("".replace),I=i("".indexOf),$=i("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,S=/a/g,V=new C(M)!==M,L=p.MISSED_STICKY,W=p.UNSUPPORTED_Y,A=n&&(!V||L||w||k||b((function(){return S[j]=!1,C(M)!=M||C(S)==S||"/a/i"!=C(M,"i")}))),P=function(t){for(var e,a=t.length,n=0,r="",i=!1;n<=a;n++)e=T(t,n),"\\"!==e?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),r+=e):r+="[\\s\\S]":r+=e+T(t,++n);return r},z=function(t){for(var e,a=t.length,n=0,r="",i=[],o={},s=!1,c=!1,l=0,u="";n<=a;n++){if(e=T(t,n),"\\"===e)e+=T(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:E(D,$(t,n+1))&&(n+=2,c=!0),r+=e,l++;continue;case">"===e&&c:if(""===u||v(o,u))throw new R("Invalid capture group name");o[u]=!0,i[i.length]=[u,l],c=!1,u="";continue}c?u+=e:r+=e}return[r,i]};if(o("RegExp",A)){for(var B=function(t,e){var a,n,r,i,o,l,p=u(O,this),h=d(t),g=void 0===e,b=[],v=t;if(!p&&h&&g&&t.constructor===B)return t;if((h||u(O,t))&&(t=t.source,g&&(e=m(v))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),v=t,w&&"dotAll"in M&&(n=!!e&&I(e,"s")>-1,n&&(e=F(e,/s/g,""))),a=e,L&&"sticky"in M&&(r=!!e&&I(e,"y")>-1,r&&W&&(e=F(e,/y/g,""))),k&&(i=z(t),t=i[0],b=i[1]),o=s(C(t,e),p?this:O,B),(n||r||b.length)&&(l=y(o),n&&(l.dotAll=!0,l.raw=B(P(t),a)),r&&(l.sticky=!0),b.length&&(l.groups=b)),t!==v)try{c(o,"source",""===v?"(?:)":v)}catch(_){}return o},q=l(C),Y=0;q.length>Y;)h(B,C,q[Y++]);O.constructor=B,B.prototype=O,g(r,"RegExp",B,{constructor:!0})}_("RegExp")},"53ca":function(t,e,a){"use strict";var n=a("4163"),r=a.n(n);r.a},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return u}));var n=a("fc11"),r=a("f3f3");a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("b64b"),a("99af");function i(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var n in a)if(new RegExp("(".concat(n,")")).test(e)){var r=a[n]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:o(r))}return e}function o(t){return("00"+t).substr(t.length)}var s={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};var c=function(t,e){t.message=function(t){return e.replace("%s",t||"")}};function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(r["a"])({required:!0,message:t,type:"string"},e)}function u(t){return d.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}c(l,"请输入%s"),c(u,"%s格式不正确");var d=Object.keys(s).reduce((function(t,e){return t[e]=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="range"===e?{min:t[0],max:t[1]}:Object(n["a"])({},e,t);return Object(r["a"])(Object(r["a"])({message:a.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},o),i)},c(t[e],s[e]),t}),{})},"968f":function(t,e,a){"use strict";var n=a("d86a"),r=a.n(n);r.a},a15b:function(t,e,a){"use strict";var n=a("23e7"),r=a("e330"),i=a("44ad"),o=a("fc6a"),s=a("a640"),c=r([].join),l=i!=Object,u=s("join",",");n({target:"Array",proto:!0,forced:l||!u},{join:function(t){return c(o(this),void 0===t?",":t)}})},c607:function(t,e,a){var n=a("da84"),r=a("83ab"),i=a("fce3"),o=a("c6b6"),s=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=n.TypeError;r&&i&&s(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!c(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},cd05:function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"a",(function(){return i})),a.d(e,"f",(function(){return o})),a.d(e,"e",(function(){return s})),a.d(e,"h",(function(){return c})),a.d(e,"d",(function(){return l})),a.d(e,"c",(function(){return u})),a.d(e,"m",(function(){return d})),a.d(e,"k",(function(){return f})),a.d(e,"r",(function(){return m})),a.d(e,"l",(function(){return p})),a.d(e,"q",(function(){return h})),a.d(e,"p",(function(){return g})),a.d(e,"g",(function(){return b})),a.d(e,"j",(function(){return v})),a.d(e,"o",(function(){return y})),a.d(e,"i",(function(){return _})),a.d(e,"n",(function(){return x}));var n=a("6b6c");function r(){return Object(n["a"])({url:"finance/finance/bill_type",method:"get"})}function i(t){return Object(n["a"])({url:"finance/finance/list",method:"get",params:t})}function o(t){return Object(n["a"])({url:"finance/finance/commission_list",method:"get",params:t})}function s(t){return Object(n["a"])({url:"finance/finance/user_info/".concat(t),method:"get"})}function c(t,e){return Object(n["a"])({url:"finance/finance/extract_list/".concat(t),method:"get",params:e})}function l(t){return Object(n["a"])({url:"finance/extract",method:"get",params:t})}function u(t){return Object(n["a"])({url:"finance/extract/".concat(t,"/edit"),method:"get"})}function d(t,e){return Object(n["a"])({url:"finance/extract/refuse/".concat(t),method:"put",data:e})}function f(t){return Object(n["a"])({url:"finance/recharge",method:"get",params:t})}function m(t){return Object(n["a"])({url:"finance/recharge/user_recharge",method:"get",params:t})}function p(t){return Object(n["a"])({url:"finance/recharge/".concat(t,"/refund_edit"),method:"get"})}function h(t){return Object(n["a"])({url:"export/userFinance",method:"get",params:t})}function g(t){return Object(n["a"])({url:"export/userCommission",method:"get",params:t})}function b(t){return Object(n["a"])({url:"export/userRecharge",method:"get",params:t})}function v(t){return Object(n["a"])({url:"statistic/flow/get_list",method:"get",params:t})}function y(t,e){return Object(n["a"])({url:"statistic/flow/set_mark/".concat(t),method:"post",data:e})}function _(t){return Object(n["a"])({url:"finance/balance/list",method:"get",params:t})}function x(t,e){return Object(n["a"])({url:"finance/balance/set_mark/".concat(t),method:"post",data:e})}},d86a:function(t,e,a){},e23d:function(t,e,a){},edd0:function(t,e,a){var n=a("13d2"),r=a("9bf2");t.exports=function(t,e,a){return a.get&&n(a.get,e,{getter:!0}),a.set&&n(a.set,e,{setter:!0}),r.f(t,e,a)}}}]);
|