import{_ as m,d as v,w as f,n as g,bv as k,Z as x,r as a,o as y,G as C,C as n,b as V,l as b,u as B,M as N}from"./index.1d1a5ecb.js";import{a as w}from"./index.3d70d973.js";const A={"w-full":"",flex:"","justify-end":""},D=v({__name:"red-dialog",setup(I,{expose:l}){const e=f(!1),{push:r}=g(),{run:c,loading:u}=k({success:()=>r("/InvoiceSales/redInk")}),o=x({invNo:""}),i=()=>{c(w(o))};return l({onDisplay(t){e.value=!0,o.invNo=t}}),(t,s)=>{const d=a("el-button"),p=a("el-dialog");return y(),C(p,{title:"\u7EA2\u51B2\u53D1\u7968",modelValue:e.value,"onUpdate:modelValue":s[0]||(s[0]=_=>e.value=_),center:"","close-on-click-modal":!1},{default:n(()=>[V("div",A,[b(d,{type:"primary",loading:B(u),onClick:i},{default:n(()=>[N("\u786E\u8BA4")]),_:1},8,["loading"])])]),_:1},8,["modelValue"])}}});var E=m(D,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/returnTicket/components/create-return-ticket/red-dialog.vue"]]);export{E as default};
