import{d as v,I as b,r as e,u as x,k as I,aX as P,a as r,o as V,c as z,f as t,w as l,F as D,V as F,W as R,E as j,__tla as k}from"./index-73e02845.js";import{_ as C,__tla as E}from"./OperateLogV2-61c3e0aa.js";import{u as N,__tla as W}from"./tagsView-ec31b381.js";import{g as X,a as q,__tla as A}from"./ProductForm.vue_vue_type_script_setup_true_lang-0ec952e0.js";import{_ as B,__tla as G}from"./ProductDetailsHeader.vue_vue_type_script_setup_true_lang-9ac0e931.js";import{_ as H,__tla as J}from"./ProductDetailsInfo.vue_vue_type_script_setup_true_lang-5de87d38.js";import{__tla as K}from"./el-timeline-item-f8a2980d.js";import{__tla as L}from"./formatTime-5f7a2be1.js";import{__tla as M}from"./dict-0fdd6c74.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as O}from"./Dialog-1f04d1b7.js";import{__tla as Q}from"./index-6f177ddf.js";import"./tree-fd3a041e.js";import{__tla as S}from"./index-95424779.js";import{__tla as T}from"./useMessage-1490ad82.js";import{__tla as U}from"./ContentWrap.vue_vue_type_script_setup_true_lang-589371a6.js";import{__tla as Y}from"./el-card-ada74e7d.js";import{__tla as Z}from"./el-descriptions-item-fc6bc3ea.js";import{__tla as $}from"./DictTag.vue_vue_type_script_lang-af2c8b0f.js";import"./color-6e929987.js";import{__tla as tt}from"./el-collapse-item-ef3a5f74.js";let i,at=Promise.all([(()=>{try{return k}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return J}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{}})()]).then(async()=>{i=v({name:"CrmProductDetail",__name:"index",setup(rt){const f=b(),o=Number(f.params.id),s=e(!0),c=e({}),u=async a=>{s.value=!0;try{c.value=await X(a),await p(a)}finally{s.value=!1}},n=e([]),p=async a=>{if(!a)return;const _=await q({bizId:a});n.value=_.list},{delView:y}=N(),{currentRoute:h}=x();return I(async()=>{if(!o)return P.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4EA7\u54C1\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void y(r(h));await u(o)}),(a,_)=>{const m=F,d=C,w=R,g=j;return V(),z(D,null,[t(B,{product:r(c),loading:r(s),onRefresh:_[0]||(_[0]=_t=>u(r(o)))},null,8,["product","loading"]),t(g,null,{default:l(()=>[t(w,null,{default:l(()=>[t(m,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(H,{product:r(c)},null,8,["product"])]),_:1}),t(m,{label:"\u64CD\u4F5C\u65E5\u5FD7"},{default:l(()=>[t(d,{"log-list":r(n)},null,8,["log-list"])]),_:1})]),_:1})]),_:1})],64)}}})});export{at as __tla,i as default};