AfterSaleSpuInfo-62287a5c.js 2.1 KB

1
  1. import{d as D,y as E,e as M,r as P,b as z,o as B,C,A as l,f as t,B as r,E as n,a as v,dx as x,ac as H,U as K,H as N,K as T,V as U,__tla as V}from"./index-1f518666.js";import{c as k,__tla as q}from"./index-eb0421d0.js";import{u as F,__tla as G}from"./useMessage-633c11d2.js";import{_ as J}from"./_plugin-vue_export-helper-1b428a4d.js";let y,L=Promise.all([(()=>{try{return V}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return G}catch{}})()]).then(async()=>{let o,_,p,c;o={class:"el-input el-input--default is-disabled el-input--suffix"},_={class:"el-input el-input--default is-disabled el-input--suffix"},p={class:"el-input el-input--default is-disabled el-input--suffix"},c={class:"el-input el-input--default is-disabled el-input--suffix"},y=J(D({name:"TradeAfterSaleDetail",__name:"AfterSaleSpuInfo",props:{obj:{default:{}}},setup(I,{expose:h}){const S=E(),g=M(()=>S.getMobile),s=P({}),w=I,A=F(),m=async u=>{if(console.log(u),u){const f=await k(u);f==null&&(A.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),s.value=f}};return z(()=>{m(w.obj.id)}),h({getDetail:m}),(u,f)=>{const i=K,d=N,b=T,j=U;return B(),C(j,{"label-width":"120px",class:H(["view",{"mobile-card":g.value}])},{default:l(()=>[t(b,null,{default:l(()=>[t(d,{span:12},{default:l(()=>[t(i,{label:"\u5546\u54C1"},{default:l(()=>{var a,e;return[r("div",o,n((e=(a=s.value)==null?void 0:a.orderItem)==null?void 0:e.spuName),1)]}),_:1})]),_:1}),t(d,{span:12},{default:l(()=>[t(i,{label:"\u5546\u54C1\u539F\u4EF7"},{default:l(()=>{var a,e;return[r("div",_,"\uFFE5"+n(v(x)((e=(a=s.value)==null?void 0:a.orderItem)==null?void 0:e.price)),1)]}),_:1})]),_:1})]),_:1}),t(b,null,{default:l(()=>[t(d,{span:12},{default:l(()=>[t(i,{label:"\u6570\u91CF"},{default:l(()=>{var a,e;return[r("div",p,n((e=(a=s.value)==null?void 0:a.orderItem)==null?void 0:e.count),1)]}),_:1})]),_:1}),t(d,{span:12},{default:l(()=>[t(i,{label:"\u5408\u8BA1"},{default:l(()=>{var a,e;return[r("div",c,"\uFFE5"+n(v(x)((e=(a=s.value)==null?void 0:a.orderItem)==null?void 0:e.payPrice)),1)]}),_:1})]),_:1})]),_:1})]),_:1},8,["class"])}}}),[["__scopeId","data-v-75ddd3fe"]])});export{L as __tla,y as default};