1 |
- import{aE as r,ae as l,_ as c,d as i,r as s,o as _,G as d,C as f,l as m,u as D}from"./index.1ef7eac6.js";import{a as A,u as E}from"./calc.1104f430.js";const{VITE_PROXY_DOMAIN_REAL:P,VITE_PROXY_USER_REAL:b}=l(),h=b+"/admin/",v=(e={})=>r.request("post",`${h}stats`,e),B=[{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"}],w={title:"\u4E07\u5B87\u5E94\u6536\u8D26\u6B3E\u62A5\u8868\u770B\u677F",superUserNoAction:!1,showTitle:!0,handleData(e=[]){return new Promise(u=>{const n=e.reduce((p,a)=>Object.keys(a).reduce((t,o)=>({...t,[o]:o!=="depart"?A(a[o]||0,t[o]||0):"\u603B\u8BA1"}),p),{});u([...e,n])})},columns:B.map(e=>({align:"center",...e,...e.prop!=="depart"?{cellRenderer:({row:u})=>E(u[e.prop])}:{}})),apis:{httpList:v}},C=i({__name:"index",setup(e){const u="accountsReceivable";return(n,p)=>{const a=s("PageContainer"),t=s("PageAuth");return _(),d(t,{pageName:u},{default:f(()=>[m(a,{contentConfig:D(w)},null,8,["contentConfig"])]),_:1})}}});var R=c(C,[["__file","/Users/apple/Desktop/CompanyProjects/accout-vue3-ui/src/views/dashboard/accountsReceivable/index.vue"]]);export{R as default};
|