AfterSaleTabs-c1371169.js 4.1 KB

1
  1. import{d as z,P as F,r as l,o,c as I,f as r,A as d,k as R,C as u,B as b,a as t,a2 as v,a3 as p,F as B,aa as C,ab as L,Z as M,_ as O,__tla as Q}from"./index-54aa57d8.js";import{_ as Z,__tla as q}from"./ContentWrap-260746ab.js";import{_ as E,__tla as G}from"./SPuUploadImg-d377301f.js";import{_ as H,__tla as J}from"./Dialog-7bb778a5.js";import K,{__tla as N}from"./AfterSaleBaseInfo-abd11c9f.js";import W,{__tla as X}from"./AfterSaleLog-cbe888da.js";import Y,{__tla as $}from"./AfterSaleRetrun-aa2de06b.js";import tt,{__tla as at}from"./AfterSaleInfo-9624ef8e.js";import et,{__tla as lt}from"./AfterSaleSpuInfo-c5904bc0.js";import rt,{__tla as _t}from"./AfterSaleDisagreeForm-fbe35830.js";import{u as ot,__tla as st}from"./useMessage-f56cafbb.js";import{__tla as nt}from"./el-card-e7d6628c.js";import{__tla as it}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-03e554d4.js";import{__tla as ut}from"./index-1a846221.js";import{__tla as mt}from"./el-image-viewer-ec0edec4.js";import{__tla as ct}from"./index-692b7677.js";import{__tla as pt}from"./dict-573b3b04.js";import{__tla as ft}from"./el-descriptions-item-347c85ca.js";import{__tla as yt}from"./el-timeline-item-24fd452f.js";import{__tla as ht}from"./formatTime-e6197688.js";import{__tla as dt}from"./el-image-94dad5a7.js";let V,bt=Promise.all([(()=>{try{return Q}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return X}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=O(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=E,m=C,U=L,A=Z,P=M;return o(),I(B,null,[r(H,{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(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(Y,{key:3,obj:t(n),isDetail:t(_),openType:t(s)},null,8,["obj","isDetail","openType"])):p("",!0),t(a)=="afterlog"?(o(),u(W,{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};