import{F as f}from"./element-plus.7e347b00.js";import{P as l}from"./index.5c383401.js";import{a as u}from"./user_product_storage.35917bc5.js";import{t as d}from"./index.390c2a09.js";import{d as a,s as m,r as _,Z as y,o as h,c as x,U as p,L as D,u as k}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const w={class:"edit-popup"},B=a({name:"userProductStorageDETAILS"}),nt=a({...B,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(R,{expose:s,emit:g}){const c=m(),r=m();_("add");const e=y({id:""}),i=async t=>{for(const o in e)t[o]!=null&&t[o]!=null&&(e[o]=t[o]);e.create_time=d(e.create_time,"yyyy-mm-dd hh:MM:ss")};return s({open:()=>{var t;(t=r.value)==null||t.open()},setFormData:i,getDetail:async t=>{const o=await u({id:t.id});i(o)}}),(t,o)=>{const n=f;return h(),x("div",w,[p(l,{ref_key:"popupRef",ref:r,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:D(()=>[p(n,{ref_key:"formRef",ref:c,model:k(e),"label-width":"90px"},null,8,["model"])]),_:1},512)])}}});export{nt as default};