import{p as y}from"./configs.ddfbc06f.js";import{c as k}from"./status.8b8d6c88.js";import{d as v,s as b}from"./configs.ac3e0c04.js";import{q as D,r as c,o as e,K as l,H as n,n as m,J as g,v as i,I as x,S as d,O as r}from"./index.7a111e62.js";const h={key:3},z=D({__name:"statement-detail",props:{statementDetail:null},setup(o){return(B,C)=>{const u=c("el-tag"),_=c("el-descriptions-item"),f=c("el-descriptions");return e(),l(f,{column:3,border:"",size:"small"},{default:n(()=>[(e(!0),m(x,null,g(i(v),(a,p)=>(e(),l(_,{label:a.label,key:p},{default:n(()=>[a.field==="status"?(e(),l(u,{key:0},{default:n(()=>{var t;return[d(r((t=i(b).find(s=>s.value===o.statementDetail.status))==null?void 0:t.label),1)]}),_:1})):a.field==="pay_status"?(e(),l(u,{key:1},{default:n(()=>{var t;return[d(r((t=i(y).find(s=>s.value===o.statementDetail.pay_status))==null?void 0:t.label),1)]}),_:1})):a.field==="inv_status"?(e(),l(u,{key:2},{default:n(()=>{var t;return[d(r((t=i(k).find(s=>s.value===o.statementDetail.inv_status))==null?void 0:t.label),1)]}),_:1})):(e(),m("span",h,r(o.statementDetail[a.field]),1))]),_:2},1032,["label"]))),128))]),_:1})}}});export{z as default};
