import{_ as P,__tla as T}from"./ContentWrap-f1610353.js";import{d as U,r as i,B as C,o as g,l as w,w as a,i as t,j as r,t as _,a as u,aq as R,y as E,g as O,_ as V,__tla as j}from"./index-2c56227b.js";import{E as q,a as x,__tla as A}from"./el-collapse-item-a4dfc79a.js";import{E as M,a as S,__tla as B}from"./el-descriptions-item-1b67c432.js";import{_ as G,__tla as H}from"./DictTag-cfe1898d.js";import{D as m,__tla as N}from"./dict-763dd292.js";import{g as k,__tla as z}from"./index-a00743ac.js";import{__tla as F}from"./el-card-9c148b4f.js";import"./color-6e929987.js";let y,J=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{let c;c=O("span",{class:"text-base font-bold"},"\u57FA\u672C\u4FE1\u606F",-1),y=V(U({__name:"ProductDetailsInfo",props:{product:{type:null,required:!0}},setup(K){const o=i(["basicInfo"]),n=i([]);return C(async()=>{n.value=await k({})}),(l,d)=>{const e=M,f=G,b=S,v=q,h=x,D=P;return g(),w(D,null,{default:a(()=>[t(h,{modelValue:u(o),"onUpdate:modelValue":d[0]||(d[0]=s=>E(o)?o.value=s:null)},{default:a(()=>[t(v,{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(R)(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,p;return[r(_((p=(s=u(n))==null?void 0:s.find(I=>I.id===l.product.categoryId))==null?void 0:p.name),1)]}),_:1}),t(e,{label:"\u662F\u5426\u4E0A\u4E0B\u67B6"},{default:a(()=>[t(f,{type:u(m).CRM_PRODUCT_STATUS,value:l.product.status},null,8,["type","value"])]),_:1}),t(e,{label:"\u5355\u4F4D"},{default:a(()=>[t(f,{type:u(m).CRM_PRODUCT_UNIT,value:l.product.unit},null,8,["type","value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/crm/product/detail/ProductDetailsInfo.vue"]])});export{J as __tla,y as default};
