import{_ as U,__tla as C}from"./ContentWrap-e91b2b5a.js";import{d as D,r as m,B as R,o as P,l as w,w as a,i as t,j as r,t as _,a as u,aq as x,y as g,g as V,_ as j,__tla as q}from"./index-b2b3c6c4.js";import{E,a as M,__tla as O}from"./el-collapse-item-1a294fd0.js";import{E as S,a as k,__tla as z}from"./el-descriptions-item-68c27ab4.js";import{_ as A,__tla as B}from"./DictTag-4199ec8d.js";import{D as i,__tla as H}from"./dict-7f0cc6d2.js";import{g as N,__tla as X}from"./index-c399b835.js";import{__tla as F}from"./el-card-bd6e27c9.js";import"./color-6e929987.js";let y,G=Promise.all([(()=>{try{return C}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{let c;c=V("span",{class:"text-base font-bold"},"\u57FA\u672C\u4FE1\u606F",-1),y=j(D({__name:"ProductDetailsInfo",props:{product:{type:null,required:!0}},setup(J){const o=m(["basicInfo"]),n=m([]);return R(async()=>{n.value=await N({})}),(l,d)=>{const e=S,p=A,b=k,h=E,v=M,I=U;return P(),w(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(x)(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};
