import{d as g,O as b,r as c,u as x,B as P,at as z,a as r,o as O,c as j,i as t,w as l,F as A,z as C,A as D,E,_ as I,__tla as R}from"./index-2c56227b.js";import{_ as V,__tla as B}from"./OperateLogV2-e4e80da8.js";import{u as F,__tla as G}from"./tagsView-95b3b4e4.js";import{g as H,a as N,__tla as k}from"./ProductForm-59227511.js";import q,{__tla as J}from"./ProductDetailsHeader-82bcf4bb.js";import K,{__tla as L}from"./ProductDetailsInfo-15f756d3.js";import{__tla as M}from"./el-timeline-item-8dcea2c5.js";import{__tla as Q}from"./formatTime-7f0ec2bf.js";import{__tla as S}from"./dict-763dd292.js";import{__tla as T}from"./Dialog-1050d437.js";import{__tla as U}from"./index-a00743ac.js";import"./tree-0af4953a.js";import{__tla as W}from"./index-0f7aa9db.js";import{__tla as X}from"./useMessage-96878a4a.js";import{__tla as Y}from"./ContentWrap-f1610353.js";import{__tla as Z}from"./el-card-9c148b4f.js";import{__tla as $}from"./el-descriptions-item-1b67c432.js";import{__tla as tt}from"./DictTag-cfe1898d.js";import"./color-6e929987.js";import{__tla as at}from"./el-collapse-item-a4dfc79a.js";let m,rt=Promise.all([(()=>{try{return R}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return M}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 $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})()]).then(async()=>{m=I(g({name:"CrmProductDetail",__name:"index",setup(_t){const f=b(),e=Number(f.params.id),o=c(!0),s=c({}),u=async a=>{o.value=!0;try{s.value=await H(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}=F(),{currentRoute:d}=x();return P(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 i=C,h=V,w=D,v=E;return O(),j(A,null,[t(q,{product:r(s),loading:r(o),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(K,{product:r(s)},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","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/crm/product/detail/index.vue"]])});export{rt as __tla,m as default};
