sf_web_dist/js/stats-platform-day.1759140438764dmem46km.js

2 lines
10 KiB
JavaScript
Raw Normal View History

2025-09-29 18:08:44 +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 g,t as b,d2 as u,bR as f,aO as v}from"./index.1759140438764CipgG_TB.js";import{a as w,E as y}from"./el-tab-pane.1759140438764CDnbS9rU.js";import{_ as N}from"./index.1759140438764DTXkwKx9.js";import{c as x,d as F,e as T,f as D}from"./stat.17591404387646LOXs-4P.js";/* empty css */import"./el-col.1759140438764C2V-vv3Z.js";const j={class:"top-tabs"},k={class:"cell-btn"},C=e({__name:"stats-platform-day",setup(e){function C(e){return f(1e3*e)}function E(e){return u(1e3*e)}const U=e=>`${Number(e).toFixed(2)}`,I=a({stat_plat:{columns:[{prop:"date",label:"日期",width:120,align:"center",fixed:"left",formatter:E},{prop:"order_amount",label:"订单金额",width:120,align:"center",formatter:U},{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:U},{prop:"plat_commission",label:"平台佣金",width:120,align:"center",formatter:U},{prop:"mer_service_fee",label:"商户手续费",width:120,align:"center",formatter:U},{prop:"ms_total_commission",label:"代理总佣金",width:120,align:"center",formatter:U},{prop:"ms_order_commission",label:"代理接单佣金",width:120,align:"center",formatter:U},{prop:"ms_cash_back",label:"代理返点",width:120,align:"center",formatter:U},{prop:"recharge_amount",label:"充值金额",width:120,align:"center",formatter:U},{prop:"withdrawal_amount",label:"提现金额",width:120,align:"center",formatter:U},{prop:"balance",label:"日终余额",width:120,align:"center",formatter:U},{prop:"debt",label:"日终欠款余额",width:120,align:"center",formatter:U},{prop:"update_time",label:"更新时间",width:180,align:"center",formatter:C,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:E},{prop:"channel",label:"通道",align:"center",slot:"channel"},{prop:"order_amount",label:"订单金额",width:120,align:"center",formatter:U},{prop:"real_pay_amount",label:"实付金额",width:120,align:"center",formatter:U},{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:U},{prop:"mer_service_fee",label:"商户手续费",width:120,align:"center",formatter:U},{prop:"ms_total_commission",label:"代理总佣金",width:120,align:"center",formatter:U},{prop:"ms_order_commission",label:"代理接单佣金",width:120,align:"center",formatter:U},{prop:"ms_cash_back",label:"代理返点",width:120,align:"center",formatter:U},{prop:"update_time",label:"更新时间",width:180,align:"center",formatter:C,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:E},{prop:"mer_id",label:"商户ID",align:"center"},{prop:"mer_name",label:"商户账号",align:"center"},{prop:"order_amount",label:"订单金额",width:120,align:"center",formatter:U},{prop:"order_count",label:"订单数",width:120,align:"center"},{prop:"pay_order_count",label:"支付订单数",width:120,align:"center"},{prop:"recharge_amount",label:"充值金额",width:120,align:"center",formatter:U},{prop:"withdrawal_amount",label:"提现金额",width:120,align:"center",formatter:U},{prop:"usable_amount",label:"日终可用余额",width:120,align:"center",formatter:U},{prop:"frozen_amount",label:"日终冻结余额",width:120,align:"ce