import{d as g,J as b,r as c,u as x,l as z,be as D,a as r,o as P,c as R,f as t,w as l,F as j,W as C,X as V,E as W,_ as E,__tla as F}from"./index-89fa41f9.js";import{_ as I,__tla as J}from"./OperateLogV2-043e2371.js";import{u as N,__tla as X}from"./tagsView-61ac48b8.js";import{g as k,a as q,__tla as A}from"./ProductForm-a733a77b.js";import B,{__tla as G}from"./ProductDetailsHeader-c50a0a12.js";import H,{__tla as K}from"./ProductDetailsInfo-f5c3a990.js";import{__tla as L}from"./el-timeline-item-5133894f.js";import{__tla as M}from"./formatTime-858db619.js";import{__tla as O}from"./dict-dca1abd1.js";import{__tla as Q}from"./Dialog-890fafd8.js";import{__tla as S}from"./index-81da3c1d.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-a1e47bbe.js";import{__tla as U}from"./useMessage-fcfad84c.js";import{__tla as Y}from"./ContentWrap-3b35ebb8.js";import{__tla as Z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-50710b25.js";import{__tla as $}from"./el-card-fccba201.js";import{__tla as tt}from"./el-descriptions-item-6cf0dc07.js";import{__tla as at}from"./DictTag-a131d80c.js";import"./color-6e929987.js";import{__tla as rt}from"./el-collapse-item-a6fd7a9d.js";let i,_t=Promise.all([(()=>{try{return F}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return rt}catch{}})()]).then(async()=>{i=E(g({name:"CrmProductDetail",__name:"index",setup(lt){const f=b(),e=Number(f.params.id),o=c(!0),s=c({}),n=async a=>{o.value=!0;try{s.value=await k(a),await p(a)}finally{o.value=!1}},u=c([]),p=async a=>{if(!a)return;const _=await q({bizId:a});u.value=_.list},{delView:y}=N(),{currentRoute:d}=x();return z(async()=>{if(!e)return D.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4EA7\u54C1\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void y(r(d));await n(e)}),(a,_)=>{const m=C,h=I,w=V,v=W;return P(),R(j,null,[t(B,{product:r(s),loading:r(o),onRefresh:_[0]||(_[0]=et=>n(r(e)))},null,8,["product","loading"]),t(v,null,{default:l(()=>[t(w,null,{default:l(()=>[t(m,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(H,{product:r(s)},null,8,["product"])]),_:1}),t(m,{label:"\u64CD\u4F5C\u65E5\u5FD7"},{default:l(()=>[t(h,{"log-list":r(u)},null,8,["log-list"])]),_:1})]),_:1})]),_:1})],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/crm/product/detail/index.vue"]])});export{_t as __tla,i as default};