moreShopAdmin/build/admin/assets/details.7f56fd66.js

2 lines
1.1 KiB
JavaScript

import{m as p,s as r,r as f,aT as m,p as u,q as _,t as n,v as d,u as x,aY as y}from"./.pnpm.1b0299fb.js";import{P as B}from"./index.6c48d0ba.js";import{a as D}from"./user_bill.14ee5f94.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 h={class:"edit-popup"},k=p({name:"userBillDETAILS"}),A=p({...k,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(v,{expose:i,emit:w}){const c=r(),s=r();f("add");const o=m({id:""}),a=async e=>{for(const t in o)e[t]!=null&&e[t]!=null&&(o[t]=e[t])};return i({open:()=>{var e;(e=s.value)==null||e.open()},setFormData:a,getDetail:async e=>{const t=await D({id:e.id});a(t)}}),(e,t)=>{const l=y;return u(),_("div",h,[n(B,{ref_key:"popupRef",ref:s,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:d(()=>[n(l,{ref_key:"formRef",ref:c,model:x(o),"label-width":"90px"},null,8,["model"])]),_:1},512)])}}});export{A as default};