import{_ as u,d as v,n as i,r as c,o as m,A as d,y as f,h as _,i as y}from"./index.js";import{I as x}from"./index.c443965f.js";const b=v({__name:"invoice-modal",props:{invType:{type:String,required:!1}},setup(t,{expose:r}){const o=i(!1),n=i(""),s=t;return r({onDisplay:l=>{o.value=!0,n.value=l}}),(l,e)=>{const p=c("el-dialog");return m(),d(p,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=a=>o.value=a),"close-on-click-modal":!1,"close-on-press-escape":!1,width:"1040px",onClose:e[1]||(e[1]=a=>n.value="")},{default:f(()=>[_(y(x),{"inv-number":n.value,type:s.invType?s.invType:"sale"},null,8,["inv-number","type"])]),_:1},8,["modelValue"])}}});var C=u(b,[["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/invoiceQuery/components/components/invoice-modal.vue"]]);export{C as default};
