AfterSaleInfo-bea09525.js 4.1 KB

1
  1. import{d as K,y as M,e as O,r as Q,b as V,o as c,C as g,A as a,f as l,B as i,E as d,a as e,dx as D,O as R,c as W,Q as q,F as G,ac as J,dA as N,U as X,H as Z,K as $,V as aa,__tla as la}from"./index-e8bcd6ed.js";import{E as ea,__tla as ta}from"./el-image-45573357.js";import{__tla as sa}from"./el-image-viewer-5abcb2c7.js";import{c as ua,__tla as ia}from"./index-44a4728d.js";import{d as w,D as I,__tla as da}from"./dict-6c101698.js";import{f as na,__tla as fa}from"./formatTime-da9b941e.js";import{c as _a,__tla as pa}from"./index-414ce28c.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,A,E,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"},A={class:"el-input el-input--default is-disabled el-input--suffix"},E={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(K({name:"TradeAfterSaleDetail",__name:"AfterSaleInfo",props:{obj:{default:{}}},setup(C,{expose:F}){const L=M(),U=O(()=>L.getMobile),t=Q({order:{},logs:[]}),Y=C,P=async _=>{if(_){const f=await ua(_);f==null&&(message.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),t.value=f}};return V(()=>{P(Y.obj.id)}),F({getDetail:P}),(_,f)=>{const s=X,u=Z,n=$,j=ea,k=aa;return c(),g(k,{"label-width":"120px",class:J(["view",{"mobile-card":e(U)}])},{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(w)(e(I).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(w)(e(I).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(D)(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(D)(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(R)(e(t).refundIntegral)),1)]),_:1})]),_:1}),l(u,{span:12},{default:a(()=>[l(s,{label:"\u9000\u6B3E\u6D88\u8D39\u5206"},{default:a(()=>[i("div",A,"\uFFE5"+d(e(R)(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",E,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),W(G,null,q(e(t).applyPicUrls,(z,B)=>(c(),g(j,{key:B,src:z,class:"mr-10px h-60px w-60px",onClick:f[0]||(f[0]=oa=>(p=>{const r=[];N(p)?p.forEach(H=>{r.push(H)}):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};