invoice-modal.3ed9c1.js 1.0 KB

1
  1. 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.bf16817a.js";import{c as k}from"./index.2fb9f37c.js";import{a as y}from"./ticketReturn.6df30604.js";import"./porder.9a85976d.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};