import{ct as t,cs as f,_ as v,d as b,cc as E,r as p,o as w,A as F,y as _,e as i,h as m,i as x,G as h}from"./index.js";import{h as D}from"./index.d4c8cb94.js";const y=[{value:"1",label:"\u672A\u56DE\u6B3E"},{value:"2",label:"\u90E8\u5206\u56DE\u6B3E"},{value:"3",label:"\u5DF2\u56DE\u6B3E"}],B=[{value:"1",label:"\u672A\u5F00\u7968"},{value:"2",label:"\u5F00\u7968\u4E2D"},{value:"3",label:"\u5DF2\u5F00\u7968"}],A=[{label:"\u5E8F\u53F7",prop:"index"},{label:"\u786E\u8BA4\u5355\u7F16\u7801",prop:"sequenceNo",width:"115px"},{label:"\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u53F7",prop:"cxCode",width:"115px"},{label:"\u786E\u8BA4\u5355\u4E0B\u5355\u65F6\u95F4",prop:"createdTime",width:"115px"},{label:"\u5BA2\u6237\u540D\u79F0",prop:"customerName"},{label:"\u4E1A\u52A1\u5458\u90E8\u95E8",prop:"department"},{label:"\u4E1A\u52A1\u5458",prop:"ownerName"},{label:"\u4EA7\u54C1\u540D\u79F0",prop:"goodName"},{label:"\u4E0B\u5355\u6570\u91CF",prop:"goodNum"},{label:"\u9500\u552E\u5355\u4EF7",prop:"goodPrice"},{label:"\u9500\u552E\u603B\u989D",prop:"totalPrice",width:90},{label:"\u5DF2\u56DE\u6B3E",prop:"apay_fee",width:90},{label:"\u672A\u56DE\u6B3E",prop:"wpay_fee",width:90},{label:"\u5DF2\u5F00\u7968",prop:"ainv_fee",width:90},{label:"\u672A\u5F00\u7968",prop:"winv_fee",width:90},{label:"\u5F00\u7968\u8FDB\u884C\u4E2D",prop:"inv_fee",width:90},{label:"\u5DF2\u5F00\u7968\u672A\u56DE\u6B3E",prop:"ainv_wpay",width:"110px"},{label:"\u8D26\u671F",prop:"dz_day"},{label:"\u56DE\u6B3E\u72B6\u6001",prop:"pay_status",cellRenderer({row:u}){var e;return((e=y.find(({value:a})=>a===u.pay_status))==null?void 0:e.label)||"--"}},{label:"\u5F00\u7968\u72B6\u6001",prop:"inv_status",cellRenderer({row:u}){var e;return((e=B.find(({value:a})=>a===u.inv_status))==null?void 0:e.label)||"--"}},{label:"\u53D1\u8D27\u72B6\u6001",prop:"sendStatus",cellRenderer({row:u}){var e;return((e=f.find(({value:a})=>a===u.sendStatus))==null?void 0:e.label)||"--"}}],g={title:"",superUserNoAction:!1,maxHeight:"700px",showTitle:!1,columns:A,tableRowClassName({rowIndex:u}){if(u===0)return"warning-row"},handleData(u){const e={index:"\u5408\u8BA1",totalPrice:0,apay_fee:0,wpay_fee:0,ainv_fee:0,winv_fee:0,inv_fee:0,ainv_wpay:0};return u.forEach(a=>{const{totalPrice:o,apay_fee:n,wpay_fee:l,ainv_fee:r,winv_fee:s,inv_fee:d,ainv_wpay:c}=a;e.totalPrice=Number(t(e.totalPrice,o)).toFixed(2),e.apay_fee=Number(t(e.apay_fee,n)).toFixed(2),e.wpay_fee=Number(t(e.wpay_fee,l)).toFixed(2),e.ainv_fee=Number(t(e.ainv_fee,r)).toFixed(2),e.winv_fee=Number(t(e.winv_fee,s)).toFixed(2),e.inv_fee=Number(t(e.inv_fee,d)).toFixed(2),e.ainv_wpay=Number(t(e.ainv_wpay,c)).toFixed(2)}),[e,...u.map((a,o)=>({index:o+1,...a}))]},apis:{httpList:D}};const N={"w-full":""},C={class:"flex justify-between"},P={class:"font-700"},R="accountsReceivableExpired",k=b({__name:"index",setup(u){const e=E(0);function a(n){e.value=n?n.length:0}const o={content:{result:a}};return(n,l)=>{const r=p("PageContainer"),s=p("PageAuth");return w(),F(s,{pageName:R,style:{"background-color":"#fff"}},{default:_(()=>[i("div",N,[m(r,{contentConfig:x(g),events:o},{content_table_header:_(()=>[i("div",C,[l[0]||(l[0]=i("h1",{class:"font-700"},"\u8D85\u671F\u5E94\u6536\u8D26\u660E\u7EC6\u8868",-1)),i("div",P,"\u5171\u8BA1:"+h(e.value)+" \u6761",1)])]),_:1},8,["contentConfig"])])]),_:1})}}});var j=v(k,[["__scopeId","data-v-5e27c73a"],["__file","D:/work/jiesuan/settle-vue3/src/views/dashboardCompany/accountsReceivableExpired/index.vue"]]);export{j as default};
