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 S,e as w,eZ as n}from"./index.js";const L={class:"h-[300px] w-full"},b=O({__name:"index",setup(B){const{query:c}=E(),d={supSendOrderPay_collection:()=>n(()=>import("./index.bff2ac.js"),["assets/index.bff2ac.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.cfc78b88.js"]),supSendOrderRecord_collection:()=>n(()=>import("./index.16f8ec.js"),["assets/index.16f8ec.js","assets/index.js","assets/index.fdcfd7d9.css","assets/constants.59c8f8ef.js","assets/index.f78c594b.js","assets/xlsx.ed122d16.js","assets/export.97c4d705.js"]),supSendOrderInvoice_collection:()=>n(()=>import("./index.8d2b9d.js"),["assets/index.8d2b9d.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.9c129b93.js","assets/invoice-modal.bc75d8.js","assets/index.c443965f.js","assets/index.71c4bb27.css","assets/export.97c4d705.js","assets/xlsx.ed122d16.js","assets/index.f7393f.js","assets/index.d0b94b4a.css","assets/execl-upload.d28cb458.js","assets/execl-upload.13f2c477.css","assets/index.ef0c02.js"]),supSendOrderPayRelive_collection:()=>n(()=>import("./index.297426.js"),["assets/index.297426.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.d39ff400.js"]),supSendOrderInvoiceRelive_collection:()=>n(()=>import("./index.a501ed.js"),["assets/index.a501ed.js","assets/index.js","assets/index.fdcfd7d9.css","assets/index.dd3bcd78.js","assets/invoice-modal.256e3f.js","assets/index.c443965f.js","assets/index.71c4bb27.css"])},l=V(()=>{const{collections:_}=k();return(_.supplierOrder||[]).map(o=>({...o,comp:y(d[o.menu_route])}))}),r=D(c.tab||l.value[0].menu_route);return(_,o)=>{const p=u("el-tab-pane"),m=u("el-tabs"),v=P("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),R(x,null,C(l.value,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(I(e.comp),{key:0})):i("v-if",!0)]),fallback:a(()=>[S(w("div",L,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/supplierOrder/supplierOrderCollection/index.vue"]]);export{g as default};
