red-dialog.5c0ebd.js 983 B

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