index-72f0b15f.js 2.6 KB

1
  1. import{d as v,K as b,r as c,u as x,l as z,b1 as D,a as r,o as P,c as j,g as t,w as l,F as C,X as F,Y as I,E as R,_ as V,__tla as E}from"./index-52b99925.js";import{_ as K,__tla as N}from"./OperateLogV2-4bd3d6e2.js";import{u as X,__tla as Y}from"./tagsView-a67fbd8e.js";import{g as k,a as q,__tla as A}from"./ProductForm-2bcf021a.js";import B,{__tla as G}from"./ProductDetailsHeader-3a599b18.js";import H,{__tla as J}from"./ProductDetailsInfo-a9a66d56.js";import{__tla as L}from"./el-timeline-item-f84ff34a.js";import{__tla as M}from"./formatTime-16b790f5.js";import{__tla as O}from"./dict-954b1420.js";import{__tla as Q}from"./Dialog-01a79427.js";import{__tla as S}from"./index-8f4c87cc.js";import"./tree-0af4953a.js";import{__tla as T}from"./index-e5b7785f.js";import{__tla as U}from"./useMessage-c41e583e.js";import{__tla as W}from"./ContentWrap-b4eafcae.js";import{__tla as Z}from"./el-card-1538e136.js";import{__tla as $}from"./el-descriptions-item-a6736d0e.js";import{__tla as tt}from"./DictTag-559e7235.js";import"./color-6e929987.js";import{__tla as at}from"./el-collapse-item-dbb3399f.js";let m,rt=Promise.all([(()=>{try{return E}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return J}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 Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})()]).then(async()=>{m=V(v({name:"CrmProductDetail",__name:"index",setup(_t){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}=X(),{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 i=F,h=K,w=I,g=R;return P(),j(C,null,[t(B,{product:r(s),loading:r(o),onRefresh:_[0]||(_[0]=lt=>n(r(e)))},null,8,["product","loading"]),t(g,null,{default:l(()=>[t(w,null,{default:l(()=>[t(i,{label:"\u8BE6\u7EC6\u8D44\u6599"},{default:l(()=>[t(H,{product:r(s)},null,8,["product"])]),_:1}),t(i,{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{rt as __tla,m as default};