import{_ as f,d as y,j as k,aa as x,u as C,eX as V,n as w,r,aw as D,o as n,A as a,y as s,c as b,F as B,z as E,eY as R,C as g,a as _,B as A,e as I,eZ as c}from"./index.js";const P={class:"h-[300px] w-full"},h=y({__name:"index",setup(L){const{query:i}=k(),p={supplyInvoiceRelation_collection:()=>c(()=>import("./index.b3af0b.js"),["assets/index.b3af0b.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.41007914.js","assets/invoice-modal.c4f2e4.js","assets/index.c443965f.js","assets/index.71c4bb27.css","assets/xlsx.ed122d16.js","assets/index.37ec16.js","assets/index.27a076a9.css","assets/execl-upload.d28cb458.js","assets/execl-upload.13f2c477.css","assets/index.9c129b93.js","assets/index.a31153.js","assets/index.30cbbb.js","assets/index.f8ea8a96.css"]),unSupplyInvoiceRelation_collection:()=>c(()=>import("./index.6faca3.js"),["assets/index.6faca3.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.c502b05a.js","assets/invoice-modal.339585.js","assets/index.c443965f.js","assets/index.71c4bb27.css"])},l=x(()=>{const{collections:u}=C();return(u.supply||[]).map(o=>({...o,component:V(p[o.menu_route])}))}),t=w(i.tab||l.value[0].menu_route);return(u,o)=>{const m=r("el-tab-pane"),d=r("el-tabs"),v=D("loading");return n(),a(d,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value=e),class:"bg-[#f4f7fc]"},{default:s(()=>[(n(!0),b(B,null,E(l.value,e=>(n(),a(m,{label:e.menu_name,name:e.menu_route,key:e.menu_route},{default:s(()=>[e.menu_route===t.value?(n(),a(R,{key:0},{default:s(()=>[e.menu_route===t.value?(n(),a(g(e.component),{key:0})):_("v-if",!0)]),fallback:s(()=>[A(I("div",P,null,512),[[v,!0]])]),_:2},1024)):_("v-if",!0)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])}}});var j=f(h,[["__file","D:/work/jiesuan/settle-vue3/src/views/supply/supplyCollection/index.vue"]]);export{j as default};
