2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
import{B as F,C as y,D}from"./element-plus.2acb577d.js";import{P as V}from"./index.f292cd50.js";import{b as C}from"./warehouse_storege.3c4c7710.js";import"./lodash.6bfd3540.js";import{d as n,s,r as E,Z as b,o as B,c as w,U as t,L as p,u as l}from"./@vue.821a47ec.js";import"./lodash-es.df44a280.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.81e2759c.js";import"./@element-plus.dabbc398.js";import"./dayjs.d2a77ee0.js";import"./axios.9e996410.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.81df6f20.js";import"./vue-router.4c04f9b6.js";import"./pinia.fefed778.js";import"./css-color-function.8ff67959.js";import"./color.bfa08e9a.js";import"./clone.660f80c4.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.dcb32030.js";import"./vue-clipboard3.e681583f.js";import"./clipboard.3ad9b20b.js";import"./echarts.42bea269.js";import"./tslib.60310f1a.js";import"./zrender.2cb48b70.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8864a4be.js";const v={class:"edit-popup"},x=n({name:"psiWarehouseStoregeDETAILS"}),de=n({...x,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(h,{expose:f,emit:I}){const c=s(),m=s();E("add");const o=b({id:"",warehouse_id:"",product_id:"",nums:"",is_verify:"",price:""}),d=async r=>{for(const e in o)r[e]!=null&&r[e]!=null&&(o[e]=r[e])};return f({open:()=>{var r;(r=m.value)==null||r.open()},setFormData:d,getDetail:async r=>{const e=await C({id:r.id});d(e)}}),(r,e)=>{const a=F,i=y,_=D;return B(),w("div",v,[t(V,{ref_key:"popupRef",ref:m,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:p(()=>[t(_,{ref_key:"formRef",ref:c,model:l(o),"label-width":"90px"},{default:p(()=>[t(i,{label:"\u4ED3\u5E93ID",prop:"warehouse_id"},{default:p(()=>[t(a,{modelValue:l(o).warehouse_id,"onUpdate:modelValue":e[0]||(e[0]=u=>l(o).warehouse_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4ED3\u5E93ID",readonly:!0},null,8,["modelValue"])]),_:1}),t(i,{label:"\u5546\u54C1ID",prop:"product_id"},{default:p(()=>[t(a,{modelValue:l(o).product_id,"onUpdate:modelValue":e[1]||(e[1]=u=>l(o).product_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1ID",readonly:!0},null,8,["modelValue"])]),_:1}),t(i,{label:"\u6570\u91CF",prop:"nums"},{default:p(()=>[t(a,{modelValue:l(o).nums,"onUpdate:modelValue":e[2]||(e[2]=u=>l(o).nums=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6570\u91CF",readonly:!0},null,8,["modelValue"])]),_:1}),t(i,{label:"0\u4E0D\u6821\u9A8C1\u6821\u9A8C",prop:"is_verify"},{default:p(()=>[t(a,{modelValue:l(o).is_verify,"onUpdate:modelValue":e[3]||(e[3]=u=>l(o).is_verify=u),clearable:"",placeholder:"\u8BF7\u8F93\u51650\u4E0D\u6821\u9A8C1\u6821\u9A8C",readonly:!0},null,8,["modelValue"])]),_:1}),t(i,{label:"\u4EF7\u683C",prop:"price"},{default:p(()=>[t(a,{modelValue:l(o).price,"onUpdate:modelValue":e[4]||(e[4]=u=>l(o).price=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EF7\u683C",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{de as default};
|