sf_web_dist/js/stats-platform-day.1760005586751BLUsW5v3.js

2 lines
11 KiB
JavaScript
Raw Normal View History

2025-10-09 18:27:30 +08:00
import{b3 as e,ag as a,bU as t,bn as l,a_ 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,d3 as u,bS as f,aO as w}from"./index.1760005586751DsaOmpPz.js";import{a as v,E as y}from"./el-tab-pane.1760005586751tb2e9TIn.js";import{_ as N}from"./index.1760005586751ztZ7-rfk.js";import{c as x,d as F,e as T,f as D,h as j,i as k,j as U}from"./stat.1760005586751B3XazdsC.js";/* empty css */import"./el-col.1760005586751BEVzZ0JD.js";const E={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