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.
 
 
 
 
 
 
shipin/public/admin/system_static/js/chunk-02a3b926.bd7c8299.js

1 lines
15 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-02a3b926"],{"0436":function(t,e,a){"use strict";var n={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(){}}};a("e83a"),a=a("2877"),a=Object(a.a)(n,(function(){var t=this,e=t._self._c;return e("div",[e("el-form",{ref:"orderData",staticClass:"tabform",attrs:{"label-width":"85px","label-position":"right"}},[t._l(t.fromList,(function(a,n){return e("el-row",{key:n,attrs:{gutter:24}},[e("el-col",{attrs:{xl:8,lg:8,md:8,sm:24,xs:24}},[e("el-form-item",{attrs:{label:a.title+":"}},[e("el-radio-group",{attrs:{type:"button"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},t._l(a.fromTxt,(function(n,r){return e("el-radio-button",{key:r,attrs:{label:n.text}},[t._v(t._s(n.text)+t._s(a.num))])})),1)],1)],1),a.custom?e("el-col",[e("el-form-item",{staticClass:"tab_data"},[e("el-date-picker",{staticStyle:{width:"200px"},attrs:{editable:!1,"value-format":"yyyy/MM/dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"}})],1)],1):t._e()],1)})),t.isExist.existOne?e("el-row",{attrs:{gutter:24}},[e("el-col",{staticClass:"mr",attrs:{span:"10"}},[e("el-form-item",{attrs:{label:t.searchFrom.title+":",prop:"real_name","label-for":"real_name"}},[e("el-input",{attrs:{search:"","enter-button":"",placeholder:t.searchFrom.place,"element-id":"name"}})],1)],1),e("el-col",[e("el-button",{staticClass:"mr"},[t._v("导出")]),e("span",{staticClass:"Refresh"},[t._v("刷新")])],1)],1):t._e(),t.isExist.existTwo?e("el-row",{staticClass:"withdrawal",attrs:{gutter:24}},[e("el-col",{staticClass:"item",attrs:{span:"2.5"}},[e("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.withdrawal},on:{change:t.changeTree},model:{value:t.withdrawalTxt,callback:function(e){t.withdrawalTxt=e},expression:"withdrawalTxt"}})],1),e("el-col",{staticClass:"item",attrs:{span:"2.5"}},[e("TreeSelect",{staticClass:"perW160",attrs:{data:t.treeData.payment},on:{change:t.changeTree},model:{value:t.paymentTxt,callback:function(e){t.paymentTxt=e},expression:"paymentTxt"}})],1),e("el-col",{staticClass:"item",attrs:{span:6}},[e("el-input",{attrs:{search:"","enter-button":"",placeholder:"微信名称、姓名、支付宝账号、银行卡号","element-id":"name"}})],1)],1):t._e()],2)],1)}),[],!1,null,"7955f210",null);e.a=a.exports},"1dc8":function(t,e,a){"use strict";a.r(e);var n=a("c7eb"),r=a("1da1"),i=a("5530"),o=(a("a15b"),a("0436")),s=a("2f62"),l=a("cd05"),c=a("61f7");o={name:"cashApply",components:{searchFrom:o.a},filters:{formatDate:function(t){if(0!==t)return t=new Date(1e3*t),Object(c.a)(t,"yyyy-MM-dd hh:mm")}},data:function(){return{images:["1.jpg","2.jpg"],modal_loading:!1,pickerOptions:this.$timeOptions,mark_msg:{mark:""},modals:!1,total:0,loading:!1,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(i.a)(Object(i.a)({},Object(s.d)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}}),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?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(r.a)(Object(n.a)().mark((function e(a){var r;return Object(n.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.data,t.tabList=r.list,t.total=r.count,t.withdrawal=r.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)}))},submitFail:function(){this.getList()}}},a("7ef4"),i=a("2877"),s=Object(i.a)(o,(function(){var t=this,e=t._self._c;return e("div",[e("el-card",{attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[e("div",{staticClass:"padding-add"},[e("el-form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":"right",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{attrs:{label:"订单时间:"}},[e("el-date-picker",{staticClass:"mr20",staticStyle:{width:"250px"},attrs:{clearable:"",type:"daterange",editable:!1,format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),e("el-form-item",{attrs:{label:"交易类型:"}},[e("el-select",{staticClass:"form_content_width",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(t,a){return e("el-option",{key:a,attrs:{label:t,value:a}})})),1)],1),e("el-form-item",{attrs:{label:"流水搜索:"}},[e("div",{staticClass:"acea-row row-middle"},[e("el-input",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"订单号/昵称/电话/用户ID"},model:{value:t.formValidate.keywords,callback:function(e){t.$set(t.formValidate,"keywords",e)},expression:"formValidate.keywords"}})],1)]),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.selChange}},[t._v("查询")])],1)],1)],1)]),e("el-card",{staticClass:"mt16",attrs:{bordered:!1,shadow:"never"}},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",staticClass:"ivu-mt",attrs:{data:t.tabList,"empty-text":"暂无数据"}},[e("el-table-column",{attrs:{label:"交易单号",width:"180"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.flow_id))])]}}])}),e("el-table-column",{attrs:{label:"关联订单","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.order_id))])]}}])}),e("el-table-column",{attrs:{label:"交易时间","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.add_time))])]}}])}),e("el-table-column",{attrs:{label:"交易金额","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return[0<=a.row.price?e("div",{staticClass:"z-price"},[t._v("+"+t._s(a.row.price))]):t._e(),a.row.price<0?e("div",{staticClass:"f-price"},[t._v(t._s(a.row.price))]):t._e()]}}])}),e("el-table-column",{attrs:{label:"交易用户","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.nickname))])]}}])}),e("el-table-column",{attrs:{label:"支付方式","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return t._l(t.payment,(function(n){return e("div",{key:n.value},[a.row.pay_type==n.value?e("span",[t._v(" "+t._s(n.title)+" ")]):t._e()])}))}}])}),e("el-table-column",{attrs:{label:"备注","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.mark))])]}}])}),e("el-table-column",{attrs:{label:"操作",fixed:"right",width:"170"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("a",{on:{click:function(e){return t.setMark(a.row)}}},[t._v("备注")])]}}])})],1),e("div",{staticClass:"acea-row row-right page"},[t.total?e("pagination",{attrs:{total:t.total,page:t.formValidate.page,limit:t.formValidate.limit},on:{"update:page":function(e){return t.$set(t.formValidate,"page",e)},"update:limit":function(e){return t.$set(t.formValidate,"limit",e)},pagination:t.getList}}):t._e()],1)],1),e("el-dialog",{attrs:{visible:t.modals,title:"备注","close-on-click-modal":!1,width:"540px"},on:{"update:visible":function(e){t.modals=e}}},[e("el-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"}}),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.preventDefault(),t.oks.apply(null,arguments)}}},[t._v("确定")])],1)],1)],1)}),[],!1,null,"e2520c40",null);e.default=s.exports},"2c3e":function(t,e,a){"use strict";var n=a("83ab"),r=a("9f7f").MISSED_STICKY,i=a("c6b6"),o=a("edd0"),s=a("69f3").get,l=RegExp.prototype,c=TypeError;n&&r&&o(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===i(this))return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},"2d14":function(t,e,a){},3295:function(t,e,a){},"4d63":function(t,e,a){"use strict";var n=a("83ab"),r=a("da84"),i=a("e330"),o=a("94ca"),s=a("7156"),l=a("9112"),c=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"),y=a("1a2d"),v=a("69f3").enforce,w=a("2626"),_=a("b622"),x=a("fce3"),k=a("107c"),O=_("match"),j=r.RegExp,C=j.prototype,V=r.SyntaxError,E=i(C.exec),S=i("".charAt),T=i("".replace),M=i("".indexOf),R=i("".slice),$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,L=/a/g,I=(a=new j(D)!==D,p.MISSED_STICKY),F=p.UNSUPPORTED_Y;_=n&&(!a||I||x||k||b((function(){return L[O]=!1,j(D)!==D||j(L)===L||"/a/i"!==String(j(D,"i"))})));if(o("RegExp",_)){for(var A=function(t,e){var a,n,r=u(C,this),i=d(t),o=void 0===e,c=[],p=t;if(!r&&i&&o&&t.constructor===A)return t;if((i||u(C,t))&&(t=t.source,o)&&(e=m(p)),t=void 0===t?"":f(t),e=void 0===e?"":f(e),p=t,i=e=x&&"dotAll"in D&&(a=!!e&&-1<M(e,"s"))?T(e,/s/g,""):e,I&&"sticky"in D&&(n=!!e&&-1<M(e,"y"))&&F&&(e=T(e,/y/g,"")),k&&(t=(o=function(t){for(var e,a=t.length,n=0,r="",i=[],o={},s=!1,l=!1,c=0,u="";n<=a;n++){if("\\"===(e=S(t,n)))e+=S(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:E($,R(t,n+1))&&(n+=2,l=!0),r+=e,c++;continue;case">"===e&&l:if(""===u||y(o,u))throw new V("Invalid capture group name");o[u]=!0,l=!(i[i.length]=[u,c]),u="";continue}l?u+=e:r+=e}return[r,i]}(t))[0],c=o[1]),o=s(j(t,e),r?this:C,A),(a||n||c.length)&&(e=v(o),a&&(e.dotAll=!0,e.raw=A(function(t){for(var e,a=t.length,n=0,r="",i=!1;n<=a;n++)"\\"===(e=S(t,n))?r+=e+S(t,++n):i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),r+=e):r+="[\\s\\S]";return r}(t),i)),n&&(e.sticky=!0),c.length)&&(e.groups=c),t!==p)try{l(o,"source",""===p?"(?:)":p)}catch(t){}return o},q=c(j),W=0;q.length>W;)h(A,j,q[W++]);(C.constructor=A).prototype=C,g(r,"RegExp",A,{constructor:!0})}w("RegExp")},"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 c}));var n=a("ade3"),r=a("5530");function i(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,n,r={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in r)new RegExp("(".concat(a,")")).test(e)&&(n=r[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?n:("00"+n).substr(n.length)));return e}a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("13d5"),a("b64b"),a("99af");var o={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function s(t,e){t.message=function(t){return e.replace("%s",t||"")}}function l(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(r.a)({required:!0,message:t,type:"string"},e)}function c(t){return u.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}s(l,"请输入%s"),s(c,"%s格式不正确");var u=Object.keys(o).reduce((function(t,e){return t[e]=function(t){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",i=2<arguments.length&&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)},s(t[e],o[e]),t}),{})},"7ef4":function(t,e,a){"use strict";a("3295")},c607:function(t,e,a){"use strict";var n=a("83ab"),r=a("fce3"),i=a("c6b6"),o=a("edd0"),s=a("69f3").get,l=RegExp.prototype,c=TypeError;n&&r&&o(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===i(this))return!!s(this).dotAll;throw new c("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 l})),a.d(e,"d",(function(){return c})),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 y})),a.d(e,"o",(function(){return v})),a.d(e,"i",(function(){return w})),a.d(e,"n",(function(){return _}));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 l(t,e){return Object(n.a)({url:"finance/finance/extract_list/".concat(t),method:"get",params:e})}function c(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 y(t){return Object(n.a)({url:"statistic/flow/get_list",method:"get",params:t})}function v(t,e){return Object(n.a)({url:"statistic/flow/set_mark/".concat(t),method:"post",data:e})}function w(t){return Object(n.a)({url:"finance/balance/list",method:"get",params:t})}function _(t,e){return Object(n.a)({url:"finance/balance/set_mark/".concat(t),method:"post",data:e})}},e83a:function(t,e,a){"use strict";a("2d14")}}]);