import{_ as f,d as O,j as E,aa as V,u as k,eX as y,n as D,r as u,aw as P,o as t,A as s,y as a,c as R,F as x,z as C,eY as A,C as I,a as i,B as w,e as L,eZ as n}from"./index.js";const b={class:"h-[300px] w-full"},B=O({__name:"index",setup(S){const{query:c}=E(),d={sendOrderPay_collection:()=>n(()=>import("./index.ff534a.js"),["assets/index.ff534a.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.7c3ebaf9.js"]),sendOrderRecord_collection:()=>n(()=>import("./index.fe6b61.js"),["assets/index.fe6b61.js","assets/index.js","assets/index.fdcfd7d9.css","assets/constants.42afb0d7.js","assets/index.f78c594b.js","assets/xlsx.ed122d16.js","assets/export.97c4d705.js"]),sendOrderInvoice_collection:()=>n(()=>import("./index.462b6f.js"),["assets/index.462b6f.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.9c129b93.js","assets/invoice-modal.427492.js","assets/index.c443965f.js","assets/index.71c4bb27.css","assets/export.97c4d705.js","assets/xlsx.ed122d16.js","assets/index.cc0a6e.js","assets/index.ad790f43.css","assets/execl-upload.d28cb458.js","assets/execl-upload.13f2c477.css","assets/index.a22917.js"]),sendOrderPayRelive_collection:()=>n(()=>import("./index.a779b3.js"),["assets/index.a779b3.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.d39ff400.js"]),sendOrderInvoiceRelive_collection:()=>n(()=>import("./index.e3d922.js"),["assets/index.e3d922.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.dd3bcd78.js","assets/invoice-modal.4bd666.js","assets/index.c443965f.js","assets/index.71c4bb27.css"])},l=V(()=>{const{collections:_}=k();return(_.postSupplierOrder||[]).map(o=>({component:y(d[o.menu_route]),...o}))}),r=D(c.tab||l.value[0].menu_route);return(_,o)=>{const m=u("el-tab-pane"),p=u("el-tabs"),v=P("loading");return t(),s(p,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e),class:"bg-[#f4f7fc]"},{default:a(()=>[(t(!0),R(x,null,C(l.value,e=>(t(),s(m,{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(I(e.component),{key:0})):i("v-if",!0)]),fallback:a(()=>[w(L("div",b,null,512),[[v,!0]])]),_:2},1024)):i("v-if",!0)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])}}});var g=f(B,[["__file","D:/work/jiesuan/settle-vue3/src/views/postSupplierOrder/postSupplierOrderCollection/index.vue"]]);export{g as default};
