1 |
- import{_ as f,d as y,m as k,ah as C,E as x,du as D,w as V,r,aD as w,o as t,G as s,C as a,c as E,F as b,D as h,l as I,dv as R,I as g,a as c,H as B,h as P,dw as _}from"./index.js";const A={class:"h-[300px] w-full"},L=y({__name:"index",setup(S){const{query:i}=k(),p={supplyInvoiceRelation_collection:()=>_(()=>import("./index.0b15f4.js"),["assets/index.0b15f4.js","assets/index.js","assets/index.154c2244.css","assets/index.05b52809.js","assets/invoice-modal.a68497.js","assets/index.095ad096.js","assets/index.71c4bb27.css","assets/xlsx.ed122d16.js","assets/index.720c41.js","assets/index.27a076a9.css","assets/execl-upload.39114bc9.js","assets/execl-upload.13f2c477.css","assets/index.8f53dfa2.js","assets/index.3eb846.js","assets/index.9be57a.js","assets/index.f8ea8a96.css"]),unSupplyInvoiceRelation_collection:()=>_(()=>import("./index.4c96b3.js"),["assets/index.4c96b3.js","assets/index.js","assets/index.154c2244.css","assets/index.9a9c361c.js","assets/invoice-modal.4b96fe.js","assets/index.095ad096.js","assets/index.71c4bb27.css"])},l=C(()=>{const{collections:u}=x();return(u.supply||[]).map(o=>({...o,component:D(p[o.menu_route])}))}),n=V(i.tab||l.value[0].menu_route);return(u,o)=>{const m=r("el-tab-pane"),d=r("el-tabs"),v=w("loading");return t(),s(d,{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=e=>n.value=e),class:"bg-[#f4f7fc]"},{default:a(()=>[(t(!0),E(b,null,h(I(l),e=>(t(),s(m,{label:e.menu_name,name:e.menu_route,key:e.menu_route},{default:a(()=>[e.menu_route===n.value?(t(),s(R,{key:0},{default:a(()=>[e.menu_route===n.value?(t(),s(g(e.component),{key:0})):c("v-if",!0)]),fallback:a(()=>[B(P("div",A,null,512),[[v,!0]])]),_:2},1024)):c("v-if",!0)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])}}});var H=f(L,[["__file","C:/Users/63107/Desktop/projects/settle-vue3/src/views/supply/supplyCollection/index.vue"]]);export{H as default};
|