AfterSaleInfo-d62a2266.js 3.3 KB

1
  1. import{d as I,X as U,J as q,r as J,k as z,o as c,q as v,w as a,f as l,g as i,t as _,a as t,as as M,c as W,n as X,F as B,Y as G,z as H,E as K,i as N,C as O,__tla as Q}from"./index-2eab2d23.js";import{E as V,__tla as Z}from"./el-image-2171f3ff.js";import{__tla as $}from"./el-image-viewer-5d14bc77.js";import{g as aa,__tla as la}from"./index-ba3cbabb.js";import{b as D,D as T,__tla as ta}from"./dict-1ad71b6f.js";import{f as ea,__tla as sa}from"./formatTime-41155543.js";import{c as ua,__tla as ia}from"./index-d3f876ab.js";import{_ as _a}from"./_plugin-vue_export-helper-1b428a4d.js";let g,ra=Promise.all([(()=>{try{return Q}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ia}catch{}})()]).then(async()=>{let o,m,b,y,h,x,A;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"},h={class:"el-input el-input--default is-disabled el-input--suffix"},x={class:"el-input el-input--default is-disabled el-input--suffix"},A={class:"el-input el-input--default is-disabled el-input--suffix"},g=_a(I({name:"TradeAfterSaleDetail",__name:"AfterSaleInfo",props:{obj:{default:{}}},setup(w,{expose:P}){const R=U(),S=q(()=>R.getMobile),e=J({order:{},logs:[]}),k=w,E=async d=>{if(d){const r=await aa(d);r==null&&(message.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),e.value=r}};return z(()=>{E(k.obj.id)}),P({getDetail:E}),(d,r)=>{const s=H,u=K,n=N,C=V,F=O;return c(),v(F,{"label-width":"120px",class:G(["view",{"mobile-card":t(S)}])},{default:a(()=>[l(n,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u7F16\u53F7"},{default:a(()=>[i("div",o,_(t(e).no),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u7533\u8BF7\u65F6\u95F4"},{default:a(()=>[i("div",m,_(t(ea)(t(e).auditTime)),1)]),_:1})]),_:1})]),_:1}),l(n,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u552E\u540E\u7C7B\u578B"},{default:a(()=>[i("div",b,_(t(D)(t(T).TRADE_AFTER_SALE_TYPE,t(e).type)),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u552E\u540E\u65B9\u5F0F"},{default:a(()=>[i("div",y,_(t(D)(t(T).TRADE_AFTER_SALE_WAY,t(e).way)),1)]),_:1})]),_:1})]),_:1}),l(n,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u91D1\u989D"},{default:a(()=>[i("div",h,_(t(M)(t(e).refundPrice)),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u539F\u56E0"},{default:a(()=>[i("div",x,_(t(e).applyReason),1)]),_:1})]),_:1})]),_:1}),l(n,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u8865\u5145\u63CF\u8FF0"},{default:a(()=>[i("div",A,_(t(e).applyDescription),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u51ED\u8BC1\u56FE\u7247"},{default:a(()=>[(c(!0),W(B,null,X(t(e).applyPicUrls,(L,Y)=>(c(),v(C,{key:Y,src:L.url,class:"mr-10px h-60px w-60px",onClick:r[0]||(r[0]=na=>(f=>{const p=[];isArray(f)?f.forEach(j=>{p.push(j.url)}):p.push(f),ua({urlList:p})})(t(e).applyPicUrls))},null,8,["src"]))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["class"])}}}),[["__scopeId","data-v-10c8c228"]])});export{ra as __tla,g as default};