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