AfterSaleSpuInfo-3610e51d.js 2.1 KB

1
  1. import{d as D,y as B,e as C,r as M,b as P,o as E,A as G,B as l,f as t,C as r,G as n,a as v,dx as x,ac as L,V as N,I as T,L as V,W,__tla as k}from"./index-f91c0cdb.js";import{c as q,__tla as z}from"./index-6146f2e2.js";import{u as F,__tla as H}from"./useMessage-a907428f.js";import{_ as J}from"./_plugin-vue_export-helper-1b428a4d.js";let y,K=Promise.all([(()=>{try{return k}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return H}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=B(),g=C(()=>S.getMobile),s=M({}),w=I,A=F(),m=async u=>{if(console.log(u),u){const f=await q(u);f==null&&(A.notifyError("\u552E\u540E\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),s.value=f}};return P(()=>{m(w.obj.id)}),h({getDetail:m}),(u,f)=>{const i=N,d=T,b=V,j=W;return E(),G(j,{"label-width":"120px",class:L(["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{K as __tla,y as default};