red-dialog.9121f4b2.js 918 B

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