import{d as g,O as b,r as c,u as x,B as z,ax as R,a as r,o as D,c as P,i as t,w as l,F as j,z as H,A as V,E as k,_ as A,__tla as B}from"./index-af173888.js";import{_ as C,__tla as E}from"./OperateLogV2-1f90f5fe.js";import{u as F,__tla as I}from"./tagsView-cc773b9b.js";import{g as N,a as O,__tla as U}from"./ProductForm-759feefa.js";import X,{__tla as q}from"./ProductDetailsHeader-fa702dfe.js";import G,{__tla as J}from"./ProductDetailsInfo-3cca8f78.js";import{__tla as K}from"./el-timeline-item-4ef8f91a.js";import{__tla as L}from"./formatTime-8a6f6c49.js";import{__tla as M}from"./dict-093d1dfa.js";import{__tla as Q}from"./Dialog-987c90a1.js";import{__tla as S}from"./index-c747ab6b.js";import"./tree-02f455f9.js";import{__tla as T}from"./index-f465cbfa.js";import{__tla as W}from"./useMessage-170c1b43.js";import{__tla as Y}from"./ContentWrap-b959c1be.js";import{__tla as Z}from"./el-card-178b9654.js";import{__tla as $}from"./el-descriptions-item-02866442.js";import{__tla as tt}from"./DictTag-4a35e2b7.js";import"./color-6e929987.js";import{__tla as at}from"./el-collapse-item-c60eb47f.js";let m,rt=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return I}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=A(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=H,h=C,w=V,v=k;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};