AfterSaleInfo-b2f71f07.js 3.4 KB

1
  1. import{d as j,Y as z,K as q,r as C,l as H,o as c,v as E,w as a,f as l,g as i,t as _,a as e,at as K,c as M,q as W,F as X,Z,av as B,A as G,E as J,i as N,D as O,_ as Q,__tla as V}from"./index-11e4820e.js";import{E as $,__tla as aa}from"./el-image-17e8bc54.js";import{__tla as la}from"./el-image-viewer-c4f5814f.js";import{g as ea,__tla as ta}from"./index-63b1dc70.js";import{b as w,D,__tla as sa}from"./dict-4072dcec.js";import{f as ua,__tla as ia}from"./formatTime-f6a2c881.js";import{c as _a,__tla as na}from"./index-4203485c.js";let T,ra=Promise.all([(()=>{try{return V}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return na}catch{}})()]).then(async()=>{let o,m,b,y,x,v,h;o={class:"el-input el-input--default is-disabled el-input--suffix"},m={class:"el-input el-input--default is-disabled el-input--suffix"},b={class:"el-input el-input--default is-disabled el-input--suffix"},y={class:"el-input el-input--default is-disabled el-input--suffix"},x={class:"el-input el-input--default is-disabled el-input--suffix"},v={class:"el-input el-input--default is-disabled el-input--suffix"},h={class:"el-input el-input--default is-disabled el-input--suffix"},T=Q(j({name:"TradeAfterSaleDetail",__name:"AfterSaleInfo",props:{obj:{default:{}}},setup(g,{expose:R}){const S=z(),P=q(()=>S.getMobile),t=C({order:{},logs:[]}),I=g,A=async f=>{if(f){const n=await ea(f);n==null&&(message.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),t.value=n}};return H(()=>{A(I.obj.id)}),R({getDetail:A}),(f,n)=>{const s=G,u=J,r=N,Y=$,k=O;return c(),E(k,{"label-width":"120px",class:Z(["view",{"mobile-card":e(P)}])},{default:a(()=>[l(r,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u7F16\u53F7"},{default:a(()=>[i("div",o,_(e(t).no),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u7533\u8BF7\u65F6\u95F4"},{default:a(()=>[i("div",m,_(e(ua)(e(t).auditTime)),1)]),_:1})]),_:1})]),_:1}),l(r,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u552E\u540E\u7C7B\u578B"},{default:a(()=>[i("div",b,_(e(w)(e(D).TRADE_AFTER_SALE_TYPE,e(t).type)),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u552E\u540E\u65B9\u5F0F"},{default:a(()=>[i("div",y,_(e(w)(e(D).TRADE_AFTER_SALE_WAY,e(t).way)),1)]),_:1})]),_:1})]),_:1}),l(r,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u91D1\u989D"},{default:a(()=>[i("div",x,_(e(K)(e(t).refundPrice)),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u539F\u56E0"},{default:a(()=>[i("div",v,_(e(t).applyReason),1)]),_:1})]),_:1})]),_:1}),l(r,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u8865\u5145\u63CF\u8FF0"},{default:a(()=>[i("div",h,_(e(t).applyDescription),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u51ED\u8BC1\u56FE\u7247"},{default:a(()=>[(c(!0),M(X,null,W(e(t).applyPicUrls,(F,L)=>(c(),E(Y,{key:L,src:F,class:"mr-10px h-60px w-60px",onClick:n[0]||(n[0]=fa=>(d=>{const p=[];B(d)?d.forEach(U=>{p.push(U)}):p.push(d),_a({urlList:p,zIndex:2014})})(e(t).applyPicUrls))},null,8,["src"]))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["class"])}}}),[["__scopeId","data-v-03e7098f"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mall/trade/afterSale/components/AfterSaleInfo.vue"]])});export{ra as __tla,T as default};