import{d as g,$ as v,r as e,u as x,b as I,bl as P,a as r,o as R,c as B,f as t,B as l,F as D,a9 as V,aa as j,I as z,__tla as C}from"./index-92ad187a.js";import{_ as F,__tla as N}from"./OperateLogV2-03092222.js";import{u as $,__tla as k}from"./tagsView-53f4f52b.js";import{g as q,a as A,__tla as E}from"./ProductForm.vue_vue_type_script_setup_true_lang-e84bdfec.js";import{_ as G,__tla as H}from"./ProductDetailsHeader.vue_vue_type_script_setup_true_lang-32dfb490.js";import{_ as J,__tla as K}from"./ProductDetailsInfo.vue_vue_type_script_setup_true_lang-34ac122a.js";import{__tla as L}from"./el-timeline-item-54eedda2.js";import{__tla as M}from"./formatTime-c7f253d6.js";import{__tla as O}from"./dict-221f3e01.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Q}from"./Dialog-44c9fa34.js";import{__tla as S}from"./index-bd247ee5.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-343decc0.js";import{__tla as U}from"./useMessage-d9788660.js";import{__tla as W}from"./ContentWrap.vue_vue_type_script_setup_true_lang-c7ede7df.js";import{__tla as X}from"./el-card-93209b1d.js";import{__tla as Y}from"./el-descriptions-item-809b8296.js";import{__tla as Z}from"./DictTag.vue_vue_type_script_lang-96bcb962.js";import"./color-6e929987.js";import{__tla as tt}from"./el-collapse-item-d46368e6.js";let i,at=Promise.all([(()=>{try{return C}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}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 W}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return tt}catch{}})()]).then(async()=>{i=g({name:"CrmProductDetail",__name:"index",setup(rt){const f=v(),o=Number(f.params.id),s=e(!0),c=e({}),u=async a=>{s.value=!0;try{c.value=await q(a),await p(a)}finally{s.value=!1}},n=e([]),p=async a=>{if(!a)return;const _=await A({bizId:a});n.value=_.list},{delView:y}=$(),{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=V,d=F,w=j,b=z;return R(),B(D,null,[t(G,{product:r(c),loading:r(s),onRefresh:_[0]||(_[0]=_t=>u(r(o)))},null,8,["product","loading"]),t(b,null,{default:l(()=>[t(w,null,{default:l(()=>[t(m,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(J,{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};
