import{_ as T,__tla as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-c7ede7df.js";import{d as R,r as m,b as U,o as g,A as x,B as a,f as t,E as _,G as r,a as s,dx as P,a2 as E,C as V,__tla as A}from"./index-92ad187a.js";import{E as M,a as O,__tla as S}from"./el-collapse-item-d46368e6.js";import{E as j,a as w,__tla as B}from"./el-descriptions-item-809b8296.js";import{_ as G,__tla as N}from"./DictTag.vue_vue_type_script_lang-96bcb962.js";import{D as i,__tla as k}from"./dict-221f3e01.js";import{g as q,__tla as z}from"./index-bd247ee5.js";let y,F=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return z}catch{}})()]).then(async()=>{let c;c=V("span",{class:"text-base font-bold"},"\u57FA\u672C\u4FE1\u606F",-1),y=R({__name:"ProductDetailsInfo",props:{product:{}},setup(H){const o=m(["basicInfo"]),n=m([]);return U(async()=>{n.value=await q({})}),(l,d)=>{const e=j,p=G,b=w,h=M,v=O,C=T;return g(),x(C,null,{default:a(()=>[t(v,{modelValue:s(o),"onUpdate:modelValue":d[0]||(d[0]=u=>E(o)?o.value=u: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(s(P)(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 u,f;return[_(r((f=(u=s(n))==null?void 0:u.find(I=>I.id===l.product.categoryId))==null?void 0:f.name),1)]}),_:1}),t(e,{label:"\u662F\u5426\u4E0A\u4E0B\u67B6"},{default:a(()=>[t(p,{type:s(i).CRM_PRODUCT_STATUS,value:l.product.status},null,8,["type","value"])]),_:1}),t(e,{label:"\u5355\u4F4D"},{default:a(()=>[t(p,{type:s(i).CRM_PRODUCT_UNIT,value:l.product.unit},null,8,["type","value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}}})});export{y as _,F as __tla};
