import{d as p,o as t,A as m,f as n,g as a,e as r,u as f,bg as y,b as c,F as h,$ as g,z as l,C as v,aa as k,ao as $,_ as b}from"./index-BeAZaivf.js";const x={class:"card-header"},C={key:0,class:"empty-summary"},B={class:"product-name"},E={class:"number-group"},S={class:"quantity"},z={class:"conversion"},L=p({__name:"LeaseSummary",props:{data:{}},emits:["close"],setup(q){return(o,e)=>{const _=v,d=k,i=$;return t(),m(i,{shadow:"hover",class:"summary-card"},{header:n(()=>[a("div",x,[e[1]||(e[1]=a("span",{style:{"font-size":"14px"}},"汇总信息",-1)),r(_,{onClick:e[0]||(e[0]=s=>o.$emit("close")),style:{"margin-left":"8px",cursor:"pointer"}},{default:n(()=>[r(f(y))]),_:1})])]),default:n(()=>[r(d,{"max-height":"300px"},{default:n(()=>[o.data.length?(t(!0),c(h,{key:1},g(o.data||[],(s,u)=>(t(),c("div",{key:u,class:"summary-item"},[a("span",B,l(s.pinming_name),1),a("div",E,[a("span",S,l(`${s.quantity} ${s.unit_ziran||""}`),1),a("span",z,l(`${s.shuliang} ${s.unit_huansuan||""}`),1)])]))),128)):(t(),c("div",C," 暂无汇总数据 "))]),_:1})]),_:1})}}}),F=b(L,[["__scopeId","data-v-12f5e7fb"]]);export{F as default};
//# sourceMappingURL=LeaseSummary-TXOeHOyg.js.map
