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