import{C as y,D as B,F as E}from"./element-plus.8e273e86.js";import{P as F}from"./index.1c24829c.js";import{a as V}from"./store_product_low_stock.b23f9e46.js";import"./lodash.41b9567d.js";import{d as n,s as d,r as b,Z as x,o as D,c as k,U as r,L as i,u as p}from"./@vue.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.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.cf0d972e.js";import"./index.a39f73a6.js";import"./axios.b4cbdbc9.js";import"./jspdf.75308076.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.f23177ae.js";import"./color.a6ad6672.js";import"./clone.954ba32c.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.8d65305c.js";const w={class:"edit-popup"},C=n({name:"storeProductLowStockDETAILS"}),_o=n({...C,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(R,{expose:c,emit:v}){const f=d(),u=d();b("add");const t=x({id:"",product_id:"",store_id:"",status:""}),s=async e=>{for(const o in t)e[o]!=null&&e[o]!=null&&(t[o]=e[o])};return c({open:()=>{var e;(e=u.value)==null||e.open()},setFormData:s,getDetail:async e=>{const o=await V({id:e.id});s(o)}}),(e,o)=>{const a=y,m=B,_=E;return D(),k("div",w,[r(F,{ref_key:"popupRef",ref:u,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:i(()=>[r(_,{ref_key:"formRef",ref:f,model:p(t),"label-width":"90px"},{default:i(()=>[r(m,{label:"\u5546\u54C1id",prop:"product_id"},{default:i(()=>[r(a,{modelValue:p(t).product_id,"onUpdate:modelValue":o[0]||(o[0]=l=>p(t).product_id=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1id",readonly:!0},null,8,["modelValue"])]),_:1}),r(m,{label:"\u95E8\u5E97id",prop:"store_id"},{default:i(()=>[r(a,{modelValue:p(t).store_id,"onUpdate:modelValue":o[1]||(o[1]=l=>p(t).store_id=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u95E8\u5E97id",readonly:!0},null,8,["modelValue"])]),_:1}),r(m,{label:"\u72B6\u6001",prop:"status"},{default:i(()=>[r(a,{modelValue:p(t).status,"onUpdate:modelValue":o[2]||(o[2]=l=>p(t).status=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u72B6\u6001",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{_o as default};
