moreShopAdmin/build/admin/assets/details.eb9ca334.js

2 lines
1.1 KiB
JavaScript

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