import{d as g,O as b,r as c,u as x,B as z,at as R,a as r,o as D,c as P,i as t,w as l,F as j,z as C,A as I,E as V,_ as k,__tla as A}from"./index-b2b3c6c4.js";import{_ as B,__tla as E}from"./OperateLogV2-a21728fb.js";import{u as F,__tla as H}from"./tagsView-6c80c80f.js";import{g as N,a as O,__tla as U}from"./ProductForm-9f6625de.js";import X,{__tla as q}from"./ProductDetailsHeader-e3763147.js";import G,{__tla as J}from"./ProductDetailsInfo-12140416.js";import{__tla as K}from"./el-timeline-item-a35e6a43.js";import{__tla as L}from"./formatTime-7e07ce72.js";import{__tla as M}from"./dict-7f0cc6d2.js";import{__tla as Q}from"./Dialog-70b24cbf.js";import{__tla as S}from"./index-c399b835.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-292d166c.js";import{__tla as W}from"./useMessage-a5edbb0f.js";import{__tla as Y}from"./ContentWrap-e91b2b5a.js";import{__tla as Z}from"./el-card-bd6e27c9.js";import{__tla as $}from"./el-descriptions-item-68c27ab4.js";import{__tla as tt}from"./DictTag-4199ec8d.js";import"./color-6e929987.js";import{__tla as at}from"./el-collapse-item-1a294fd0.js";let m,rt=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})()]).then(async()=>{m=k(g({name:"CrmProductDetail",__name:"index",setup(_t){const f=b(),e=Number(f.params.id),s=c(!0),o=c({}),u=async a=>{s.value=!0;try{o.value=await N(a),await p(a)}finally{s.value=!1}},n=c([]),p=async a=>{if(!a)return;const _=await O({bizId:a});n.value=_.list},{delView:y}=F(),{currentRoute:d}=x();return z(async()=>{if(!e)return R.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4EA7\u54C1\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void y(r(d));await u(e)}),(a,_)=>{const i=C,h=B,w=I,v=V;return D(),P(j,null,[t(X,{product:r(o),loading:r(s),onRefresh:_[0]||(_[0]=lt=>u(r(e)))},null,8,["product","loading"]),t(v,null,{default:l(()=>[t(w,null,{default:l(()=>[t(i,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(G,{product:r(o)},null,8,["product"])]),_:1}),t(i,{label:"\u64CD\u4F5C\u65E5\u5FD7"},{default:l(()=>[t(h,{"log-list":r(n)},null,8,["log-list"])]),_:1})]),_:1})]),_:1})],64)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/crm/product/detail/index.vue"]])});export{rt as __tla,m as default};
