ProductDetailsInfo-5928ff08.js 2.4 KB

1
  1. import{_ as D,__tla as T}from"./ContentWrap-ccf34dcf.js";import{d as U,r as p,l as C,o as P,v as g,w as a,f as t,n as e,t as _,a as u,at as w,O as R,g as O,_ as V,__tla as z}from"./index-3f6d2b3a.js";import{E,a as M,__tla as S}from"./el-collapse-item-bd7c5336.js";import{E as j,a as q,__tla as A}from"./el-descriptions-item-7f6bb5db.js";import{_ as N,__tla as k}from"./DictTag-3de733b6.js";import{D as i,__tla as B}from"./dict-9cca1721.js";import{g as F,__tla as G}from"./index-91cdcea1.js";import{__tla as H}from"./ContentWrap.vue_vue_type_script_setup_true_lang-beff78ef.js";import{__tla as J}from"./el-card-850c26c2.js";import"./color-6e929987.js";let y,K=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return J}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(L){const s=p(["basicInfo"]),n=p([]);return C(async()=>{n.value=await F({})}),(l,d)=>{const r=j,f=N,b=q,h=E,v=M,I=D;return P(),g(I,null,{default:a(()=>[t(v,{modelValue:u(s),"onUpdate:modelValue":d[0]||(d[0]=o=>R(s)?s.value=o:null)},{default:a(()=>[t(h,{name:"basicInfo"},{title:a(()=>[c]),default:a(()=>[t(b,{column:4},{default:a(()=>[t(r,{label:"\u4EA7\u54C1\u540D\u79F0"},{default:a(()=>[e(_(l.product.name),1)]),_:1}),t(r,{label:"\u4EA7\u54C1\u7F16\u7801"},{default:a(()=>[e(_(l.product.no),1)]),_:1}),t(r,{label:"\u4EF7\u683C"},{default:a(()=>[e(_(u(w)(l.product.price))+"\u5143",1)]),_:1}),t(r,{label:"\u4EA7\u54C1\u63CF\u8FF0"},{default:a(()=>[e(_(l.product.description),1)]),_:1}),t(r,{label:"\u4EA7\u54C1\u7C7B\u578B"},{default:a(()=>{var o,m;return[e(_((m=(o=u(n))==null?void 0:o.find(x=>x.id===l.product.categoryId))==null?void 0:m.name),1)]}),_:1}),t(r,{label:"\u662F\u5426\u4E0A\u4E0B\u67B6"},{default:a(()=>[t(f,{type:u(i).CRM_PRODUCT_STATUS,value:l.product.status},null,8,["type","value"])]),_:1}),t(r,{label:"\u5355\u4F4D"},{default:a(()=>[t(f,{type:u(i).CRM_PRODUCT_UNIT,value:l.product.unit},null,8,["type","value"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/crm/product/detail/ProductDetailsInfo.vue"]])});export{K as __tla,y as default};