2025-09-28 14:11:55 +08:00
|
|
|
import{b2 as e,ag as a,bT as t,bm as l,aZ as r,c as n,e as i,l as o,N as p,O as m,w as c,E as d,a7 as s,a8 as _,g as h,m as b,t as g,d2 as u,bR as f,aO as w}from"./index.1759039765765CugQQnXZ.js";import{a as v,E as y}from"./el-tab-pane.1759039765765V6HFgXF9.js";import{_ as N}from"./index.1759039765765k2zvCTLz.js";import{c as x,d as F,e as T,f as D,h as j,i as k,j as E}from"./stat.1759039765765DrPN5uzL.js";/* empty css */import"./el-col.1759039765765D90KpjqF.js";const U={class:"top-tabs"},O={class:"cell-btn"},V=e({__name:"stats-platform-day",setup(e){function V(e){return f(1e3*e)}function $(e){return u(1e3*e)}const z=e=>`${Number(e).toFixed(2)}`,C=a({stat_plat:{columns:[{prop:"date",label:"日期",width:120,align:"center",fixed:"left",formatter:$},{prop:"order_amount",label:"订单金额",width:120,align:"center",formatter:z},{prop:"real_pay_amount",label:"实付金额",width:120,align:"center",formatter:z},{prop:"order_count",label:"订单数",width:120,align:"center"},{prop:"pay_order_count",label:"支付订单数",width:120,align:"center"},{prop:"sys_service_fee",label:"系统手续费",width:120,align:"center",formatter:z},{prop:"plat_commission",label:"平台佣金",width:120,align:"center",formatter:z},{prop:"mer_service_fee",label:"商户手续费",width:120,align:"center",formatter:z},{prop:"ms_total_commission",label:"代理总佣金",width:120,align:"center",formatter:z},{prop:"ms_order_commission",label:"代理接单佣金",width:120,align:"center",formatter:z},{prop:"ms_cash_back",label:"代理返点",width:120,align:"center",formatter:z},{prop:"recharge_amount",label:"充值金额",width:120,align:"center",formatter:z},{prop:"withdrawal_amount",label:"提现金额",width:120,align:"center",formatter:z},{prop:"balance",label:"日终余额",width:120,align:"center",formatter:z},{prop:"debt",label:"日终欠款余额",width:120,align:"center",formatter:z},{prop:"update_time",label:"更新时间",width:180,align:"center",formatter:V,fixed:"right"}],tableData:[],searchFields:[{prop:"create_time",label:"日期",type:"date",dateType:"datetimerange",span:6,value:t()}],total:0,page:1,limit:10,loading:!1},stat_channel:{columns:[{prop:"date",label:"日期",width:120,align:"center",fixed:"left",formatter:$},{prop:"channel",label:"通道",align:"center",slot:"channel"},{prop:"order_amount",label:"订单金额",width:120,align:"center",formatter:z},{prop:"real_pay_amount",label:"实付金额",width:120,align:"center",formatter:z},{prop:"order_count",label:"订单数",width:120,align:"center"},{prop:"pay_order_count",label:"支付订单数",width:120,align:"center"},{prop:"plat_commission",label:"平台佣金",width:120,align:"center",formatter:z},{prop:"mer_service_fee",label:"商户手续费",width:120,align:"center",formatter:z},{prop:"ms_total_commission",label:"代理总佣金",width:120,align:"center",formatter:z},{prop:"ms_order_commission",label:"代理接单佣金",width:120,align:"center",formatter:z},{prop:"ms_cash_back",label:"代理返点",width:120,align:"center",formatter:z},{prop:"update_time",label:"更新时间",width:180,align:"center",formatter:V,fixed:"right"}],tableData:[],searchFields:[{prop:"create_time",label:"日期",type:"date",dateType:"datetimerange",span:6,value:t()},{label:"通道代码",type:"input",prop:"channel_code",value:""},{label:"通道名称",type:"input",prop:"channel_name",value:""}],total:0,page:1,limit:10,loading:!1},stat_mer:{columns:[{prop:"date",label:"日期",width:120,align:"center",fixed:"left",formatter:$},{prop:"mer_name",label:"商户账号",align:"center"},{prop:"order_amount",label:"订单金额",width:120,align:"center",formatter:z},{prop:"real_pay_amount",label:"实付金额",width:120,align:"center",formatter:z},{prop:"order_count",label:"订单数",width:120,align:"center"},{prop:"pay_order_count",label:"支付订单数",width:120,align:"center"},{prop:"mer_service_fee",label:"商户手续费",width:120,align:"center",formatter:z},{prop:"recharge_amount",label:"充值金额",width:120,align:"center",formatter:z},{prop:"withdraw
|