import{_ as d,d as _,x as i,bc as f,r as D,aD as b,H as x,m as e,o as w,G as g,D as C,l as t,aN as N}from"./index.js";import{I as h}from"./index.47e512cd.js";import{c as k}from"./index.8d1ab27f.js";import{a as y}from"./ticketReturn.8c918810.js";import"./porder.cb2a60e8.js";const I=_({__name:"invoice-modal",setup(V,{expose:n}){const a=i(!1),s=i(""),{run:c,data:r,loading:u}=f({initalData:{}});return n({onDisplay:({invoiceNumber:l,InvCode:o})=>{a.value=!0,s.value=l,c(k({InvCode:o}))}}),(l,o)=>{const m=D("el-dialog"),p=b("loading");return x((w(),g(m,{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=v=>a.value=v),width:"1040px","close-on-click-modal":!1},{default:C(()=>[t(e(N),{class:"mb-[10px]",data:e(r),columns:e(y)},null,8,["data","columns"]),t(e(h),{"inv-number":s.value,type:"purchase"},null,8,["inv-number"])]),_:1},8,["modelValue"])),[[p,e(u)]])}}});var G=d(I,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/supplyNew/inputInvoicePool/components/invoice-modal.vue"]]);export{G as default};
