AfterSaleTabs-baa318da.js 4.1 KB

1
  1. import{d as z,i as F,r as l,o,c as R,g as r,w as d,y as J,x as u,h as b,a as t,P as v,Q as p,F as Q,X as B,Y as C,J as I,_ as L,__tla as O}from"./index-52b99925.js";import{_ as X,__tla as Y}from"./ContentWrap-b4eafcae.js";import{_ as q,__tla as E}from"./SPuUploadImg-ebf109cd.js";import{_ as G,__tla as H}from"./Dialog-01a79427.js";import K,{__tla as M}from"./AfterSaleBaseInfo-f9301c21.js";import N,{__tla as W}from"./AfterSaleLog-b5bb5fe9.js";import Z,{__tla as $}from"./AfterSaleRetrun-c3e29de2.js";import tt,{__tla as at}from"./AfterSaleInfo-560f6238.js";import et,{__tla as lt}from"./AfterSaleSpuInfo-d104e7c9.js";import rt,{__tla as _t}from"./AfterSaleDisagreeForm-8da24146.js";import{u as ot,__tla as st}from"./useMessage-c41e583e.js";import{__tla as nt}from"./el-card-1538e136.js";import{__tla as it}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-9a220cc6.js";import{__tla as ut}from"./index-2375ba8a.js";import{__tla as mt}from"./el-image-viewer-8d62bae1.js";import{__tla as ct}from"./index-0c307a27.js";import{__tla as pt}from"./dict-954b1420.js";import{__tla as ft}from"./el-descriptions-item-a6736d0e.js";import{__tla as yt}from"./el-timeline-item-f84ff34a.js";import{__tla as ht}from"./formatTime-16b790f5.js";import{__tla as dt}from"./el-image-9d9dde0a.js";let V,bt=Promise.all([(()=>{try{return O}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return lt}catch{}})(),(()=>{try{return _t}catch{}})(),(()=>{try{return st}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return it}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return ct}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return dt}catch{}})()]).then(async()=>{let D,T,j;D={class:"left"},T={class:"right"},j=b("div",{style:{clear:"both"}},null,-1),V=L(z({__name:"AfterSaleTabs",emits:["success"],setup(vt,{expose:k,emit:Dt}){const{t:w}=F(),x=l(!1),a=l("afterinfo"),f=l(!1),h=l(""),_=l(!1),s=l("view"),n=l({}),y=l("picUrl");k({open:async(i,e)=>{y.value=e.picUrl,n.value=e,s.value=i,h.value=w("action."+i),i=="view"&&(h.value="\u67E5\u770B"),i=="view"?_.value=!0:(_.value=!1,a.value="info"),f.value=!0}}),ot();const g=l();return(i,e)=>{const S=q,m=B,U=C,A=X,P=I;return o(),R(Q,null,[r(G,{title:t(h),modelValue:t(f),"onUpdate:modelValue":e[2]||(e[2]=c=>v(f)?f.value=c:null),width:"70%"},{default:d(()=>[J((o(),u(A,{style:{"max-height":"550px","min-height":"550px","overflow-y":"auto",border:"none"}},{default:d(()=>[b("div",D,[r(S,{modelValue:t(y),"onUpdate:modelValue":e[0]||(e[0]=c=>v(y)?y.value=c:null),disabled:!0},null,8,["modelValue"]),r(U,{modelValue:t(a),"onUpdate:modelValue":e[1]||(e[1]=c=>v(a)?a.value=c:null),"tab-position":"left",class:"child-tabs"},{default:d(()=>[r(m,{label:"\u552E\u540E\u4FE1\u606F",name:"afterinfo"}),r(m,{label:"\u8BA2\u5355\u4FE1\u606F",name:"info"}),r(m,{label:"\u5546\u54C1\u4FE1\u606F",name:"spu"}),r(m,{label:"\u9000\u6B3E\u72B6\u6001",name:"return"}),r(m,{label:"\u552E\u540E\u65E5\u5FD7",name:"afterlog"})]),_:1},8,["modelValue"])]),b("div",T,[t(a)=="info"?(o(),u(K,{key:0,obj:t(n),isDetail:t(_),openType:t(s)},null,8,["obj","isDetail","openType"])):p("",!0),t(a)=="spu"?(o(),u(et,{key:1,obj:t(n),isDetail:t(_),openType:t(s)},null,8,["obj","isDetail","openType"])):p("",!0),t(a)=="afterinfo"?(o(),u(tt,{key:2,obj:t(n),isDetail:t(_),openType:t(s)},null,8,["obj","isDetail","openType"])):p("",!0),t(a)=="return"?(o(),u(Z,{key:3,obj:t(n),isDetail:t(_),openType:t(s)},null,8,["obj","isDetail","openType"])):p("",!0),t(a)=="afterlog"?(o(),u(N,{key:4,obj:t(n),isDetail:t(_),openType:t(s)},null,8,["obj","isDetail","openType"])):p("",!0)]),j]),_:1})),[[P,t(x)]])]),_:1},8,["title","modelValue"]),r(rt,{ref_key:"updateAuditReasonFormRef",ref:g,onSuccess:i.getDetail},null,8,["onSuccess"])],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/trade/afterSale/AfterSaleTabs.vue"]])});export{bt as __tla,V as default};