1 |
- import{_ as f,d as y,n as k,ah as x,u as C,dB as D,x as V,r,aD as E,o as t,G as s,D as a,c as b,F as h,E as B,m as I,dC as R,I as g,a as c,H as w,h as P,dD 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.3c0432.js"),["assets/index.3c0432.js","assets/index.js","assets/index.20e37f3e.css","assets/index.ff7eb665.js","assets/invoice-modal.047b9b.js","assets/index.bf16817a.js","assets/index.71c4bb27.css","assets/xlsx.ed122d16.js","assets/index.2a36fb.js","assets/index.27a076a9.css","assets/execl-upload.7c83427b.js","assets/execl-upload.13f2c477.css","assets/index.26d6ac45.js","assets/index.757203.js","assets/index.249ba2.js","assets/index.f8ea8a96.css"]),unSupplyInvoiceRelation_collection:()=>_(()=>import("./index.a88271.js"),["assets/index.a88271.js","assets/index.js","assets/index.20e37f3e.css","assets/index.f590779a.js","assets/invoice-modal.90be9d.js","assets/index.bf16817a.js","assets/index.71c4bb27.css"])},l=x(()=>{const{collections:u}=C();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=E("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),b(h,null,B(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(()=>[w(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/89793/Desktop/projects/settle-vue3/src/views/supply/supplyCollection/index.vue"]]);export{H as default};
|