AfterSaleTabs-a037936a.js 4.2 KB

1
  1. import{d as P,h as z,r as l,o,c as F,f as r,w as d,x as R,v as u,g as b,a as t,O as v,P as p,F as O,W,X as B,I as C,_ as G,__tla as J}from"./index-3f6d2b3a.js";import{_ as X,__tla as q}from"./ContentWrap-ccf34dcf.js";import{_ as E,__tla as H}from"./SPuUploadImg-a69fc92f.js";import{_ as K,__tla as L}from"./Dialog-d80e1167.js";import M,{__tla as N}from"./AfterSaleBaseInfo-5e49cf10.js";import Q,{__tla as Y}from"./AfterSaleLog-2d20a7fc.js";import Z,{__tla as $}from"./AfterSaleRetrun-5f2dc910.js";import tt,{__tla as at}from"./AfterSaleInfo-6e07e27a.js";import et,{__tla as lt}from"./AfterSaleSpuInfo-0b8728a5.js";import rt,{__tla as _t}from"./AfterSaleDisagreeForm-6251d196.js";import{u as ot,__tla as st}from"./useMessage-d75e3be7.js";import{__tla as nt}from"./ContentWrap.vue_vue_type_script_setup_true_lang-beff78ef.js";import{__tla as it}from"./el-card-850c26c2.js";import{__tla as ut}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-f1809502.js";import{__tla as mt}from"./index-da8e53a3.js";import{__tla as ct}from"./el-image-viewer-34b57ad7.js";import{__tla as pt}from"./index-d7d8b2e3.js";import{__tla as ft}from"./dict-9cca1721.js";import{__tla as yt}from"./el-descriptions-item-7f6bb5db.js";import{__tla as ht}from"./el-timeline-item-ea1a147c.js";import{__tla as dt}from"./formatTime-15ffed0a.js";import{__tla as bt}from"./el-image-ad787f14.js";let V,vt=Promise.all([(()=>{try{return J}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return Y}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{}})(),(()=>{try{return bt}catch{}})()]).then(async()=>{let D,T,j;D={class:"left"},T={class:"right"},j=b("div",{style:{clear:"both"}},null,-1),V=G(P({__name:"AfterSaleTabs",emits:["success"],setup(Dt,{expose:w,emit:Tt}){const{t:x}=z(),g=l(!1),a=l("afterinfo"),f=l(!1),h=l(""),_=l(!1),s=l("view"),n=l({}),y=l("picUrl");w({open:async(i,e)=>{y.value=e.picUrl,n.value=e,s.value=i,h.value=x("action."+i),i=="view"&&(h.value="\u67E5\u770B"),i=="view"?_.value=!0:(_.value=!1,a.value="info"),f.value=!0}}),ot();const k=l();return(i,e)=>{const S=E,m=W,U=B,A=X,I=C;return o(),F(O,null,[r(K,{title:t(h),modelValue:t(f),"onUpdate:modelValue":e[2]||(e[2]=c=>v(f)?f.value=c:null),width:"70%"},{default:d(()=>[R((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(M,{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(Q,{key:4,obj:t(n),isDetail:t(_),openType:t(s)},null,8,["obj","isDetail","openType"])):p("",!0)]),j]),_:1})),[[I,t(g)]])]),_:1},8,["title","modelValue"]),r(rt,{ref_key:"updateAuditReasonFormRef",ref:k,onSuccess:i.getDetail},null,8,["onSuccess"])],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/trade/afterSale/AfterSaleTabs.vue"]])});export{vt as __tla,V as default};