import{C as D,D as x,F as y}from"./element-plus.8c800afc.js";import{P as b}from"./index.d0a14c5a.js";import{b as B}from"./goods_label.e35119a3.js";import"./lodash.be6e4bb5.js";import{d as n,s,r as E,Z as F,o as h,c as k,U as r,L as p,u as m}from"./@vue.18505fe0.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.ef95d8c0.js";import"./axios.77245e3c.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.2398c167.js";import"./vue-router.886c5f5a.js";import"./pinia.a969beab.js";import"./css-color-function.6061d63f.js";import"./color.1580a89c.js";import"./clone.4ed29f58.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.b29ee5e2.js";import"./vue-clipboard3.15c43b43.js";import"./clipboard.4a3580c9.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"},R=n({name:"goodsLabelDETAILS"}),lo=n({...R,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(v,{expose:l,emit:C}){const c=s(),a=s();E("add");const e=F({id:"",name:""}),i=async o=>{for(const t in e)o[t]!=null&&o[t]!=null&&(e[t]=o[t])};return l({open:()=>{var o;(o=a.value)==null||o.open()},setFormData:i,getDetail:async o=>{const t=await B({id:o.id});i(t)}}),(o,t)=>{const u=D,f=x,d=y;return h(),k("div",w,[r(b,{ref_key:"popupRef",ref:a,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:p(()=>[r(d,{ref_key:"formRef",ref:c,model:m(e),"label-width":"90px"},{default:p(()=>[r(f,{label:"\u6807\u7B7E\u540D",prop:"name"},{default:p(()=>[r(u,{modelValue:m(e).name,"onUpdate:modelValue":t[0]||(t[0]=_=>m(e).name=_),clearable:"",placeholder:"\u8BF7\u8F93\u5165",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{lo as default};