import{d as g,J as b,r as c,u as x,l as R,be as z,a as r,o as D,c as P,f as t,w as l,F as j,W as C,X as V,E as W,_ as X,__tla as k}from"./index-11e4820e.js";import{_ as E,__tla as F}from"./OperateLogV2-cb81d9e8.js";import{u as H,__tla as I}from"./tagsView-4d7a359f.js";import{g as J,a as N,__tla as U}from"./ProductForm-2798331f.js";import q,{__tla as A}from"./ProductDetailsHeader-4e066ecc.js";import B,{__tla as G}from"./ProductDetailsInfo-0cc912a8.js";import{__tla as K}from"./el-timeline-item-52f21599.js";import{__tla as L}from"./formatTime-f6a2c881.js";import{__tla as M}from"./dict-4072dcec.js";import{__tla as O}from"./Dialog-bbfaf85c.js";import{__tla as Q}from"./index-c2aa12da.js";import"./tree-0af4953a.js";import{__tla as S}from"./index-add3c606.js";import{__tla as T}from"./useMessage-06ddf735.js";import{__tla as Y}from"./ContentWrap-694014d4.js";import{__tla as Z}from"./ContentWrap.vue_vue_type_script_setup_true_lang-11f85821.js";import{__tla as $}from"./el-card-919c14be.js";import{__tla as tt}from"./el-descriptions-item-4246212b.js";import{__tla as at}from"./DictTag-e41ec8de.js";import"./color-6e929987.js";import{__tla as rt}from"./el-collapse-item-1259fd66.js";let i,_t=Promise.all([(()=>{try{return k}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return U}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 Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return rt}catch{}})()]).then(async()=>{i=X(g({name:"CrmProductDetail",__name:"index",setup(lt){const f=b(),e=Number(f.params.id),o=c(!0),s=c({}),u=async a=>{o.value=!0;try{s.value=await J(a),await p(a)}finally{o.value=!1}},n=c([]),p=async a=>{if(!a)return;const _=await N({bizId:a});n.value=_.list},{delView:y}=H(),{currentRoute:d}=x();return R(async()=>{if(!e)return z.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4EA7\u54C1\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void y(r(d));await u(e)}),(a,_)=>{const m=C,h=E,w=V,v=W;return D(),P(j,null,[t(q,{product:r(s),loading:r(o),onRefresh:_[0]||(_[0]=et=>u(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(B,{product:r(s)},null,8,["product"])]),_:1}),t(m,{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{_t as __tla,i as default};