import{F as f}from"./element-plus.78e68aed.js";import{P as l}from"./index.9547d0cc.js";import{a as u}from"./store_branch_product.ef19998a.js";import"./lodash.60201f64.js";import{d as a,s as i,r as d,Z as _,o as h,c as x,U as m,L as y,u as B}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.8ae0c638.js";import"./axios.2b8d80bd.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"./index.df1f0bd0.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.b82a2ce7.js";import"./color.b905eb26.js";import"./clone.e1fb2883.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.495afef3.js";import"./vue-clipboard3.cb649e18.js";import"./clipboard.4592e390.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const D={class:"edit-popup"},k=a({name:"storeBranchProductDETAILS"}),mt=a({...k,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(w,{expose:s,emit:R}){const c=i(),r=i();d("add");const e=_({id:""}),p=async t=>{for(const o in e)t[o]!=null&&t[o]!=null&&(e[o]=t[o])};return s({open:()=>{var t;(t=r.value)==null||t.open()},setFormData:p,getDetail:async t=>{const o=await u({id:t.id});p(o)}}),(t,o)=>{const n=f;return h(),x("div",D,[m(l,{ref_key:"popupRef",ref:r,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:y(()=>[m(n,{ref_key:"formRef",ref:c,model:B(e),"label-width":"90px"},null,8,["model"])]),_:1},512)])}}});export{mt as default};
