import{_ as U,__tla as D}from"./ContentWrap-0aca5216.js";import{d as R,r as m,q as x,o as C,x as P,w as a,f as t,y as r,t as _,a as u,an as w,l as g,g as V,_ as q,__tla as E}from"./index-8dc1e40a.js";import{E as M,a as O,__tla as S}from"./el-collapse-item-7e888ef0.js";import{E as j,a as k,__tla as z}from"./el-descriptions-item-bf830d0d.js";import{_ as A,__tla as H}from"./DictTag-85aade2b.js";import{D as i,__tla as N}from"./dict-f13a3c8f.js";import{g as X,__tla as B}from"./index-4501f2f7.js";import{__tla as F}from"./el-card-18df90f0.js";import"./color-6e929987.js";let y,G=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{let c;c=V("span",{class:"text-base font-bold"},"\u57FA\u672C\u4FE1\u606F",-1),y=q(R({__name:"ProductDetailsInfo",props:{product:{type:null,required:!0}},setup(J){const o=m(["basicInfo"]),n=m([]);return x(async()=>{n.value=await X({})}),(l,d)=>{const e=j,p=A,b=k,h=M,v=O,I=U;return C(),P(I,null,{default:a(()=>[t(v,{modelValue:u(o),"onUpdate:modelValue":d[0]||(d[0]=s=>g(o)?o.value=s:null)},{default:a(()=>[t(h,{name:"basicInfo"},{title:a(()=>[c]),default:a(()=>[t(b,{column:4},{default:a(()=>[t(e,{label:"\u4EA7\u54C1\u540D\u79F0"},{default:a(()=>[r(_(l.product.name),1)]),_:1}),t(e,{label:"\u4EA7\u54C1\u7F16\u7801"},{default:a(()=>[r(_(l.product.no),1)]),_:1}),t(e,{label:"\u4EF7\u683C"},{default:a(()=>[r(_(u(w)(l.product.price))+"\u5143",1)]),_:1}),t(e,{label:"\u4EA7\u54C1\u63CF\u8FF0"},{default:a(()=>[r(_(l.product.description),1)]),_:1}),t(e,{label:"\u4EA7\u54C1\u7C7B\u578B"},{default:a(()=>{var s,f;return[r(_((f=(s=u(n))==null?void 0:s.find(T=>T.id===l.product.categoryId))==null?void 0:f.name),1)]}),_:1}),t(e,{label:"\u662F\u5426\u4E0A\u4E0B\u67B6"},{default:a(()=>[t(p,{type:u(i).CRM_PRODUCT_STATUS,value:l.product.status},null,8,["type","value"])]),_:1}),t(e,{label:"\u5355\u4F4D"},{default:a(()=>[t(p,{type:u(i).CRM_PRODUCT_UNIT,value:l.product.unit},null,8,["type","value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/crm/product/detail/ProductDetailsInfo.vue"]])});export{G as __tla,y as default};
