/* empty css                  *//* empty css                        *//* empty css                    *//* empty css                  *//* empty css               */import{P as d}from"./index-C__Mp2q5.js";/* empty css                                                              *//* empty css                        */import{S as g}from"./index-uoQNNTW0.js";import{T as f}from"./index-BqhCx7JE.js";/* empty css                 */import{B as _,I as y,P as v}from"./status-CkIpju_f.js";import{d as N,I as u,r as T,c as D,b as a,u as n,w as i,ad as w,o as h,af as I,e as p,t as s,a as r,ar as P}from"./index-hZHbf6Qq.js";/* empty css                  *//* empty css                             *//* empty css                      */const x={class:"page-container"},K=N({__name:"index",setup(z){const S=u({keyword:"",dateRange:[],billStatus:"",invoiceStatus:"",payStatus:""}),b=[{field:"billStatus",label:"对账状态",options:_},{field:"invoiceStatus",label:"开票状态",options:y},{field:"payStatus",label:"支付状态",options:v}],o=u({page:1,pageSize:10,total:100}),m=T([{billNo:"2323232323",billDate:"2025-11-22",amount:2115.97,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2323412123",billDate:"2025-12-09",amount:4476.12,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"4566784543",billDate:"2025-11-21",amount:7751.34,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2356565654",billDate:"2025-11-27",amount:7936.37,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2323412123",billDate:"2025-12-11",amount:3931.45,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2323232323",billDate:"2025-11-27",amount:6132.75,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2356565654",billDate:"2025-11-25",amount:3189.56,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2323232323",billDate:"2025-11-20",amount:993.66,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2323412123",billDate:"2025-11-17",amount:2763.35,billStatus:"",invoiceStatus:"1",payStatus:"1"},{billNo:"2323232323",billDate:"2025-12-05",amount:9286.45,billStatus:"",invoiceStatus:"1",payStatus:"0"}]);return(O,e)=>{const l=I,c=w;return h(),D("div",x,[a(n(d),{title:"对账单管理"}),a(n(g),{form:S,filters:b},null,8,["form"]),a(c,{data:m.value,border:"",style:{width:"100%"}},{default:i(()=>[a(l,{type:"index",label:"序号",width:"60",align:"center"}),a(l,{prop:"billNo",label:"对账编号",width:"140",align:"center"}),a(l,{prop:"billDate",label:"对账日期",width:"120",align:"center"}),a(l,{prop:"amount",label:"对账单金额",width:"120",align:"center"},{default:i(({row:t})=>[p("¥"+s(t.amount.toFixed(2)),1)]),_:1}),a(l,{prop:"billStatus",label:"对账状态",width:"100",align:"center"},{default:i(({row:t})=>[p(s(t.billStatus==="1"?"已对账":"-"),1)]),_:1}),a(l,{prop:"invoiceStatus",label:"开票状态",width:"100",align:"center"},{default:i(({row:t})=>[r("span",{style:P({color:t.invoiceStatus==="1"?"#e60012":""})},s(t.invoiceStatus==="1"?"已开票":"-"),5)]),_:1}),a(l,{prop:"payStatus",label:"支付状态",width:"100",align:"center"},{default:i(({row:t})=>[p(s(t.payStatus==="1"?"已支付":"-"),1)]),_:1}),a(l,{label:"操作","min-width":"100",align:"center"},{default:i(()=>[...e[2]||(e[2]=[r("span",{style:{color:"#999"}},"-",-1)])]),_:1})]),_:1},8,["data"]),a(n(f),{page:o.page,"onUpdate:page":e[0]||(e[0]=t=>o.page=t),pageSize:o.pageSize,"onUpdate:pageSize":e[1]||(e[1]=t=>o.pageSize=t),total:o.total},null,8,["page","pageSize","total"])])}}});export{K as default};
