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