import{m as p,s as n,r as f,aT as m,p as u,q as _,t as r,v as d,u as h,aY as x}from"./.pnpm.1b0299fb.js";import{P as w}from"./index.6c48d0ba.js";import{a as y}from"./store_cash_finance_flow.d623b7ca.js";import"./lodash.c3b66c05.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.abac7546.js";import"./index.689cfa31.js";import"./@vueuse.72d44d91.js";import"./@vue.9d708d7c.js";const D={class:"edit-popup"},F=p({name:"storeCashFinanceFlowDETAILS"}),q=p({...F,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(k,{expose:c,emit:v}){const i=n(),a=n();f("add");const o=m({id:""}),s=async e=>{for(const t in o)e[t]!=null&&e[t]!=null&&(o[t]=e[t])};return c({open:()=>{var e;(e=a.value)==null||e.open()},setFormData:s,getDetail:async e=>{const t=await y({id:e.id});s(t)}}),(e,t)=>{const l=x;return u(),_("div",D,[r(w,{ref_key:"popupRef",ref:a,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:d(()=>[r(l,{ref_key:"formRef",ref:i,model:h(o),"label-width":"90px"},null,8,["model"])]),_:1},512)])}}});export{q as default};