import{S as m,c$ as i,cc as d}from"./index.e80c366d.js";import{c as r}from"./createRequset.60472412.js";import{a as t}from"./calc.3602fe08.js";const _=m(new Date).format("YYYY-MM"),F={formItems:[{field:"date",type:"date_picker",trigger:"change",defaultValue:_,label:"\u4E0B\u5355\u6708\u4EFD:",otherOptions:{type:"month",valueFormat:"YYYY-MM",format:"YYYY-MM",clearable:!1}},{field:"depart_id",type:"depart-query",trigger:"change"}]},c="admin/report/";var y={list:r(`${c}dzListByUser`),businessList:r("")};const E=[{prop:"ownerName",label:"\u9500\u552E\u5458",minWidth:"155px"},{prop:"department",label:"\u6240\u5728\u90E8\u95E8",minWidth:"155px"},{prop:"wpay_fee",label:"\u672A\u56DE\u6B3E\u603B\u989D",minWidth:"155px"},{prop:"pay_fee",label:"\u56DE\u6B3E\u8FDB\u884C\u4E2D\u603B\u989D",minWidth:"155px"},{prop:"apay_fee",label:"\u5DF2\u56DE\u6B3E\u603B\u989D",minWidth:"155px"},{prop:"winv_fee",label:"\u672A\u5F00\u7968\u603B\u989D",minWidth:"155px"},{prop:"inv_fee",label:"\u5F00\u7968\u8FDB\u884C\u4E2D\u603B\u989D",minWidth:"155px"},{prop:"ainv_fee",label:"\u5DF2\u5F00\u7968\u603B\u989D",minWidth:"155px"}],v={columns:E,title:"\u4EC5\u7EDF\u8BA1toB\u8BA2\u5355",responseCode:0,notPagination:!0,superUserNoAction:!1,tableRowClassName({rowIndex:a}){if(a===0)return"warning-row"},beforeRequestList(a){const{start:e,end:u}=a;return e&&u?i.NEXT:(d.warning("\u8BF7\u9009\u62E9\u4E0B\u5355\u6708\u4EFD"),i.EMPTY)},handleData(a){const e={ownerName:"\u5408\u8BA1",department:"--",wpay_fee:0,pay_fee:0,apay_fee:0,winv_fee:0,inv_fee:0,ainv_fee:0};return a.forEach(u=>{const{wpay_fee:n,pay_fee:p,apay_fee:o,winv_fee:f,inv_fee:s,ainv_fee:l}=u;e.wpay_fee=Number(t(e.wpay_fee,n)).toFixed(2),e.pay_fee=Number(t(e.pay_fee,p)).toFixed(2),e.apay_fee=Number(t(e.apay_fee,o)).toFixed(2),e.winv_fee=Number(t(e.winv_fee,f)).toFixed(2),e.inv_fee=Number(t(e.inv_fee,s)).toFixed(2),e.ainv_fee=Number(t(e.ainv_fee,l)).toFixed(2)}),[e,...a]},apis:{httpList:y.list}};export{y as a,v as c,F as s};
