AfterSaleInfo-b0f68678.js 4.1 KB

1
  1. import{d as J,b as M,e as $,r as V,z as W,o as c,j as g,w as a,i as l,k as i,t as d,a as e,a_ as w,dB as D,c as G,C as H,F as K,a0 as N,a$ as O,I as Q,E as X,s as Z,J as aa,__tla as la}from"./index-1e808f2e.js";import{E as ea,__tla as ta}from"./el-image-263fb014.js";import{__tla as sa}from"./el-image-viewer-dddb6285.js";import{b as ua,__tla as ia}from"./index-732888d2.js";import{e as I,D as R,__tla as da}from"./dict-a31cb4ba.js";import{f as na,__tla as fa}from"./formatTime-a348c3be.js";import{c as _a,__tla as pa}from"./index-b59955b6.js";import{_ as ra}from"./_plugin-vue_export-helper-1b428a4d.js";let S,ca=Promise.all([(()=>{try{return la}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return pa}catch{}})()]).then(async()=>{let o,b,m,x,y,h,v,E,A,T;o={class:"el-input el-input--default is-disabled el-input--suffix"},b={class:"el-input el-input--default is-disabled el-input--suffix"},m={class:"el-input el-input--default is-disabled el-input--suffix"},x={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"},v={class:"el-input el-input--default is-disabled el-input--suffix"},E={class:"el-input el-input--default is-disabled el-input--suffix"},A={class:"el-input el-input--default is-disabled el-input--suffix"},T={class:"el-input el-input--default is-disabled el-input--suffix"},S=ra(J({name:"TradeAfterSaleDetail",__name:"AfterSaleInfo",props:{obj:{default:{}}},setup(j,{expose:k}){const C=M(),F=$(()=>C.getMobile),t=V({order:{},logs:[]}),L=j,P=async _=>{if(_){const f=await ua(_);f==null&&(message.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),t.value=f}};return W(()=>{P(L.obj.id)}),k({getDetail:P}),(_,f)=>{const s=Q,u=X,n=Z,z=ea,U=aa;return c(),g(U,{"label-width":"120px",class:N(["view",{"mobile-card":e(F)}])},{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,d(e(t).no),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u7533\u8BF7\u65F6\u95F4"},{default:a(()=>[i("div",b,d(e(na)(e(t).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",m,d(e(I)(e(R).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",x,d(e(I)(e(R).TRADE_AFTER_SALE_WAY,e(t).way)),1)]),_:1})]),_:1})]),_:1}),l(n,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u603B\u989D"},{default:a(()=>[i("div",y,"\uFFE5"+d(e(w)(e(t).refundPriceTotal)),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u91D1\u989D"},{default:a(()=>[i("div",h,"\uFFE5"+d(e(w)(e(t).refundPrice)),1)]),_:1})]),_:1})]),_:1}),l(n,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u4F63\u91D1"},{default:a(()=>[i("div",v,"\uFFE5"+d(e(D)(e(t).refundIntegral)),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u6D88\u8D39\u5206"},{default:a(()=>[i("div",E,"\uFFE5"+d(e(D)(e(t).refundConsumptionPoints)),1)]),_:1})]),_:1})]),_:1}),l(n,null,{default:a(()=>[l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u539F\u56E0"},{default:a(()=>[i("div",A,d(e(t).applyReason),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u8865\u5145\u63CF\u8FF0"},{default:a(()=>[i("div",T,d(e(t).applyDescription),1)]),_:1})]),_:1})]),_:1}),l(n,null,{default:a(()=>[l(u,{span:24},{default:a(()=>[l(s,{label:"\u51ED\u8BC1\u56FE\u7247"},{default:a(()=>[(c(!0),G(K,null,H(e(t).applyPicUrls,(Y,q)=>(c(),g(z,{key:q,src:Y,class:"mr-10px h-60px w-60px",onClick:f[0]||(f[0]=oa=>(p=>{const r=[];O(p)?p.forEach(B=>{r.push(B)}):r.push(p),_a({urlList:r,zIndex:2014})})(e(t).applyPicUrls))},null,8,["src"]))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["class"])}}}),[["__scopeId","data-v-f387cf3a"]])});export{ca as __tla,S as default};