1 |
- import{_ as R,__tla as T}from"./ContentWrap-9da801df.js";import{d as U,r as i,z as x,o as C,k as P,w as a,i as t,l as r,t as _,a as s,aZ as w,R as z,j as V,_ as g,__tla as j}from"./index-2f799233.js";import{E,a as M,__tla as O}from"./el-collapse-item-086c9c49.js";import{E as S,a as k,__tla as q}from"./el-descriptions-item-0a78cef7.js";import{_ as A,__tla as N}from"./DictTag-ea4c6cc2.js";import{D as m,__tla as Z}from"./dict-20c916e2.js";import{g as B,__tla as F}from"./index-f0968341.js";import{__tla as G}from"./el-card-c64c83d1.js";import"./color-6e929987.js";let y,H=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return G}catch{}})()]).then(async()=>{let c;c=V("span",{class:"text-base font-bold"},"\u57FA\u672C\u4FE1\u606F",-1),y=g(U({__name:"ProductDetailsInfo",props:{product:{type:null,required:!0}},setup(J){const o=i(["basicInfo"]),n=i([]);return x(async()=>{n.value=await B({})}),(l,d)=>{const e=S,p=A,b=k,h=E,v=M,D=R;return C(),P(D,null,{default:a(()=>[t(v,{modelValue:s(o),"onUpdate:modelValue":d[0]||(d[0]=u=>z(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(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 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(m).CRM_PRODUCT_STATUS,value:l.product.status},null,8,["type","value"])]),_:1}),t(e,{label:"\u5355\u4F4D"},{default:a(()=>[t(p,{type:s(m).CRM_PRODUCT_UNIT,value:l.product.unit},null,8,["type","value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/crm/product/detail/ProductDetailsInfo.vue"]])});export{H as __tla,y as default};
|