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