1 |
- import{_ as d,d as _,x as l,bc as f,r as D,aD as b,H as x,m as e,o as w,G as g,D as h,l as t,aN as C}from"./index.js";import{I as N}from"./index.bf16817a.js";import{c as k}from"./index.2fb9f37c.js";import{a as I}from"./ticketReturn.6df30604.js";import"./porder.9a85976d.js";const V=_({__name:"invoice-modal",setup(y,{expose:n}){const a=l(!1),s=l(""),{run:c,data:r,loading:u}=f({initalData:{}});return n({onDisplay:({invoiceNumber:i,InvCode:o})=>{a.value=!0,s.value=i,c(k({InvCode:o}))}}),(i,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:h(()=>[t(e(C),{class:"mb-[10px]",data:e(r),columns:e(I)},null,8,["data","columns"]),t(e(N),{"inv-number":s.value,type:"purchase"},null,8,["inv-number"])]),_:1},8,["modelValue"])),[[p,e(u)]])}}});var G=d(V,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/purchaseNew/inputInvoicePool/components/invoice-modal.vue"]]);export{G as default};
|