import{ck as r,_ as c,d as i,r as s,o as l,A as _,x as d,h as f,u as m}from"./index.e80c366d.js";import{a as D,u as A}from"./calc.3602fe08.js";const h="http://cxinv.api.caixiao365.com/admin/",b=(e={})=>r.request("post",`${h}stats`,e),v=[{label:"\u4E1A\u52A1\u516C\u53F8",prop:"depart",cellRenderer({row:e}){return e.depart==="\u603B\u8BA1"?e.depart:e.depart.split("@")[1]}},{label:"\u5E94\u6536\u8D26\u6B3E",prop:"wpay_fee"},{label:"\u5DF2\u5F00\u7968\u672A\u56DE\u6B3E",prop:"wpay_ainv_fee"},{label:"\u672A\u5F00\u7968",prop:"winv_fee"},{label:"\u5F85\u5F00\u7968",prop:"inv_fee"},{label:"\u5DF2\u53D1\u8D27\u672A\u5F00\u7968",prop:"winv_asend_fee"},{label:"\u672A\u53D1\u8D27",prop:"wpay_send_fee"},{label:"\u8D8560\u5929\u5DF2\u53D1\u8D27\u672A\u5F00\u7968",prop:"winv_two_month"},{label:"\u8D85180\u5929\u5E94\u6536\u8D26\u6B3E",prop:"wpay_six_month"}],B={title:"\u4E07\u5B87\u5E94\u6536\u8D26\u6B3E\u62A5\u8868\u770B\u677F",showTitle:!0,superUserNoAction:!1,responseCode:0,handleData(e=[]){return new Promise(u=>{const n=e.reduce((o,t)=>Object.keys(t).reduce((p,a)=>({...p,[a]:a!=="depart"?D(t[a]||0,p[a]||0):"\u603B\u8BA1"}),o),{});u([...e,n])})},columns:v.map(e=>({align:"center",...e,...e.prop!=="depart"?{cellRenderer:({row:u})=>A(u[e.prop])}:{}})),apis:{httpList:b}},w="accountsReceivable",x=i({__name:"index",setup(e){return(u,n)=>{const o=s("PageContainer"),t=s("PageAuth");return l(),_(t,{pageName:w},{default:d(()=>[f(o,{"content-config":m(B)},null,8,["content-config"])]),_:1})}}});var E=c(x,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/dashboard/accountsReceivable/index.vue"]]);export{E as default};
