import{_ as f,d as O,n as D,ah as E,u as V,dB as k,x,r as u,aD as C,o as t,G as s,D as a,c as P,F as R,E as y,m as I,dC as A,I as L,a as c,H as b,h,dD as n}from"./index.js";const B={class:"h-[300px] w-full"},S=O({__name:"index",setup(T){const{query:i}=D(),d={sendOrderPay_collection:()=>n(()=>import("./index.68922a.js"),["assets/index.68922a.js","assets/index.js","assets/index.20e37f3e.css","assets/index.ea8dd83a.js"]),sendOrderRecord_collection:()=>n(()=>import("./index.bede1b.js"),["assets/index.bede1b.js","assets/index.js","assets/index.20e37f3e.css","assets/constants.42afb0d7.js","assets/index.a7de6b05.js","assets/xlsx.ed122d16.js","assets/export.cd930632.js"]),sendOrderInvoice_collection:()=>n(()=>import("./index.241cb4.js"),["assets/index.241cb4.js","assets/index.js","assets/index.20e37f3e.css","assets/index.80104a95.js","assets/invoice-modal.8dd918.js","assets/index.47e512cd.js","assets/index.71c4bb27.css","assets/export.cd930632.js","assets/xlsx.ed122d16.js","assets/index.bb66eb.js","assets/index.ad790f43.css","assets/execl-upload.ab941f73.js","assets/execl-upload.13f2c477.css","assets/index.2c1ef7.js"]),sendOrderPayRelive_collection:()=>n(()=>import("./index.6d57c8.js"),["assets/index.6d57c8.js","assets/index.js","assets/index.20e37f3e.css","assets/index.2155a8ce.js"]),sendOrderInvoiceRelive_collection:()=>n(()=>import("./index.94ae98.js"),["assets/index.94ae98.js","assets/index.js","assets/index.20e37f3e.css","assets/index.d03c0f13.js","assets/invoice-modal.e71d56.js","assets/index.47e512cd.js","assets/index.71c4bb27.css"])},l=E(()=>{const{collections:_}=V();return(_.postSupplierOrder||[]).map(o=>({component:k(d[o.menu_route]),...o}))}),r=x(i.tab||l.value[0].menu_route);return(_,o)=>{const p=u("el-tab-pane"),m=u("el-tabs"),v=C("loading");return t(),s(m,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e),class:"bg-[#f4f7fc]"},{default:a(()=>[(t(!0),P(R,null,y(I(l),e=>(t(),s(p,{label:e.menu_name,name:e.menu_route,key:e.menu_route},{default:a(()=>[e.menu_route===r.value?(t(),s(A,{key:0},{default:a(()=>[e.menu_route===r.value?(t(),s(L(e.component),{key:0})):c("v-if",!0)]),fallback:a(()=>[b(h("div",B,null,512),[[v,!0]])]),_:2},1024)):c("v-if",!0)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])}}});var w=f(S,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/postSupplierOrder/postSupplierOrderCollection/index.vue"]]);export{w as default};
