import{_ as d,d as _,n,cB as f,r as w,aw as x,B as D,i as e,o as b,A as g,y as h,h as l,ca as y}from"./index.js";import{I as B}from"./index.c443965f.js";import{c as k}from"./index.5741d39c.js";import{a as C}from"./ticketReturn.e53d6b17.js";import"./porder.827c74bc.js";const I=_({__name:"invoice-modal",setup(N,{expose:t}){const a=n(!1),s=n(""),{run:c,data:r,loading:u}=f({initalData:{}});return t({onDisplay:({invoiceNumber:i,InvCode:o})=>{a.value=!0,s.value=i,c(k({InvCode:o}))}}),(i,o)=>{const m=w("el-dialog"),p=x("loading");return D((b(),g(m,{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=v=>a.value=v),width:"1040px","close-on-click-modal":!1},{default:h(()=>[l(e(y),{class:"mb-[10px]",data:e(r),columns:e(C)},null,8,["data","columns"]),l(e(B),{"inv-number":s.value,type:"purchase"},null,8,["inv-number"])]),_:1},8,["modelValue"])),[[p,e(u)]])}}});var T=d(I,[["__file","D:/work/jiesuan/settle-vue3/src/views/supplyNew/inputInvoicePool/components/invoice-modal.vue"]]);export{T as default};
